メインコンテンツへスキップ

Are there any specific settings one should use when no solutions to a MIP are expected?

回答済み

コメント

2件のコメント

  • Riley Clement
    • Gurobi Staff

    Hi Jonah,

    If you're confident no solutions exist and your simply using Gurobi to confirm this then I'd start with turning heuristics off - they will be a waste of time.  My hunch is that MIPFocus=3 and Presolve=2 would also help, but this is just a guess.

    - Riley

    0
  • Jonah Klein
    • First Comment
    • First Question

    Hi Riley,

    Thank you for your answer! Turning heuristics off did indeed help, and saved about a third of the computation time in the benchmarks I did. Presolve=2 changed nothing to the number of variables and constraints after presolve, so I am assuming the regular presolve was doing fine. I imagine this might help with other problems where the presolve is more complex. MIPFocus=3 actually slowed down the computations. I should mention that I am optimizing without a function to optimize, i.e. I am optimizing for the 0 function, so there is no gap to take into account. 

    -Jonah

    0

サインインしてコメントを残してください。