How to determine how long it will take the simulation to finish?
AnsweredHello,
I have a model that can take multiple days to solve. I was curious if there is a feature in Gurobi that can tell me how long it should take the model to solve? An estimate up to a few hours is fine.
In some cases I've waited for weeks only to close the simulation, when it was progressing but not providing me with final values.
Thanks.
-
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 try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Vadim,
It is not possible to state a priori how long an optimization run will take. It is sometimes possible to derive an approximation of expected time for a fixed model formulation given a big enough data set. Still, even with a big data set, the approximation can be way off the actual time needed.
In some cases I've waited for weeks only to close the simulation, when it was progressing but not providing me with final values.
Often finding the best optimal solution, i.e., waiting until MIPGap reaches 0%, is not practicable, especially for large and/or complex models. Thus, it is recommended to set a realistic MIPGap which will terminate the optimization process once it is reached.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments