Hello,
We are coding a bus schedule problem. We have a set of trip (nodes), this denotes all the trips that have to be made. We also have a set of compatible trips (arcs)(this is a subset of tripsXtrips). That is if trip j can be done after trip i by the same bus.
SET
Identifier: Trips
Index: i,j
definition : ElementRange(1,182,prefix:”Rit-“,fill:1);SET
Identifier: Compatibletrips
Subset of: (trips,trips)
Index: aNow we are running into the problem that aimms does not recognize that the index of compatibletrips, a, is made up of a single trip i and a single trip j; (i,j). How can this be done in aims? For our constraints we sometimes need the sum over j for compatible trips for example Thank you very much in advance.