RRNCO: Towards Real-World Routing with Neural Combinatorial Optimization

Jiwoo Son, Zhikai Zhao, Federico Berto, Chuanbo Hua, Zhiguang Cao, Changhyun Kwon, Jinkyoo Park

TL;DR

This paper introduces RRNCO, a novel neural network architecture designed to bridge the "sim-to-real" gap in solving real-world vehicle routing problems (VRPs). By incorporating asymmetric travel times and durations, RRNCO achieves state-of-the-art performance on a new benchmark dataset derived from real-world city data, paving the way for more practical neural optimization solutions.

What Problem Does This Paper Address?

Vehicle Routing Problems (VRPs) are a critical challenge in logistics, aiming to find optimal routes for fleets of vehicles. While Neural Combinatorial Optimization (NCO) has shown promise, existing NCO models for VRPs are trained on simplified, symmetric Euclidean data. This overlooks crucial real-world complexities like asymmetric travel times and durations (e.g., due to one-way streets, traffic, or road conditions), which significantly impact route efficiency. This "sim-to-real" gap limits the practical deployment of NCO in logistics.

Methods

RRNCO introduces two key innovations to tackle real-world routing complexities:

  • Adaptive Node Embedding (ANE): This module fuses spatial coordinates with distance information. It uses a learned contextual gating mechanism and probability-weighted sampling to efficiently capture relevant node relationships without processing the entire distance matrix. This allows it to prioritize nearby nodes while still accounting for asymmetric distances.
  • Neural Adaptive Bias (NAB): This is the first mechanism designed to jointly model asymmetric distance, duration, and directional angles. It uses a gating-based approach to learn a unified contextual bias that guides the routing process, effectively capturing complex, real-world routing constraints.

The overall architecture follows an encoder-decoder framework, where the encoder builds rich node representations using ANE and NAB, and the decoder sequentially constructs the routes.

Datasets

The authors introduce a new, large-scale VRP benchmark dataset derived from real-world data. This dataset comprises:

  • 100 diverse cities worldwide, selected based on urban descriptors like morphology, traffic, and land-use.
  • Detailed topological maps generated using OpenStreetMap (OSRM), providing precise geographical coordinates.
  • Asymmetric distance and duration matrices for all pairs of points within each city, reflecting actual road network conditions.
  • Generated VRP instances with features like demands and time windows, created dynamically on the fly.

This dataset aims to bridge the sim-to-real gap by providing realistic, asymmetric data, unlike traditional benchmarks that rely on simplified Euclidean distances.

Key Insights and Ideas

  • Asymmetry is Key: The paper strongly emphasizes that real-world routing is fundamentally asymmetric, and ignoring this leads to suboptimal solutions.
  • Beyond Euclidean Distances: Moving beyond simplified geometric distances is crucial for practical NCO applications in logistics.
  • Joint Modeling of Multiple Asymmetries: Effectively combining distance, duration, and directional angles provides a more holistic understanding of routing costs.
  • Data-Driven Bias: Learning a "bias" from data (NAB) is more effective than hand-crafted heuristics for adapting to complex routing scenarios.
  • Generalization Matters: The proposed model shows strong performance not only on in-distribution data but also on out-of-distribution (OOD) cases, indicating good generalization capabilities.

Key Results

  • RRNCO achieves state-of-the-art performance on the newly constructed real-world VRP benchmark, outperforming existing NCO methods.
  • The paper demonstrates significant improvements in solution quality (lower cost) and computational efficiency compared to baselines.
  • A granular ablation study shows that jointly modeling distance, duration, and angle (via NAB) is essential for robust generalization, especially in OOD settings.
  • The Multi-Snapshot NAB variant further improves performance on stochastic, time-dependent routing scenarios by anticipating traffic fluctuations.
  • RRNCO maintains 100% feasibility and zero time window violations on challenging benchmarks, showcasing its robustness.

Limitations and Future Work

  • Computational Cost: While RRNCO is efficient, training deep learning models for combinatorial optimization can still be computationally intensive. The paper mentions training for 24 hours on multiple GPUs.
  • Generalization to Unseen Scenarios: While RRNCO shows good OOD performance, further research could explore even more challenging generalization scenarios.
  • Real-time Dynamic Updates: The paper discusses extensions for time-varying traffic, but further work could explore more sophisticated real-time adaptation mechanisms for highly dynamic environments.
  • Integration with Other Modalities: The authors suggest future work could incorporate real-time commercial map API integrations and traffic forecasting.

Summary updated

Abstract

Vehicle Routing Problems (VRPs) are a class of NP-hard problems ubiquitous in several real-world logistics scenarios that pose significant challenges for optimization. Neural Combinatorial Optimization (NCO) has emerged as a promising alternative to classical approaches, as it can learn fast heuristics to solve VRPs. However, existing research works in NCO for VRPs learn from simplified, symmetric Euclidean settings, failing to handle the asymmetric distances and travel durations inherent to real-world road networks. This critical sim-to-real gap severely hinders their practical deployment. To address this fundamental limitation, we introduce RRNCO, a novel NCO architecture with two key innovations for handling real-world routing complexity. First, we propose an Adaptive Node Embedding (ANE) approach that fuses coordinate information with distance features through learned contextual gating. Unlike existing methods relying solely on spatial coordinates or requiring full distance matrix processing, our approach efficiently captures both local geometric structure and global routing constraints through probability-weighted distance sampling that prioritizes nearby nodes while preserving asymmetric relationships. Second, we introduce Neural Adaptive Bias (NAB), the first mechanism to jointly model asymmetric distance and duration matrices within a deep neural routing framework. NAB's gating-based architecture learns to dynamically integrate distance, duration, and directional angles into a unified contextual bias that guides the Adaptation Attention Free Module (AAFM). Together, these innovations enable RRNCO to explicitly capture real-world routing asymmetries where costs from location A to B differ from B to A due to traffic patterns, road directionality, and temporal dynamics. We validate our method on a newly constructed dataset featuring real-world asymmetric distance and duration matrices from 100 diverse cities. Experiments demonstrate that RRNCO achieves state-of-the-art performance among NCO methods on realistic VRPs. We release our dataset and code to advance research in practical neural combinatorial optimization.
BibTeX
@inproceedings{son2026rrnco,
  author = {Jiwoo Son and Zhikai Zhao and Federico Berto and Chuanbo Hua and Zhiguang Cao and Changhyun Kwon and Jinkyoo Park},
  title = {{RRNCO: Towards Real-World Routing with Neural Combinatorial Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=sKvo9ZZfpe},
}
Figure