Originally posted by: AlexWhiter
i've got a problem here i cant solve with my current knowlege. Let's say i have a tuple like
tuple joint
{
int id;
int maxvalue;
}
then, i have a set of em
{joint} joints=...;
and an array indexed by that set AND bounded by according element's maxvalue. i want to do somewhat like
dvar int array[joints] in 0..(w: w.maxvalue | w in joints);
But i've got no idea how to pull such things off(
UPD: and what can be done if array should be indexed by joint.id?
Thanks.
#DecisionOptimization#OPLusingCPLEXOptimizer