From: Michael Orlitzky Date: Tue, 8 Nov 2016 22:42:20 +0000 (-0500) Subject: Put the MAX_COND at 150 for now... until it causes problems. X-Git-Tag: 0.1.0~64 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dunshire.git;a=commitdiff_plain;h=ee3dc9fe4339b2073253b601c2d9e4b0f0900e8c Put the MAX_COND at 150 for now... until it causes problems. --- 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