Skip to main content

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

Answered

Comments

1 comment

  • 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

Please sign in to leave a comment.