Originally posted by: Margarett
Hello!
There are 3 errors in the syntax of using a loop.
I need to use a loop to populate the first column of the matrix.
(?) Please tell me how to write a cycle correctly.
range S = 1..8;
range P = 1..4;
dvar int z [S, P];
int z0 = 2;
for (var i=1; i < 9; i++) { z[i][1]==z0 }
Best regards,
Margarett.
#CPLEXOptimizers#DecisionOptimization