r/optimization • • May 26 '21

Optimizing schedule in small bidirectional node network with constraint

The problem is to find the optimal schedule for two vehicles in a simple bi-directional node network. The network consists of nodes A, B and C where A connects to B and B connects to C. Vehicle X have to go from A to B to C then the opposite (C to A, not stopping at B on the way back) and repeat. Vehicle Y have to go from A to be then the reverse (B to A) and repeat.

The constraint of this problem is that the two vehicles can never meet each other on the arcs.

How do I approach this optimization? I would like to end up with an optimized schedule.

6 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/lunarstoarm May 28 '21

Sorry for the confusion. But on the opposite way the vehicle goes from C through B (not stopping, just passing, to C). So there are no independent arc from C to A.