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

Commit 37fbc4a

Browse files
committed
Update docsting of solve_parameter()
to includ ``simplex_or_intopt`` = "exact_simplex_only".
1 parent a210797 commit 37fbc4a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/sage/numerical/backends/glpk_backend.pyx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,14 +1408,16 @@ cdef class GLPKBackend(GenericBackend):
14081408
14091409
* - ``simplex_or_intopt``
14101410
1411-
- whether to use the ``simplex`` or ``intopt`` routines in
1412-
GLPK. This is controlled by using ``glp_simplex_only``,
1413-
``glp_intopt_only``, and ``glp_simplex_then_intopt``. The latter
1414-
is useful to deal with a problem in GLPK where problems with no
1415-
solution hang when using integer optimization; if you specify
1416-
``glp_simplex_then_intopt``, sage will try simplex first, then
1417-
perform integer optimization only if a solution of the LP
1418-
relaxation exists.
1411+
- specifiy which of ``simplex``, ``exact`` and ``intopt`` routines
1412+
in GLPK to use.
1413+
This is controlled by setting ``simplex_or_intopt`` to
1414+
``glp_simplex_only``, ``glp_exact_simplex_only``,
1415+
``glp_intopt_only`` and ``glp_simplex_then_intopt``, respectively.
1416+
The latter is useful to deal with a problem in GLPK where
1417+
problems with no solution hang when using integer optimization;
1418+
if you specify ``glp_simplex_then_intopt``,
1419+
sage will try simplex first, then perform integer optimization
1420+
only if a solution of the LP relaxation exists.
14191421
14201422
* - ``verbosity_intopt`` and ``verbosity_simplex``
14211423

0 commit comments

Comments
 (0)