Abstract: Routing problems, such as the Traveling Salesman Problem (TSP) and Vehicle Routing Problem (VRP), are fundamental to global logistics but remain computationally challenging due to their NP-hard nature. While traditional Operations Research (OR) has long relied on exact algorithms and hand-crafted heuristics, the recent explosion of Machine Learning (ML) techniques offers a new paradigm. This paper provides a comprehensive taxonomy and review of 253 recent articles, bridging the gap between classical OR and modern deep learning. We categorize current approaches, highlight the shift toward more realistic data distributions, and identify key future directions for production-ready routing solutions.
Introduction
Routing problems are the backbone of global logistics, yet they are notoriously difficult to solve optimally at scale. Traditional OR approaches typically fall into two categories: exact algorithms, which guarantee optimality but suffer from exponential time complexity, and heuristics, which are fast but often require intensive manual design and may yield suboptimal results.
The burgeoning field of "Learning for Routing" seeks to automate and improve these processes using Neural Networks. However, the field has become fragmented, lacking a unified framework to categorize the hundreds of recent papers. Furthermore, a significant gap exists between models trained on synthetic, uniform data and the clustered, "messy" nature of real-world delivery zones. This review addresses these challenges by providing a structured roadmap of the current landscape, covering significantly more material than previous surveys.
A New Taxonomy for ML-based Routing
The core contribution of this work is a taxonomy that divides ML-integrated routing into three primary categories: Construction-based, Improvement-based, and Exact-algorithm-based methods.
1. Construction-based Approaches
These methods build a solution from scratch. They are further divided into:
- Incremental: Models (often RNNs or Transformers) select the next node sequentially.
- One-shot: Models (typically GNNs) predict a "heatmap" of edge probabilities, which is then used by search algorithms like Beam Search to find the final route.
2. Improvement-based Approaches
These start with an initial solution and iteratively refine it:
- Heuristic-based: ML is used to select the most effective "moves" (e.g., 2-opt or 3-opt edge swaps).
- Subproblem-based: ML decomposes massive problems into smaller, manageable chunks, allowing for the solution of instances with up to 100,000 cities.
3. Exact-algorithm-based Methods
Here, ML serves as a "helper" within traditional solvers, such as using a Graph Neural Network (GNN) to guide branching decisions in a Branch-and-Price algorithm.
Additionally, the paper notes the rise of Large Language Models (LLMs) acting as hyper-heuristics, generating optimization code or suggesting routes for small-scale instances.
Data and Benchmarking
Most existing research relies on synthetic data where nodes are uniformly distributed in a unit square $[0,1]^2$. To bridge the gap to reality, the authors introduce a publicly available data generator. This tool uses mutation operators—such as explosion, cluster, and grid patterns—to create non-uniform node distributions, allowing researchers to test model robustness against more realistic scenarios found in urban logistics.
Key Insights and Performance
The review identifies several critical trends that define the current state-of-the-art:
- The Hybrid Advantage: The most effective models combine ML's "intuition" (identifying promising edges) with classical search algorithms' ability to ensure feasibility. Pure ML models often struggle with the hard constraints of routing.
- Sparsification: To handle thousands of nodes, models must prune unlikely edges early to avoid $N^2$ complexity, significantly boosting scalability.
- Generalization: A major hurdle remains the "distribution shift," where models trained on small instances (e.g., 50 nodes) fail to generalize to larger ones (e.g., 100+ nodes).
Performance highlights include modern incremental models reaching a 0.14% optimality gap for TSP100 in just one minute—significantly faster than exact solvers like Concorde. In some CVRP tests, ML-based improvement methods even outperformed the industry-standard LKH3 heuristic.
Future Directions
The field must now move toward addressing real-world constraints like traffic, weather, and driver behavior. There is also an urgent need for sustainable routing models, such as Electric Vehicle Routing (EVRP), which requires complex modeling of battery discharge and charging stops. Finally, moving toward "White-box" ML will be essential for safety-critical applications, providing the interpretability needed for human-in-the-loop systems in the logistics industry.
Summary updated