Skip to main content

Same model, different solve times

Answered

Comments

2 comments

  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Hi James,

    This effect is called "Performance Variability" and is a well-known phenomenon. Changing the order of variables or constraints or using a different random seed can drastically impact the performance in either direction although the mathematical model is identical. This is described for example in the MIPLIB 2010 paper. Gurobi tries to exploit this a bit when running in ConcurrentMIP mode. Using different hardware also plays an important role as the search path within the branch-and-bound tree can be significantly different.

    You could try running with multiple different random seeds to get a feeling for how large the variability is on your model.

    Cheers,
    Matthias

    1
  • Mohammad Ehsanul Hoque
    Gurobi-versary
    First Comment

    Hi James

    I am also interested in neural network verification. Can you please share your code? It would work for me as a starting point. Also, if you like you can share any tutorial/blog about encoding a neural network and using Gurobi solver on it. 

    Thanks

    0

Please sign in to leave a comment.