]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
Change the default tolerance to 1e-6 to reduce unknown solutions.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 3 Nov 2016 12:04:42 +0000 (08:04 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 3 Nov 2016 12:04:42 +0000 (08:04 -0400)
dunshire/options.py

index 2a57e270e6763ba087d361bb0d81e7f57bd0d5d4..976fe082421539ef118d73f9ee7ac8f077efa971 100644 (file)
@@ -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
 """
 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.
 """
 
 
 """