From: Michael Orlitzky Date: Thu, 3 Nov 2016 12:04:42 +0000 (-0400) Subject: Change the default tolerance to 1e-6 to reduce unknown solutions. X-Git-Tag: 0.1.0~79 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dunshire.git;a=commitdiff_plain;h=97b5f8d3892258376bde8479fa74212c01924a57 Change the default tolerance to 1e-6 to reduce unknown solutions. --- 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. """