]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - test/randomgen.py
Lower MAX_COND down to 125 after witnessing a failure.
[dunshire.git] / test / randomgen.py
index 8c5ebfcbbfa24dd4e99929940bb56424839fbf87..8c3c86331c47d6e116517c9545bd69ca7b96f874 100644 (file)
@@ -9,9 +9,13 @@ from dunshire.cones import NonnegativeOrthant, IceCream
 from dunshire.games import SymmetricLinearGame
 from dunshire.matrices import (append_col, append_row, identity)
 
-MAX_COND = 100
+MAX_COND = 125
 """
-The maximum condition number of a randomly-generated game.
+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. It's at ``125`` because ``129`` doesn't work.
 """
 
 RANDOM_MAX = 10