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

Solver time dependence on number of optimization variables and constraints

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Michel Soares
    • Gurobi-versary
    • Thought Leader

    Hi,

    I assume the pre-solve time would be longer in problem 2.

    As for the solve time, depending on the order the pre-solve techniques are applied (meaning that it will not necessarily remove the K variables and L constraints first), you might get different models which will lead to different solve times. On not-too-large models or by using the strongest pre-solve parameter, it is more likely that you get the same model and hence similar solve times.

    Nonetheless, I suggest you give it a try. The most likely result is similar times for problem 1 and 2. If it is not the case, you can pre-process these variables and constraints to take them out, which should lead to similar or better results.

    1

投稿コメントは受け付けていません。