Originally posted by: xspeng
i have defined the
dvar int+ Inv1[Plants][Products][DemandScenarios][0..NbPeriods];
dvar int+ Inv2[DCs][Products][DemandScenarios][0..NbPeriods];
but in the result the inv2 is negative in some period。
in addition
all,dvar boolean Order1[Plants][Plants][Products][DemandScenarios][Periods] and
dvar boolean Order2[Plants][DCs][Products][DemandScenarios][Periods] are one
dvar boolean Order3[DCs][DCs][Products][DemandScenarios][Periods];
dvar boolean Order4[DCs][Retailers][Products][DemandScenarios][Periods];,but the
dvar int+ OrderQuantity1[Plants][Plants][Products][DemandScenarios][Periods];
dvar int+ OrderQuantity2[Plants][DCs][Products][DemandScenarios][Periods];
dvar int+ OrderQuantity3[DCs][DCs][Products][DemandScenarios][Periods];
dvar int+ OrderQuantity4[DCs][Retailers][Products][DemandScenarios][Periods] is 0 in some period
the .mod should have some errors,
but i can not fix these errors
i attach my .mod and data file
I hope you can help to solve the problems
Thank you so much for your help in advan
#DecisionOptimization#OPLusingCPLEXOptimizer