Originally posted by: 1259
Dear Alex,
Thank you so much for your response..
I really apologize.. Actually a typing error has taken place...
My constrains are as following:
Stock[t-1]+Qunatity of transport[ t - transport leadtime ]= production[t]+ Stock[t]
To deal with the lead time I try two types of progrmming:
Stock[0..number ofTimePeriods];
Qunatity of transport[ timeperiods];
1:
forall( t in timeperiods, b in timeperiods: b==t-transport leadtime) Stock[t-1]+ Qunatity of transport[ b]== production[t]+ Stock[t];
2:
forall( t in timeperiods) Stock[t-1]+ Qunatity of transport [ t - transport leadtime]= =production[t]+ Stock[t];
But nither first nor second works.. Actually I wonder how to I should deal with lead time.
Again thank you so much for your attention
#DecisionOptimization#OPLusingCPLEXOptimizer