Skip to main content

Rounding LB with callbacks

Answered

Comments

2 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    Hi Daniel,

    You could add the cut "objective \(\geq\) rounded value" in a callback. However, this is not always a good idea, cf. How do I pass an objective bound to Gurobi?

    What would be the benefit in your particular case? Rounding 5999.999 to 6000 does not sound like it would do much unless you are trying to reach a very tight MIPGap.

    Best regards, 
    Jaromił

    0

Post is closed for comments.