Originally posted by: Nazanin Esmaili
Hi,
I want to define a decision variable which has 4 index but one on these indexes has different range for example:
int w=6;
int h=20;
int p=7;
dvar boolean x[0..w-1][0..h-1][1][1..3];
dvar boolean x[0..w-1][0..h-1][2][1..2];
dvar boolean x[0..w-1][0..h-1][3][1];
when I defined x such the above, the system gave me an error for the second line that I have already defined x. I appreciate any help. Thanks.
Nazanin
#CPLEXOptimizers#DecisionOptimization