SVRPBench: A Realistic Benchmark for Stochastic Vehicle Routing Problem

Ahmed Heakl, Yahia Salaheldin Shaaban, Martin Takac, Salem Lahlou, Zangir Iklassov

TL;DR

SVRPBench is a new open-source benchmark for the Stochastic Vehicle Routing Problem (SVRP) that replaces idealized, static assumptions with high-fidelity urban dynamics like time-dependent congestion and random accidents. The study reveals a significant "reality gap": while modern Reinforcement Learning (RL) solvers are lightning-fast, they suffer a >20% performance degradation under realistic uncertainty, whereas classical metaheuristics remain surprisingly robust.

What Problem Does This Paper Address?

In the world of logistics, the shortest path on a map is rarely the fastest path on the road. While the classical Vehicle Routing Problem (VRP) is well-studied, most academic benchmarks rely on static, deterministic travel times and idealized customer distributions. Real-world "last-mile" delivery is chaotic: traffic peaks during rush hour, accidents cause unpredictable delays, and customers have strict, varying time windows.

The authors argue that existing benchmarks fail to capture this complexity, leading to "overly optimistic" performance assessments. This misdirects research toward algorithms that excel in synthetic environments but fail in the messy reality of urban logistics. SVRPBench aims to bridge this gap by providing a standardized, realistic testbed for evaluating how routing algorithms handle genuine uncertainty.

Methods

The authors developed a unified generation pipeline consisting of four stages:

  1. Input Generation: Sampling customer locations using K-Means to simulate urban clusters and assigning demands.
  2. Stochastic Modeling: This is the core innovation. They model travel times as a function of Euclidean distance, a congestion factor (using Gaussian mixtures for peak hours), and stochastic delays (log-normal distributions). They even inject "accident-induced disruptions" using a time-inhomogeneous Poisson process.
  3. Instance Assembly: Integrating multi-depot/multi-vehicle configurations and capacity constraints.
  4. Evaluation: A standardized protocol measuring Total Cost, Constraint Violation Rate (CVR), Feasibility Rate, Runtime, and Robustness.
Figure 1: SVRPBench pipeline. The framework generates realistic SVRP instances through four stages: input generation, stochastic modeling, instance assembly, and evaluation with standardized metrics and solvers.

The benchmark evaluates a diverse set of solvers, including classical heuristics (Nearest Neighbor + 2-opt), metaheuristics (Ant Colony Optimization, Tabu Search), industrial solvers (OR-Tools), and state-of-the-art RL models (Attention Model, POMO).

Datasets

The authors introduced SVRPBench, which includes:

  • 500+ instances ranging from 10 to 1,000 customers.
  • Three tiers of scale: Small (50–100 nodes), Medium (100–300 nodes), and Large (>300 nodes).
  • Geographically grounded layouts: Synthetic instances that mimic the structural patterns of real cities like Michigan (grid), Milan (radial), and Abu Dhabi (dispersed).

The dataset is publicly available on Hugging Face, and the evaluation suite is hosted on GitHub.

Key Insights and Ideas

  • The RL Generalization Gap: RL-based solvers like POMO and AM are incredibly efficient at inference (often running in milliseconds) but struggle with "distributional shift." When faced with the realistic noise of SVRPBench, their performance degrades by over 20% compared to their performance on cleaner, synthetic data.
  • The Robustness of "Old School" Methods: Classical metaheuristics and industrial solvers like OR-Tools proved much more resilient to stochasticity. OR-Tools, in particular, maintained the highest feasibility rates (98.4%) across all scales, though at the cost of significantly higher runtimes.
  • Multi-Depot Synergy: A surprising finding was that multi-depot configurations consistently improved both cost and feasibility across all solver types. This suggests that in stochastic environments, the flexibility of multiple starting points is a critical buffer against uncertainty.
  • Time Window Sensitivity: Introducing realistic time windows (residential vs. commercial) increased total costs by 536–648%. This highlights that temporal constraints are often a much larger bottleneck in real-world logistics than simple distance optimization.

Key Results

  • Overall Performance: OR-Tools achieved the best overall cost (40,259), followed closely by ACO and POMO. However, OR-Tools and NN+2opt were the most reliable, maintaining feasibility in nearly 99% of cases.
  • Efficiency vs. Quality: While RL models were the fastest, their feasibility rates dropped to ~83-86% on large-scale instances, whereas traditional heuristics stayed above 97%.
  • Scalability: As problem size increased, cost scaled approximately 16x from small to large instances. RL models showed moderate degradation in feasibility as they scaled up, indicating they may overfit to smaller training distributions.
This plot shows the trade-off between Total Cost, Runtime, and Feasibility Rate across different solvers.

Limitations and Future Work

The authors acknowledge that their current delay models (Gaussian and log-normal) are efficient but cannot yet capture complex "network-level" dynamics like cascading congestion or real-time rerouting due to sudden road closures.

Future directions include: * Incorporating real-world road network data from OpenStreetMap or GIS. * Moving toward "online" routing where paths are updated dynamically as new traffic data arrives. * Developing "curriculum learning" strategies to help RL models generalize better to high-variance stochastic environments.

Summary updated

Abstract

Robust routing under uncertainty is central to real-world logistics, yet most benchmarks assume static, idealized settings. We present SVRPBench, the first open benchmark to capture high-fidelity stochastic dynamics in vehicle routing at urban scale. Spanning more than 500 instances with up to 1000 customers, it simulates realistic delivery conditions: time-dependent congestion, log-normal delays, probabilistic accidents, and empirically grounded time windows for residential and commercial clients. Our pipeline generates diverse, constraint-rich scenarios, including multi-depot and multi-vehicle setups. Benchmarking reveals that state-of-the-art RL solvers like POMO and AM degrade by over 20% under distributional shift, while classical and metaheuristic methods remain robust. To enable reproducible research, we release the dataset and evaluation suite. SVRPBench challenges the community to design solvers that generalize beyond synthetic assumptions and adapt to real-world uncertainty.
BibTeX
@inproceedings{heakl2025svrpbench,
  author = {Ahmed Heakl and Yahia Salaheldin Shaaban and Martin Takac and Salem Lahlou and Zangir Iklassov},
  title = {{SVRPBench: A Realistic Benchmark for Stochastic Vehicle Routing Problem}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=yADrJyaBJl},
}
Figure