Model infeasible
Awaiting user inputHello,
I want to model a stock management problem,
I have 3 variables :
P[i,t] : Production of product i in period t
X[i,j,t] : Amount of product i in location j in period t ( each location j has its capacity)
F[i,t] : Fictive location ( to avoid model infesability) ( amount of product i that we couldnt stock at period t.
The Constraint i built is :
for i in range(I):
for t in range(T):
model.addConstr(gp.quicksum(X[i,j,t] for j in range(J))+F[i,t]==P[i,t]
Logicaly, i wouldn't have any problem of capacity because if the production is too big i can stock in the fictive location F[i,t], but the problem is if the production exceeds a certain number i have an infeasible model.
So i don't now why
Thank you
-
Hi Rayan,
Did you have a look at the Knowledge Base article How do I determine why my model is infeasible?
Best regards,
Jaromił0
Please sign in to leave a comment.
Comments
1 comment