Skip to main content

IP model takes too long to solve

Answered

Comments

1 comment

  • Jaromił Najman
    • Gurobi Staff

    Please note that with over 3 million nonzeros, your model is very large and it is expected that it takes a long time to solve or even to find a feasible solution.

    Is there anything I can do to increase the solving time without modifying the model itself?

    You could try experimenting with the most important parameters for MIPs. In particular, you should experiment with the NoRelHeurTime, Heuristics, MIPFocus parameters. If possible, you should provide a MIP start or hints. To make the experimentation efficient, you should work with a smaller data set to have a way smaller model. This will save a lot of time when testing different settings and MIP starts.

    You might also try to improve your formulation and check whether you model has any numerical issues.

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.