Skip to main content

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



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,

    (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.


Please sign in to leave a comment.