]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - test/randomgen.py
Put the MAX_COND at 150 for now... until it causes problems.
[dunshire.git] / test / randomgen.py
index 8c5ebfcbbfa24dd4e99929940bb56424839fbf87..76d5f7874b38a7c0d45d2f57355be29053409af2 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 = 150
 """
-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.
 """
 
 RANDOM_MAX = 10