Skip to main content

How to save each upper bound, lower bound, Gap, and running time of MIP's output log?

Answered

Comments

3 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?.
  • Elisabeth Rodríguez Heck
    Gurobi Staff Gurobi Staff

    Hi Bo,

    There is no direct way to save each upper bound, lower bound, gap and runtime reported in the log, but you can either extract these values by parsing the logfile or save them by using a callback. 

    Perhaps the post Working with the optimization log can be helpful.

    Best regards,

    Elisabeth

    0
  • Bo Fang
    Gurobi-versary
    First Question
    First Comment

    Thank you, this allowed me to do exactly what I had in mind.

    0

Post is closed for comments.