Originally posted by: LindaKing
Thank you very much. This does help.
I found that I made a mistake when I indicate the range.
But I have another question.
......
int nPoint = ...;
range Point = 0..(nPoint-1);
int nSlice = ...;
range Division = 0..(nDivision-1);
//Decision Variables
dvar int+ Start[Division] in Point;
dvar boolean After[Point][Start];
......
Here I want to indicate the relationship between sampling points and the division of one day.
For example, nPoint=48 sampling points (24hr, every 30min one sample).
The Division is defined by the starting point and other points included in this division. I use "dvar boolean After" to show whether a point is after the starting point of certain division or not.
But the Start is also a dvar. Is the definition shown above illegal?
#DecisionOptimization#OPLusingCPLEXOptimizer