Originally posted by: mGlass
I'm sorry, I still have a conflict:
forall (i in clients, p in pallets, t in aperiods)
StockinClients_Returns:
sum(j in plants)x[i][j][p][t] <= stockinclient[i][p][t-1] +xpa[i][p][t];
forall (i in clients, p in pallets,t in aperiods)
StockinClients:
stockinclient[i][p][t]==stockinclient[i][p][t-1]-sum(j in plants)(x[i][j][p][t])+xpa[i][p][t];
How can I have a conflict in these 2 expressions?
If I join them, I'll have: stockinclient[i][p][t] >= 0.
These constraints were just to assure that:
1. the client cannot ship more than what it has in stock
2. keep track of the stock (stock= stock in the previous period + what the clieent receives - what the client sends
#DecisionOptimization#OPLusingCPLEXOptimizer