Paris Metro Lines
Build two new metro lines through existing Paris Metro stations.
Each of the 2 metro lines uses 10–20 distinct existing stations, and each consecutive pair of stations must have an allowed tunnel. A station may appear on both lines. Both lines share a fixed 40 km construction budget. They are added to the original Metro graph, and the score is the total weighted travel time saved, using demand data between pairs of stations. Transfers at stations are free.
Show mathematical formulationHide mathematical formulation
Instance: 302 Metro stations, 358 existing edges, 11092 allowed tunnels and 13031 scored origin-destination pairs. The compact text file contains planar kilometre coordinates and all data required to solve the problem. The full JSON additionally contains display names, geographic coordinates, line memberships and map geometry. This JSON data is not necessary for solving the problem.
Show data formatHide data format
RULES lineCount minStationsPerLine maxStationsPerLine constructionBudgetKm STATIONS count index identifier xKm yKm EXISTING_EDGES count indexA indexB travelMinutes CANDIDATE_TUNNELS count indexA indexB constructionKm travelMinutes DEMAND_PAIRS count indexA indexB demandWeight Indices are zero-based. Edges are undirected. (indexA, indexB) and (indexB, indexA) are the same demand pair. Each pair adds demandWeight × travel-time saving to the score. Lines beginning with # are comments. Solutions use station identifiers, not indices.
Solution format: 2 text lines. Each text line contains 10–20 station identifiers separated by spaces, in travel order.
Scoring: \(\text{Score}=\sum_{(a,b)} d(a,b)(t_{old}(a,b)-t_{new}(a,b))\) Higher is better. It means that for every station pair, we multiply its demand by the reduction in shortest-path travel time.
Solution example: Download example