: an extensible C++ library for the shortest path problem with resource constraints
Abstract
We present ( for short), an open-source, header-only C++23 library for the shortest path problem with resource constraints (SPPRC), the pricing subproblem at the heart of branch-cut-and-price for vehicle routing and related problems. The library implements the bucket-graph labelling algorithm of Sadykov, Uchoa and Pessoa (2021), with bidirectional labelling, across-arc concatenation, bucket fixing and arc elimination, and a structure-of-arrays label store with SIMD-accelerated dominance. Its central design feature is a compile-time resource concept: a new SPPRC variant is added by implementing a fixed seven-function interface, and resources compose into a label state with no runtime dispatch, the state layout fixed at compile time. Five resources ship built in: time/capacity, ng-path elementarity relaxation, rank-1 cuts, cumulative cost, and pickup-and-delivery. In a reproducible, head-to-head comparison on shared public instances at an identical bound, outperforms PathWyse (Salani, Basso and Giuffrida, 2024), the main open-source comparator, by -- in shifted geometric mean (and by -- even when itself run single-threaded), and runs within -- of parallel pull labelling (Petersen and Spoorendonk, 2025), a different labelling technique for the same problem. The library, benchmark scripts, and pinned instances are publicly available.
Create a lesson
Metadata
- Categories
- math.OC, cs.DS, cs.MS
Related papers
A Column-Generation Approach to Length-Constrained Shortest Paths under Cascading Causal Failures
Shared title terminologymath.OCNicolò Aicardi, Zuyuan Zhang, Sridhar Radhakrishnan et al.
Iterative graph lifting for automatic design of path-complete stability certificates
Shared title terminologymath.OCLéa Ninite, Raphaël M. Jungers
An semidefinite programming-based \varepsilon-constraint method for the bi-objective single-row facility layout problem
Shared title terminologymath.OCChristof Brandstetter, Elisabeth Gaar, Markus Sinnl
Minimum-Time Stochastic Optimal Control Problems Under Mean Constraints and Application to Portfolio Investment
Shared title terminologymath.OCShuzhen Yang
Extended SQP Methods in Nonsmooth Difference Programming Applied to Problems with Variational Inequality Constraints
Shared title terminologymath.OCBoris S. Mordukhovich, Yixia Song, Shangzhi Zeng et al.
An ADMM-Based Approach to the Large-Scale Geomagnetically Induced Current Blocker Placement Problem
Shared title terminologymath.OCMinseok Ryu, Arthur Barnes, Russell Bent et al.