Download IBM ILOG OPL Language Reference Manual
Transcript
In contrast, this statement int array[<i,j> in set1] = ((sum(<i,j> in set2) 1 >= 1) ? 1:0); codes implicit slicing, which is equivalent to: int array[i in set1] = ((sum(j in set2 : j==i) 1 >= 1) ? 1:0); In other words, there is no implicit slicing outside tuple patterns. See also Modeling tips in the Language User’s Manual. I B M I L O G O P L L A N G U A G E R E F E R E N C E M A N U A L 135