#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 | c35433d9121996accada9a9cbc44635df48789cb
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
Helloooooo David,
I find that the name of `get_best_objective_value` clashes heavily with
what the method is supposed to do. When I read `get_best_objective_value`,
all I can think of is that it returns the cost of the best solution found
so far.
What would you think of something like `best_known_objective_bound`
instead ?
Similarly, the description of the function is sometimes confusing. I am
not sure that I understand what "the minimum objective function of all
unexplored nodes" means.
What about something like that:
---
This method returns the best upper (resp. lower) bound on the optimal
value of the objective function in a maximization (resp. minimization)
problem. It is equal to the output of :meth:`get_objective_value` if the
MILP found an optimal solution, but it can differ if it was interrupted
manually or after a time limit (cf :meth:`solver_parameter`).
---
Just a proposition of course, we can modify whatever you don't like in
this text.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/19090#comment:10>
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.