]> gitweb.michael.orlitzky.com - dunshire.git/commit
Enable the dual starting point and fix the test tolerance.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 12 Nov 2016 12:39:20 +0000 (07:39 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 13 Nov 2016 20:19:27 +0000 (15:19 -0500)
commit709cd03fff79e76f9fd78ba70711ea2694607e05
treeb6e5ba9b7089bee7940cf3e14d86cda839215270
parentcd77ba5250ed98ece623730c26af845366847487
Enable the dual starting point and fix the test tolerance.

We set dualstart=player2_start(), but that caused some tests to fail
as unknown or optimal but not valid. So the new epsilon_scale() method
is used to verify the primal/dual optimal in solution(). After that,
the tests of course fail, because we're accepting much more-wrong
solutions. Incorporating epsilon_scale() into the test suite fixes
that.
dunshire/games.py
test/symmetric_linear_game_test.py