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

Finding all feasible solutions

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    Gurobi Staff 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?.
  • Tobias Achterberg
    Gurobi Staff Gurobi Staff

    No, you need to use PoolSearchMode=2 to really find all feasible solutions. With PoolSearchMode=1 there is no guarantee of exhaustiveness. For example, PoolSearchMode=1 would not disable dual presolve reductions. Those reductions allow to discard optimal solutions if one can prove that at least one optimal solution remains feasible in the presolved model.

    I agree, however, that our documentation of the PoolSearchMode parameter is not 100% clear on this.

    You could check whether

     PoolSearchMode=2

    is equivalent to

    PoolSearchMode=1 DualReductions=0.

    From source code inspection, I think that disabling dual reductions is really the only relevant difference.

    Regards,

    Tobias

     

    1
  • Akram Kh
    Gurobi-versary
    Conversationalist
    Curious

    Dear Tobias,

    Thanks for your reply. That was a great help for me.

    Regards,

    Akram

    0

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