Originally posted by: davidoff
range criterias = 1..6;
float R0[solutionPairs][criterias] =[p : [crit : R1[p]] | p in solutionPairs,crit in criterias];
float R00[solutionPairs][criterias] =[p : [ R1[p],R2[p],R3[p],R4[p],R5[p],R6[p ] | p in solutionPairs];
Hello
I want to bi-index an array, first axis is the collection solutionPairs and second one is 1..6 since I already calculated some values R1, R2 ..., R6 for each pair
The first try with R0 compiles but is not what I want since I will have at the end a matrix with duplicated R1
I tried R00 but it does not compile
Any hint ?
Thanks
David
#DecisionOptimization#OPLusingCPLEXOptimizer