Skip to main content

CPU time of first time to reach optimal solution

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • 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?.
  • Jaromił Najman
    • Gurobi Staff

    Hi,

    You can use callbacks to get the information you seek. You could either use the MIPSOL callback which is called whenever a new incumbent solution is found and ask for the RUNTIME. Or you could just use the MESSAGE callback and scan for an 'H' or '*' and then ask for the RUNTIME.

    Best regards,
    Jaromił

    0
  • Deng Pan
    • Gurobi-versary
    • Conversationalist
    • First Question

    Hi Jaromil,

    It worked! Thank you so much!

    Best wishes

    0

Post is closed for comments.