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

Our model is working but infeasible !

回答済み

コメント

1件のコメント

  • Maliheh Aramon
    • Gurobi Staff

    Hi Hamza, 

    Please have a look at the article "How do I determine why my model is infeasible?". 

    The first step is to compute an IIS using the Model.computeIIS() method. The Gurobi Optimizer first needs to prove the model is infeasible before proceeding to finding a sub-system of constraints/bounds which are responsible for infeasibility. Given my experimentation of your model, it seems it takes time to prove infeasibility. How long did it take for the Gurobi to terminate with an infeasible status on your machine? 

    Instead of figuring out why the model is infeasible, another strategy is to figure out which changes should be done to the model to recover feasibility. To do this, you can use the Model.feasRelaxS() to find the smallest perturbation needed to recover feasibility. Please have a look at the article "How do I change variable and/or constraint bounds to make an infeasible model feasible using feasRelax?" to know how to interpret the solution given by the feasibility relaxation model. 

    Best regards,

    Maliheh

    1

サインインしてコメントを残してください。