]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
Lower MAX_COND down to 125 after witnessing a failure.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 9 Nov 2016 14:20:07 +0000 (09:20 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 9 Nov 2016 14:20:07 +0000 (09:20 -0500)
test/randomgen.py

index 76d5f7874b38a7c0d45d2f57355be29053409af2..8c3c86331c47d6e116517c9545bd69ca7b96f874 100644 (file)
@@ -9,13 +9,13 @@ from dunshire.cones import NonnegativeOrthant, IceCream
 from dunshire.games import SymmetricLinearGame
 from dunshire.matrices import (append_col, append_row, identity)
 
-MAX_COND = 150
+MAX_COND = 125
 """
 The maximum condition number of a randomly-generated game. When the
 condition number of the games gets too high, we start to see
 :class:`PoorScalingException` being thrown. There's no science to
 choosing the upper bound -- it got lowered until those exceptions
-stopped popping up.
+stopped popping up. It's at ``125`` because ``129`` doesn't work.
 """
 
 RANDOM_MAX = 10