Skip to main content

Finding all feasible solutions

Answered

Comments

2 comments

  • 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

Please sign in to leave a comment.