#12703: Update GLPK to 4.55.
-------------------------------------+-------------------------------------
Reporter: leif | Owner: leif
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-6.4
Component: packages: | Resolution:
standard | Merged in:
Keywords: link time | Reviewers: Nathann Cohen
optimization nm glpsol spkg | Work issues:
upgrade update | Commit:
Authors: Leif Leonhardy, | 758b53a7487cb405286ad009caaab733842f0f8e
Jean-Pierre Flori | Stopgaps:
Report Upstream: Reported |
upstream. Developers acknowledge |
bug. |
Branch: |
u/jpflori/ticket/12703 |
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by fbissey):
I cannot comment on the build part but the commit addresses a good number
of doctest failures I have seen in sage-on-gentoo with glpk 4.54. Only one
bit really need to be changed:
{{{
--- a/src/sage/numerical/mip.pyx
+++ b/src/sage/numerical/mip.pyx
@@ -2387,12 +2387,12 @@ 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() # tol 0.00001
+ sage: p.solve() # rel tol 3e-2
GLPK Simplex Optimizer, v4.44
2 rows, 2 columns, 4 non-zeros
* 0: obj = 7.000000000e+00 infeas = 0.000e+00 (0)
* 2: obj = 9.400000000e+00 infeas = 0.000e+00 (0)
- OPTIMAL SOLUTION FOUND
+ OPTIMAL LP SOLUTION FOUND
9.4
"""
return self._backend
}}}
You still have "GLPK Simplex Optimizer, v4.44" so it seems you have
forgotten that bit. I doubt it would be caught by the tolerance. My own
request would be for the version to be tested as "4....".
--
Ticket URL: <http://trac.sagemath.org/ticket/12703#comment:57>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.