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

PoolSearchMode = 2 return the same solutions

回答済み

コメント

2件のコメント

  • 正式なコメント
    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.
  • Mario Ruthmair
    • Gurobi Staff

    Hi Israel,

    PoolSearchMode=2 with PoolSolutions=10 implies that you get the 10 best solutions. But there could be multiple solutions with the same objective value, just differing in the variable values. I guess if you take a look at the variable values, all those solutions will be different.

    If those solutions differ only in variables that are not relevant to you (e.g., helper variables for modeling the problem), then you could set the variable attribute PoolIgnore for those helper variables. Then, you will obtain solutions that differ in the relevant decision variables.

    Best regards,
    Mario

    0

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