Can we prioritize the collection locations and then distribution locations in simultaneous collection and distribution?
Closed this issue · 1 comments
prince4249 commented
I have 3 types of nodes.
- Collection point ('C)
- Distribution point ('D)
- Both Collection and Distribution ('CD')
In any one of the routes, I wish to first visit all 'D's location then 'CD's and at the last 'C's . Is there any way to implement this ?
Kuifje02 commented
You may be able to achieve this by carefully defining your graph. For example, if you do not create any edges from the Source to the C or CD points, the first point will necessarily be a D point. Similarly, do not create any edges from D points to the Sink, and no edges from D points to C points. And no edges from C to D, no edges from C to D and CD, etc ...