Skip to main content

MIP problem taking a lot of time to solve

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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.
  • Riley Clement
    • Gurobi Staff

    Hi João,

    You can see from the logs that Gurobi is struggling to find a feasible solution (maybe this model is even infeasible).  Here are a couple of things to try:

    * set the objective to 0, so that you are solving a feasibility problem
    * try our No Relaxation heuristic by setting NoRelHeurTime to a large number.  Phase 1 is the heuristic trying to find a feasible solution.
    * run with different values of Seed - perhaps another "solution path" will have more success

    - Riley

    0

Post is closed for comments.