Originally posted by: Marc Habib
How can I initialize a set of tuples containing an array in script:
tuple Tuple2 {
int ar[1..2];
}
Tuple2 tuple2;
{Tuple2} tuple2Set;
execute {
// error too many arguments:
tuple2Set.add(1,2);
var ar = new Array();
ar[0] = 0;
ar[1] = 1;
// crash:
tuple2Set.add(ar);
}
Thanks
#DecisionOptimization#OPLusingCPOptimizer