Skip to main content

Gurobi inconsistent performance when solving the MIP problems in parallel and in sequence

Answered

Comments

2 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?.
  • Yuriy Zinchenko
    Gurobi Staff Gurobi Staff

    With a single thread the runs should be deterministic, but you can also try setting Method to value 4 or 5 to make sure, https://www.gurobi.com/documentation/9.0/refman/method.html

    (we cannot guarantee what goes on in JuMP).

    With the above, Gurobi runs are deterministic, meaning that for the identical models the runs with the same parameter settings on the same hardware-and-software configuration will give same solve trajectory,

    Another thing to keep in mind that the row or column permutations matter as well, and we have seen examples where the "outer software layer" used to build the model does effect the ordering, not necessarily in a deterministic fashion.  So, I would suggest also checking that your models are exactly the same -- you can write these into a model file, and compare the data on the disc.

     

    Hope this helps.

    0

Post is closed for comments.