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

Model Infeasible troubleshooting (m.computeIIS() gets stuck)

回答済み

コメント

2件のコメント

  • 正式なコメント
    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.
  • Jaromił Najman
    • Gurobi Staff

    Hi,

    Computing an IIS can be very expensive. It is in general not easier than solving the original model.

    You could try removing chunks of your constraints by hand in order to reduce the size of the model while keeping it infeasible (you might also find the constraints responsible for infeasibility by doing so). This might reduce the time to compute an IIS.

    Instead of computing an IIS, you could construct a feasibility relaxation, cf. How do I determine why my model is infeasible? and documentation of feasRelax. A feasibility relaxation is a relaxation of your infeasible model that it guaranteed to be feasible. You can solve the feasibility relaxation and check which auxiliary variables are non zero, i.e., which changes would have to be made in order to make your model feasible.

    Best regards, 
    Jaromił

    0

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