From 97b5f8d3892258376bde8479fa74212c01924a57 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 3 Nov 2016 08:04:42 -0400 Subject: [PATCH] Change the default tolerance to 1e-6 to reduce unknown solutions. --- dunshire/options.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dunshire/options.py b/dunshire/options.py index 2a57e27..976fe08 100644 --- a/dunshire/options.py +++ b/dunshire/options.py @@ -5,12 +5,14 @@ change them. But this makes the user interface real simple. """ -ABS_TOL = 1e-7 +ABS_TOL = 1e-6 """ The absolute tolerance used in all "are these numbers equal" and "is this number less than (or equal to) that other number" tests. The CVXOPT -default is ``1e-7``, so we use that. Where we need to be more lenient, -we'll have to adjust it. +default is ``1e-7``, but loosening that a little reduces the number of +"unknown" solutions that we get during random testing. Whether or not it +improves the solubility of real problems is a question for the +philosophers. """ -- 2.43.2