X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2Frandomgen.py;h=8c3c86331c47d6e116517c9545bd69ca7b96f874;hb=320cad144ae993f68a3f587222c701da3051a736;hp=8c5ebfcbbfa24dd4e99929940bb56424839fbf87;hpb=2b44481f8a79cbab75ddc0f73eea813b66e17d62;p=dunshire.git diff --git a/test/randomgen.py b/test/randomgen.py index 8c5ebfc..8c3c863 100644 --- a/test/randomgen.py +++ b/test/randomgen.py @@ -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