Skip to main content

How to solve "Warning: Model contains large bounds"

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 why not try our AI Gurobot?.
  • Silke Horn
    • Gurobi Staff

    Hi,

    Do I understand correctly that you are explicitly setting the upper bounds to MAXINT here? In that case, you should just leave the variables unbounded. This should remove the warning. (Note though that unbounded integer variables may make a model very difficult to solve. Your model is still quite small, so this may not be an issue, but for bigger models it might.)

    Silke

    0

Post is closed for comments.