Skip to main content

CPU time of first time to reach optimal solution

Answered

Comments

2 comments

  • Jaromił Najman
    Gurobi Staff 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

Please sign in to leave a comment.