Originally posted by: CPlex_NooBie
Hey! The following code snippet explains the curiosity:
{int} M=...;
tuple t
{
int beta;
int alp;
int r;
};
t allData[M]=...;
dvar int y[M][1..r][N] in 0..1;
The last line is the problem where the size of the second index depends on 'r' and the value of 'r' depends on M. Hence the solver gives an error 'circular dependency'. How do I initialize the decision variable y?
#DecisionOptimization#OPLusingCPLEXOptimizer