Skip to main content

The model is infeasible

Answered

Comments

1 comment

  • David Torres Sanchez
    • Gurobi Staff

    Hi,

    I'm not sure about the formulation, particularly the constraints relating to the dummy job.
    Also, your data is random, it may be helpful to fix the seed to debug this and reduce the dimensions of your data until you get a feasible problem.

    You can find the constraints involved in the infeasibilities using the model.computeIIS function

    model.computeIIS()
    model.write("machinesched.ilp")

    For more info on this: How do I determine why my model is infeasible?

    Cheers, 
    David

    0

Please sign in to leave a comment.