Title: Solving the railroad problem