#19090: cplex backend: return MIP relative gap
-------------------------------------+-------------------------------------
Reporter: dcoudert | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.9
Component: linear | Resolution:
programming | Merged in:
Keywords: | Reviewers:
Authors: David Coudert | Work issues:
Report Upstream: N/A | Commit:
Branch: public/19090 | 964bbbb14768c1ef7632b9321ad03170f8d11eea
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
> this is the first draft. I can now do the following:
Cool!
> However, it's working only with cplex. For GLPK, I have to understand
how to access
> {{{
> int glp_ios_best_node(glp_tree *tree);
> /* find active subproblem with best local bound */
>
> double glp_ios_mip_gap(glp_tree *tree);
> /* compute relative MIP gap */
> }}}
Well, at least it seems possible.
> Also, I have enabled access to these methods only through the backends.
I don't know if I should also add these methods to `mip.pxd/pyx`.
If you figure out how to make it work for GPLK, then I'd say yes. I expect
that we will find such a feature in all solvers, eventually.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/19090#comment:5>
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.