#12736: More solver options for GLPK
--------------------------------------+-------------------------------------
Reporter: john_perry | Owner: ncohen
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: linear programming | Resolution:
Keywords: solver parameters | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Comment (by john_perry):
Replying to [comment:12 r.gaia.cs]:
> IMHO, is better pass the number values in miliseconds as in GLPK.
While working on this tonight, I realized that mip.pyx expects the
`timelimit` parameter for both CPLEX and GLPK to be in seconds. To get
around this, I added a new parameter, `timelimit_intopt` and
`timelimit_simplex`; these accept milliseconds.
I also added a couple of new doctests, one to test this difference.
I would like to doctest output when we set `msg_level` to something other
than `...off`, but apparently the doctest facility doesn't recognize
output produced by linked C code, only output produced by Python or
Cython. If anyone has an idea on how to make that work, let me know.
Otherwise, I guess this is ready. (I've tested it with some of my own
code, too.)
NEEDS REVIEW.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12736#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.