Skip to content

Commit

Permalink
Fix doctest.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Sep 13, 2024
1 parent aedcc9b commit 68b7f80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/linprog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ Example
>>> mat = cdd.gmp.matrix_from_array([[Fraction(4, 3),-2,-1],[Fraction(2, 3),0,-1],[0,1,0],[0,0,1]])
>>> mat.obj_type = cdd.LPObjType.MAX
>>> mat.obj_func = (0,3,4)
>>> mat.rep_type = cdd.RepType.INEQUALITY
>>> print(mat)
H-representation
begin
4 3 rational
4/3 -2 -1
Expand Down

0 comments on commit 68b7f80

Please sign in to comment.