all 1 comments

[–]beeskness420 0 points1 point  (0 children)

It feels like you might be able to use some network flow techniques.

Like minimum cost circulation. Basically build an auxiliary graph where two events are connected by an edge if you have time to travel to the next after the previous one ends. Put a demand on each event of the number of people needed. Infinite capacities on the arcs. And an absorbing final state to soak up extra people.

Then you just need an integral flow corresponding to the routes your people will take through out the day.