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

Commit 6e680f9

Browse files
committed
format comments in 80 columns mode
1 parent 153805c commit 6e680f9

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/sage/numerical/backends/glpk_backend.pyx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -757,9 +757,10 @@ cdef class GLPKBackend(GenericBackend):
757757
"""
758758
Solve the problem.
759759
760-
Sage uses GLPK's implementation of the branch-and-cut algorithm (``glp_intopt``) to
761-
solve the mixed-integer linear program. This algorithm can be requested
762-
explicitly by setting the solver parameter "simplex_or_intopt" to "intopt_only".
760+
Sage uses GLPK's implementation of the branch-and-cut algorithm
761+
(``glp_intopt``) to solve the mixed-integer linear program.
762+
This algorithm can be requested explicitly by setting the solver
763+
parameter "simplex_or_intopt" to "intopt_only".
763764
(If all variables are continuous, the algorithm reduces to solving the
764765
linear program by the simplex method.)
765766
@@ -801,7 +802,7 @@ cdef class GLPKBackend(GenericBackend):
801802
.. WARNING::
802803
803804
Sage uses GLPK's ``glp_intopt`` to find solutions.
804-
This routine sometimes FAILS CATASTROPHICALLY
805+
Thisroutine sometimes FAILS CATASTROPHICALLY
805806
when given a system it cannot solve. (Ticket #12309.)
806807
Here, "catastrophic" can mean either "infinite loop" or
807808
segmentation fault. Upstream considers this behavior
@@ -848,8 +849,9 @@ cdef class GLPKBackend(GenericBackend):
848849
sage: lp.get_values([x, y])
849850
[1.5, 0.5]
850851
851-
If one solves a linear program and wishes to access dual information (`get_col_dual` etc.)
852-
or tableau data (`get_row_stat` etc.), one needs to switch to "simplex_only" before solving.
852+
If one solves a linear program and wishes to access dual information
853+
(`get_col_dual` etc.) or tableau data (`get_row_stat` etc.),
854+
one needs to switch to "simplex_only" before solving.
853855
854856
GLPK also has an exact rational simplex solver. The only
855857
access to data is via double-precision floats, however. It
@@ -904,7 +906,8 @@ cdef class GLPKBackend(GenericBackend):
904906
sage: lp.get_values(x) == test # yes, we want an exact comparison here
905907
True
906908
907-
Below we test that GLPK backend can detect unboundedness in "simplex_only" mode (:trac:`18838`).
909+
Below we test that GLPK backend can detect unboundedness in
910+
"simplex_only" mode (:trac:`18838`).
908911
909912
EXAMPLES::
910913

0 commit comments

Comments
 (0)