We consider problems concerning the scheduling of a set of trains on a single track. For every pair of trains there is a minimum headway, which every train must wait before it enters the track after another train. The speed of each train is also given. Hence for every schedule - a sequence of trains - we may compute the time that is at least needed for all trains to travel along the track in the given order. We give the solution to three problems: the fastest schedule, the ave- rage schedule, and the problem of quantile schedules. The last problem is a question about the smallest upper bound on the time of a given fraction of all possible schedules. We show how these problems are related to the travelling salesman problem. We prove NP-completeness of the fastest schedule problem, NP-hardness of quantile of schedules problem, and polynomiality of the average schedule problem. We also describe some algorithms for all three problems. In the solution of the quantile problem we give an algorithm, based on a reverse search method, ge- nerating with polynomial delay all Eulerian multigraphs with the given degree sequence and a bound on the number of such multigraphs. A better bound is left as an open question.
[1]
Ralf Borndörfer,et al.
Micro-macro transformation of railway networks
,
2011,
J. Rail Transp. Plan. Manag..
[2]
G. Kirchhoff.
Ueber die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Vertheilung galvanischer Ströme geführt wird
,
1847
.
[3]
de Ng Dick Bruijn,et al.
Circuits and Trees in Oriented Linear Graphs
,
1951
.
[4]
Richard Bellman,et al.
Dynamic Programming Treatment of the Travelling Salesman Problem
,
1962,
JACM.
[5]
David Avis,et al.
Reverse Search for Enumeration
,
1996,
Discret. Appl. Math..
[6]
Robert E. Tarjan,et al.
A Note on Finding the Bridges of a Graph
,
1974,
Inf. Process. Lett..