New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIP backend: return MIP relative gap #19090
Comments
Branch: public/19090 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
comment:4
Hello, this is the first draft. I can now do the following:
However, it's working only with cplex. For GLPK, I have to understand how to access
Also, I have enabled access to these methods only through the backends. I don't know if I should also add these methods to David. |
comment:5
Cool!
Well, at least it seems possible.
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 |
comment:6
I did multiple trials to use these methods with GLPK, but failed :( |
comment:7
Hellooooooo David ! At Even though it seems that this information is gathered at every node, and not only once at the end of the exploring. The good news is that:
Nathann |
comment:9
Thanks Nathann. |
comment:10
Helloooooo David, I find that the name of What would you think of something like 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 current 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:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
agreed. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
Hello again, I fixed the doc a bit and added a commit on this public branch. If you agree with it, then let's get it merged. Thanks for this ticket, Nathann |
Reviewer: Nathann Cohen |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
Good to go? Nathann |
comment:17
For me yes. |
This comment has been minimized.
This comment has been minimized.
comment:18
Okayyyyyyyyyy then! |
Changed branch from public/19090 to |
Currently, when a timelimit is pass to a MIP solver, we can access the best integer solution found. However, we cannot access the best known bound value and the optimality gap. This patch enable access to these values (implemented for GLPK and CPLEX).
CC: @nathanncohen
Component: linear programming
Author: David Coudert
Branch/Commit:
8c38aa7
Reviewer: Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/19090
The text was updated successfully, but these errors were encountered: