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

Timeout value for each Scenarion

回答済み

コメント

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 why not try our AI Gurobot?.
  • Jaromił Najman
    • Gurobi Staff

    Hi Thomas,

    It is currently not possible to set individual time limits for different scenarios. If you know which scenarios are hard to solve, you could capture those scenarios \(x\) via the singleScenarioModel function and solve them independently of the rest. Since one cannot directly remove a single scenario from a multiple-scenario model, you would have to adjust the changes of the particular scenarios \(x\) to be trivial, i.e., make no changes at all. You could then try to use Gurobi's Parameter Tuning Tool to improve performance for the hard scenarios.

    Please note that with your knowledge on your scenarios, it might be best to construct the multi-scenario model only over those scenarios which you are sure that they solve within your time limit. Then, model the hard scenarios \(x\) as individual problems and solve them independently with their own time limits (and possible additional settings).

    Best regards,
    Jaromił

    0
  • Tobias Achterberg
    • Gurobi Staff

    Hi Thomas,

    Jaromils suggestions are of course perfectly fine. But I wonder why it is bad for you to just set a time limit that fits to the difficult scenarios for the overall multi-scenario solve. The easy scenarios should then also be solved "along the way".

    Regards,

    Tobias

    0

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