Hi
it is not possible to have a variable size decision variable array.
But it is possible to use tuples to do that.
Let me give you an example.
tuple t
{
int x;
int y;
}
{t} s={<i,j> | i in 1..10,j in 1..2*10: j<=2*i};
dvar int a[s];
Alex
#DecisionOptimization#OPLusingCPLEXOptimizer