Impoving problem formulation
AnsweredHi!
Is it possible to find out what presolver changed in my problem formulation?
Maybe my optimization problem could be formulated differently with less amount of variables and constraints. Could presolver help me with it?
-
Official comment
This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Domagoj,
Is it possible to find out what presolver changed in my problem formulation?
You can get the presolved model computed by Gurobi via the presolve method.
Maybe my optimization problem could be formulated differently with less amount of variables and constraints. Could presolver help me with it?
Reconstructing all presolve reductions "by hand" is most often not a trivial task, see How does presolve work? It is indeed often best to just let Gurobi do the work in presolve instead of doing it manually. So unless, presolve is taking a noticable amount of time compared to the rest of the solution process, it should not be necessary to perform specific presolve reductions on your own.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments