# makes the most sense to just use that, even if it means we
# can't test the fact that p1_value/p2_value are close to the
# payoff.
- payoff = self.payoff(p1_optimal,p2_optimal)
+ payoff = self.payoff(p1_optimal, p2_optimal)
return Solution(payoff, p1_optimal, p2_optimal)
from unittest import TestCase
-from dunshire.cones import NonnegativeOrthant
from dunshire.games import SymmetricLinearGame
-from dunshire.matrices import eigenvalues_re, inner_product, norm
+from dunshire.matrices import eigenvalues_re, inner_product
from dunshire import options
-from .randomgen import (RANDOM_MAX, random_icecream_game,
- random_ll_icecream_game, random_ll_orthant_game,
- random_nn_scaling, random_orthant_game,
- random_positive_orthant_game, random_translation)
+from .randomgen import (random_icecream_game, random_ll_icecream_game,
+ random_ll_orthant_game, random_nn_scaling,
+ random_orthant_game, random_positive_orthant_game,
+ random_translation)
# Tell pylint to shut up about the large number of methods.