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

Strategies for solving a problem with low number of decision variables?

回答済み

コメント

4件のコメント

  • 正式なコメント
    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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Matthias Miltenberger
    • Gurobi Staff

    Short answer: No, you should never use brute force. The number of possibilities is growing exponentially with the number of decision variables. 20 binary variables already result in more than a million combinations.

    Gurobi will handle those combinatorial problems way more efficiently than brute force ever could. In almost every practical problem there are structures and inter-dependencies between the variables that can be exploited to reduce the complexity of the problem and make it solve faster.

    I hope that answers your question.

    Cheers,
    Matthias

    -1
  • s
    • Gurobi-versary
    • First Comment
    • First Question

    Well I am well aware that Gurobi can do that, but my question is: what is the tuning strategy for such a problem (e.g. what parameter to tune to improve the performance OR what is the modelling strategy) to improve the speed of solution?

    0
  • Matthias Miltenberger
    • Gurobi Staff

    The amount of integer or binary variables is not enough to say something about which setting might improve the solver. Vastly different models can have the same low number of these variables but still react differently to various tuning strategies.

    Cheers,
    Matthias

    0

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