Skip to main content

Finding all feasible solutions for an MILP problem?

Answered

Comments

2 comments

  • Official comment
    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.
  • Eli Towle
    • Gurobi Staff

    If you set PoolSearchMode to 2 and PoolSolutions to 2e9, Gurobi will search for the best two billion distinct feasible solutions to your model. If your model has less than two billion distinct feasible solutions, Gurobi will search for all distinct feasible solutions.

    Note there are some caveats related to (i) defining what it means for two solutions to be distinct, and (ii) how the MIPGap and MIPGapAbs parameters influence the solution pool. These caveats are described in the Solution Pool > Subtleties and Limitations section of the documentation.

    0

Post is closed for comments.