Originally posted by: lennartDigital
Hi, my problem is the following:
External I get a set of tours (tuples), but I would like to define an array, with a tuple <day,id> as the index of the array.
////////////////////////////////
tuple tours{...}
{tour} allTours = ...;
{idx} indexSet = { <t.day, t.id>| t in allTours};
tour tourArray[indexSet] = [ t | t in allTours]; ///this is the line, that doesn't work
/////////////////////////////
Does anybody has an idea with what I could replace the fourth line?
#CPLEXOptimizers#DecisionOptimization