Near-optimal route computation on time-expanded GTFS graphs with LP relaxation bounds.
Visit all 272 Underground stations as fast as possible. The Guinness World Record is 17h45m. The automated solver achieves 16h45m, one hour faster than any human attempt.
Scored across service schedules, weather forecasts, planned disruptions, and historical delay patterns.
--
Updated --. Service data from GTFS timetables. Weather from Open-Meteo. Disruptions from TfL API / GTFS exceptions.
Build a directed graph from GTFS timetable data. Each node is a (station, time) pair. Edges are train legs, waiting arcs, and walking transfers.
160K nodes / 1.26M edgesAuto-detect hard stations, pair with junctions. k=5 NN with urgency scoring + epsilon-greedy randomized search over thousands of trials.
272/272 stations coveredFlow-based LP gives a provable lower bound. The optimality gap quantifies how close the heuristic solution is to optimal.
7h43m lower boundUnlike classical TSP, transit networks are time-dependent. Each node is a (station, departure_time) pair. Edges represent train legs, waiting arcs, and walking transfers.
Visit a required set of nodes without returning to start. NP-hard in general. We use heuristics and compute LP relaxation bounds to prove solution quality.
Parses any city's General Transit Feed Specification data. Handles calendar filtering, service patterns, and computes walking transfers via KDTree spatial index.
Relaxing integer constraints gives a valid lower bound on the optimal solution. The integrality gap proves solution quality without exhaustive search.