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

Problem with number of solutions

回答済み

コメント

1件のコメント

  • Eli Towle
    • 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).

    0

サインインしてコメントを残してください。