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

BestBdStop for feasibility problems

回答済み

コメント

4件のコメント

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

    Hi Timothy,

    You can query the model attribute SolCount at the end of the optimization run to check if a feasible solution was found. If model.SolCount >0, you can query the variable attribute X to find its value in the best solution found.

    For performance, you might want to experiment with the NoRelHeurTime and Heuristics parameters. 

    Best regards,
    Simran

    0
  • Timothy Baeckelant
    • Gurobi-versary
    • First Comment
    • First Question

    Thank's a lot !

    Now I have one more question. Does this also works if the model in supposed to be infeasible ? Which parameters could improve the solving time of an infeasible model ?

    0
  • Simranjit Kaur
    • Gurobi Staff

    Hi Timothy,

    You can check the status attribute of the model at the end of the optimize call to check if the model is infeasible.

    Which parameters could improve the solving time of an infeasible model ?

    Do you mean the running time of the computeIIS method that finds the smallest subset of constraints and variables that make the model infeasible? For that, please take a look at the parameters and attributes: IISMethod, IISConstrForce, IISLBForce, and IISUBForce.

    - Simran

    0

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