Skip to main content

There is in-feasibility issue in Gurobi

Comments

4 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff 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?.
  • Yuriy Zinchenko
    • Gurobi Staff Gurobi Staff

    Hello Ziyad,

     

    please do not open another post, while you already have the issue discussed.

    The issue is not with Gurobi, but with your model.  What are you trying to obtain in this comparison,

     

    y.get((r,j,n,i,1)) != None

    ?

    0
  • Ziyad Mohamed
    • Gurobi-versary
    • First Question
    • First Comment

    if is in my variable matrix on not 

    0
  • Yuriy Zinchenko
    • Gurobi Staff Gurobi Staff

    Have you had a chance to save an LP file and examine the model "by hand", to make sure your indices are correct etc.?

    You can save the model using

    > model.write("myModel.lp")

     

    Let me know what you observe.

     

     

    0

Post is closed for comments.