← Latest papers
💻 computer science

A Statistically Rigorous, Held–Karp- and LKH-Validated Empirical Evaluation of a Classical 2-opt + Or-opt Local Search Pipeline for the Euclidean Traveling Salesman Problem

This paper provides a statistically rigorous, Held–Karp and LKH-validated empirical evaluation of a classical nearest-neighbor, 2-opt, and Or-opt pipeline for the Euclidean TSP, demonstrating its significant improvement over 2-opt alone and its consistent proximity to certified optimality bounds across synthetic and real-world instances.

Original authors: Mohamad Fatahi, Hamzeh Barati²

Published 2026-10-27
📖 4 min read☕ Coffee break read

Original authors: Mohamad Fatahi, Hamzeh Barati²

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Finding the shortest possible route that visits a set of locations exactly once and returns to the start is a problem that has puzzled mathematicians and logisticians for decades. Known as the Traveling Salesman Problem, it is not merely an abstract puzzle; it underpins real-world challenges like delivering packages, drilling holes in circuit boards, and sequencing DNA. Because the number of possible routes grows explosively as more cities are added, finding the single perfect path is often impossible to calculate in a reasonable time. Instead, experts rely on "local search" methods. These are practical strategies that start with a rough route and make small, incremental improvements, swapping connections or moving segments of the path to see if the total distance shrinks. While these methods are standard tools, they are often treated as black boxes: we know they work, but we rarely measure exactly how close they get to the theoretical best, or how much better one method is than another, with strict statistical proof.

A recent study by Mohamad Fatahi and Hamzeh Barati brings this level of precision to a classic combination of these local search techniques. The researchers did not invent a new way to solve the problem. Instead, they took a well-known pipeline—starting with a simple "nearest neighbor" approach to build a first draft, then refining it with two specific improvement steps called "2-opt" and "Or-opt"—and subjected it to a rigorous, statistical audit. Their goal was to measure exactly how much better the combined method performed compared to using just the first improvement step, and to determine how close the final routes came to the absolute mathematical limit of perfection. To do this, they generated thousands of random city maps and also tested the method on four famous, real-world city maps where the perfect answer is already known.

The researchers ran their experiments on city sets ranging from 50 to 500 locations. For each size, they ran the process thirty times to ensure the results were not just luck. They compared a standard method, which only uses the first improvement step, against their hybrid pipeline that adds the second step. The results were clear and consistent: the hybrid pipeline, which adds the extra layer of refinement, produced shorter routes in every single case. On average, this extra step improved the route length by between 2.09% and 3.48% depending on the size of the problem. The statistical analysis confirmed that these improvements were not random fluctuations; the difference was significant enough to be considered a genuine gain. Furthermore, the researchers calculated a "lower bound," a mathematical floor that represents the shortest possible distance any route could theoretically achieve for that specific map. They found that their hybrid method produced routes that were only about 4.9% to 5.6% longer than this theoretical floor for the smaller maps, a gap that aligns with what experts have long expected from these types of algorithms.

To ensure their findings held up in the real world, the team tested their method on four specific, historical maps of cities like Berlin and others with known optimal solutions. In these tests, they cross-referenced their results with a highly sophisticated solver known as LKH, which is widely considered the gold standard for finding near-perfect routes. The LKH solver successfully found the exact known best routes for all four maps. The hybrid pipeline used by the researchers did not match that perfection, but it came remarkably close, with final routes ranging from 0.94% to 5.78% longer than the known best. This confirmed that the improvements seen in the random, synthetic maps translated directly to real-world scenarios. The study also tested a more complex idea: using mathematical data from the theoretical lower bound to guide the order in which the improvements were made. This attempt failed to produce any better results, a finding the authors reported transparently to save other researchers from wasting time on the same dead end.

The significance of this work lies not in a new algorithm, but in the clarity of its measurement. By combining a self-calculated mathematical floor with a gold-standard solver and rigorous statistical testing, the authors provided a definitive picture of what a classical, non-learning method can achieve. They showed that while these older techniques are not perfect, they are remarkably robust, consistently staying within a narrow margin of the best possible answer. The study serves as a solid, verified baseline, proving that even without the complexity of modern machine learning, classical methods remain powerful, predictable, and highly effective tools for solving some of the world's most complex routing challenges.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →