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

How to output all feasible solutions?

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three 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.
  • Jonasz Staszek
    • Community Moderator
    • Gurobi-versary
    • Thought Leader
    • First Question

    If you know upfront that there will be 15 solutions, you can add these two lines before the optimize call:

    space.setParam("PoolSolutions", 15)
    space.setParam("PoolSearchMode", 2)

    Further info can be found here.

    Best regards,
    Jonasz

    0
  • FEI XUE
    • Gurobi-versary
    • Conversationalist
    • Curious

    Doctor Jonasz

    Thank you very much.

    It helps me a lot.

    0

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