summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7837b7f)
There was a pointless use of numpy.matrix in a doctest that made numpy
a direct dependency of dunshire. No bueno. That test case was also
throwing a PendingDeprecationWarning, so we kill two birds with one
commit by removing it.
4. Add random_game() and use it to replace all of the tests where
the cone is irrelevant. This should be done only after we are
feature complete and sure that everything works.
4. Add random_game() and use it to replace all of the tests where
the cone is irrelevant. This should be done only after we are
feature complete and sure that everything works.
-
-5. Remove the one use of numpy.matrix in a doctest, since that's
- an annoying dependency to have just to run the test suite.
there is no row/column ambiguity::
>>> import cvxopt
there is no row/column ambiguity::
>>> import cvxopt
>>> from dunshire import *
>>> K = NonnegativeOrthant(2)
>>> L = [[1,0],[0,1]]
>>> e1 = cvxopt.matrix([1,1])
>>> from dunshire import *
>>> K = NonnegativeOrthant(2)
>>> L = [[1,0],[0,1]]
>>> e1 = cvxopt.matrix([1,1])
- >>> e2 = numpy.matrix([1,1])
>>> G = SymmetricLinearGame(L, K, e1, e2)
>>> print(G)
The linear game (L, K, e1, e2) where
>>> G = SymmetricLinearGame(L, K, e1, e2)
>>> print(G)
The linear game (L, K, e1, e2) where