Skip to main content

Variation in runtimes for big linear problem

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • 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?.
  • Silke Horn
    • Gurobi Staff

    When solving the exactly same model multiple times on the same machine, the running times should be similar.

    • Are there other processes running on the same machine at the same time that may slow down Gurobi?
    • Is it possible that your code creates slightly different models each time you run it? E.g. a change in the order of the constraints can lead to a different solver path and could easily explain the variantions you are seeing. To find out, you could write the model to an MPS file for multiple runs and then compare the files. Can you reproduce this behavior when solving from an MPS file?

     

    0

Post is closed for comments.