Skip to main content

Inquiry about the calculation time

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    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?.
  • Eli Towle
    Gurobi Staff Gurobi Staff

    The \( \texttt{runtime} \) field is the correct place to retrieve the runtime. Do you have the log file produced by Gurobi? This would give a clearer picture of what Gurobi is doing and for how long.

    It's possible that Gurobi spends the majority of its solve time in presolve, then solves the model very quickly once presolve completes. If this is the case, you could try setting the Presolve parameter to 0. This normally isn't recommended, but it can sometimes improve performance for small models that solve very quickly.

    Eli

    0

Post is closed for comments.