
398 I Implementation Challenge for TSP Heuristics
calibration. The final ranking was made by considering
each query time divided by the time required by the bench-
mark code on the same platform (benchmark ratio). Other
performance measures taken into account were space us-
age and the average number of nodes scanned by query
operations.
Six point-to-point implementations were run success-
fully on the USA graph defined for the competition.
Among them, the fastest query time was achieved by the
HH-based transit code [14]. Results are reported in Ta-
ble 2.CodesRE and REAL(16, 1) [9] were not eligible for
the competition, but used by the organizers as a proof that
the problem is feasible. Some other codes were not able to
deal with the size of the full USA graph, or incurred run-
time errors.
Experimental results for other variants of the shortest
paths problem are described in the papers presented at the
Challenge Workshop.
URL to Code
Generators of problem families and benchmark solvers for
shortest paths problems are available at the URL: http://
www.dis.uniroma1.it/~challenge9/download.shtml.
Cross References
Engineering Algorithms for Large Network
Applications
Experimental Methods for Algorithm Analysis
High Performance Algorithm Engineering for
Large-scale Problems
Implementation Challenge for TSP Heuristics
LEDA: a Library of Efficient Algorithms
Recommended Reading
1. Ahuja, R., Magnanti, T., Orlin, J.: Network Flows: Theory, Al-
gorithms and Applications. Prentice Hall, Englewood Cliffs, NJ
(1993)
2. Ajwani, D., Dementiev, U., Meyer, R., Osipov, V.: Breadth first
search on massive graphs. In: 9th DIMACS Implementation
Challenge Workshop: Shortest Paths, DIMACS Center, Piscat-
away, NJ, 13–14 Nov 2006
3. Barrett, C., Bissett, K., Holzer, M., Konjevod, G., Marathe, M.,
Wagner, D.: Implementations of routing algorithms for trans-
portation networks. In: 9th DIMACS Implementation Challenge
Workshop: Shortest Paths. DIMACS Center, Piscataway, NJ, 13–
14 Nov 2006
4. Bast, H., Funke, S., Matijevic, D.: Transit: Ultrafast shortest-path
queries with linear-time preprocessing. In: 9th DIMACS Imple-
mentation Challenge Workshop: Shortest Paths, DIMACS Cen-
ter, Piscataway, NJ, 13–14 Nov 2006
5. Delling, D., Holzer, M., Muller, K., Schulz, F., Wagner, D.: High-
performance multi-level graphs. In: 9th DIMACS Implementa-
tion Challenge Workshop: Shortest Paths, DIMACS Center, Pis-
cataway, NJ, 13–14 Nov 2006
6. Delling, D., Sanders, P., Schultes, D., Wagner, D.: Highway hier-
archies star. In: 9th DIMACS Implementation Challenge Work-
shop: Shortest Paths, DIMACS Center, Piscataway, NJ, 13–14
Nov 2006
7. Dijkstra, E.: A note on two problems in connexion with graphs.
Numerische Mathematik 1, 269–271 (1959)
8. Edmonds, N., Breuer, A., Gregor, D., Lumsdaine, A.: Single-
source shortest paths with the parallel boost graph library.
In: 9th DIMACS Implementation Challenge Workshop: Shortest
Paths, DIMACS Center, Piscataway, NJ, 13–14 Nov 2006
9. Goldberg, A., Kaplan, H., Werneck, R.: Better landmarks within
reach. In: 9th DIMACS Implementation Challenge Workshop:
Shortest Paths. DIMACS Center, Piscataway, NJ, 13–14 Nov
2006
10. Köhler, E., Möhring, R., Schilling, H.: Fast point-to-point shortest
path computations with arc-flags. In: 9th DIMACS Implementa-
tion Challenge Workshop: Shortest Paths, DIMACS Center, Pis-
cataway, NJ, 13–14 Nov 2006
11. Lauther, U.: An experimental evaluation of point-to-point
shortest path calculation on roadnetworks with precalculated
edge-flags. In: 9th DIMACS Implementation Challenge Work-
shop: Shortest Paths, DIMACS Center, Piscataway, NJ, 13–14
Nov 2006
12. Madduri, K., Bader, D., Berry, J., Crobak, J.: Parallel shortest path
algorithms for solving large-scale instances. In: 9th DIMACS
Implementation Challenge Workshop: Shortest Paths, DIMACS
Center, Piscataway, NJ, 13–14 Nov 2006
13. Pascoal, M.: Implementations and empirical comparison of k
shortest loopless path algorithms. In: 9th DIMACS Implemen-
tation Challenge Workshop: Shortest Paths, DIMACS Center,
Piscataway, NJ, 13–14 Nov 2006
14. Sanders, P., Schultes, D.: Robust, almost constant time
shortest-path queries in road networks. In: 9th DIMACS Imple-
mentation Challenge Workshop: Shortest Paths, DIMACS Cen-
ter, Piscataway, NJ, 13–14 Nov 2006
15. Santos, J.: K shortest path algorithms. In: 9th DIMACS Imple-
mentation Challenge Workshop: Shortest Paths, DIMACS Cen-
ter, Piscataway, NJ, 13–14 Nov 2006
Implementation Challenge
for TSP Heuristics
2002; Johnson, McGeoch
LYLE A. MCGEOCH
Department of Mathematics and Computer Science,
AmherstCollege,Amherst,MA,USA
Keywords and Synonyms
Lin-Kernighan; Two-opt; Three-opt; Held-Karp; TSPLIB;
Concorde