Skip to main content

Problem with number of solutions



1 comment

  • Eli Towle
    Gurobi Staff Gurobi Staff

    With the default value of the PoolSearchMode parameter (0), Gurobi tries to find an optimal solution to the model. The number of solutions Gurobi finds while searching for an optimal solution is no indication of how many feasible solutions exist. Additionally, different versions of Gurobi may take different paths to solve the problem, which can result in the solver finding different numbers of feasible solutions, or even different optimal solutions if multiple exist.

    Are you interested in finding more feasible solutions? If so, set the PoolSearchMode parameter to 1 to direct Gurobi to try finding \(n\) feasible solutions, or to 2 to direct Gurobi to try finding the best \( n \) feasible solutions (where \( n \) is equal to the value of the PoolSolutions parameter).


Please sign in to leave a comment.