Originally posted by: PetertheGiant
Hey guys,
I am currently trying to code a model in which I have a range t, going let's say from 0 to 50.
For one of the constraints though, I need to differ the range of my integer parameter t, so that it does not exceed the total time horizon.
For specifically, I am trying to model a sum which ranges from (t+1 to t+2), but still the last t must not exceed 50, thus in this constraint not exceed 48 (as two are added in my sum).
Does anybody know how to code this?
Best regards
Peter
#DecisionOptimization#OPLusingCPLEXOptimizer