Is it possible to dump the discovered implied bounds after solving LP?
AnsweredI'm not sure whether this is a sensible question. If some bound tightening/propagation techniques are used when solving a LP problem (e.g., examining a row when revised Simplex is running), is it possible to extract those updated bounds?
For example,
If the original query is
x1<=4 and x2 >= 2 and x1 + x2 <= 3
I presume the simplex engine can deduce that x1 has a tighter upper bound of 1. My question is whether I can extract that tighter bound?
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi,
You cannot access the variable bounds deduced by a specific heuristic. However, you can access the presolved model which will most likely hold the information you seek. The Knowledge Base article How does presolve work? may be of interest. Note that, if a problem is too simple, then the presolve procedure will most likely solve the problem completely, meaning that the resulting presolved model is empty.
Best regards,
Jaromił0 -
Ah I see. Thanks for the explanation!
0
Post is closed for comments.
Comments
3 comments