Skip to main content

Retrieving multiple optimal solutions for multiscenario in Python

Answered

Comments

2 comments

  • Simranjit Kaur
    • Gurobi Staff Gurobi Staff

    At present, obtaining n best solutions for each scenario in a multi-scenario model through solution pools is not supported.

    0
  • Tanmoy Das
    • Gurobi-versary
    • Investigator
    • Collaborator

    Hi,

    Not the best way, but maybe you can extract each scenario using m.SingleScenarioModel(), and then optimize all of them to retrieve all solutions for each scenario.

    I am trying the below as well:

    0

Please sign in to leave a comment.