Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
22443: do not make GLPK version appears in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Feb 27, 2017
1 parent 36bcfa6 commit c257367
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sage/numerical/mip.pyx
Expand Up @@ -2518,12 +2518,13 @@ cdef class MixedIntegerLinearProgram(SageObject):
sage: b = p.get_backend()
sage: b.solver_parameter("simplex_or_intopt", "simplex_only")
sage: b.solver_parameter("verbosity_simplex", "GLP_MSG_ALL")
sage: p.solve() # rel tol 1e-5
GLPK Simplex Optimizer, v4.60
sage: ans = p.solve()
GLPK Simplex Optimizer, v...
2 rows, 2 columns, 4 non-zeros
* 0: obj = 7.000000000e+00 inf = 0.000e+00 (2)
* 2: obj = 9.400000000e+00 inf = 0.000e+00 (0)
OPTIMAL LP SOLUTION FOUND
sage: ans # rel tol 1e-5
9.4
"""
return self._backend
Expand Down

0 comments on commit c257367

Please sign in to comment.