X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dunshire.git;a=blobdiff_plain;f=test%2Frandomgen.py;h=76d5f7874b38a7c0d45d2f57355be29053409af2;hp=8c5ebfcbbfa24dd4e99929940bb56424839fbf87;hb=ee3dc9fe4339b2073253b601c2d9e4b0f0900e8c;hpb=328505ae48bc847a5dc4a41a14b6564360f2c5ef diff --git a/test/randomgen.py b/test/randomgen.py index 8c5ebfc..76d5f78 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 = 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