Originally posted by: SystemAdmin
[typhoon said:]
hallo!
i try to initialize a 2 dimensional array by a 3 dimensional array. therefore i want to sum up the array values of the 3rd dimension...but of course: it isnôt as simple as i thought :)
...
range range1=1..50;
range range2=1..60;
execute INITIALIZE{
for ( var i in range1){
for (var t in range2){
D[i][t]= sum(var k in 1..t)d[i][k][t];
}
}
writeln (D);
}
thanx for reading!
ps.: Didier? do u know bar ourcq near the bassin de la villette? tell me if u want!
#DecisionOptimization#OPLusingCPLEXOptimizer