Skip to content

bucket-graph-spprc: an extensible C++ library for the shortest path problem with resource constraints

Jun 2026 · arXiv.org · Vol abs/2606.30847 · 2 citations · 19 references
Mathematics Computer Science

TL;DR

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.

Abstract

We present $\texttt{bucket-graph-spprc}$ ($\texttt{bgspprc}$ 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, $\texttt{bgspprc}$ outperforms PathWyse (Salani, Basso and Giuffrida, 2024), the main open-source comparator, by $1.3\times$--$2.35\times$ in shifted geometric mean (and by $1.3\times$--$2.3\times$ even when itself run single-threaded), and runs within $1.9\times$--$2.4\times$ 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.

View source

Similar papers

Jul 2026

AlphaRoute: Large Language Models as Semantic Optimizers for Multi-Objective Routing

Very Large Scale Integration (VLSI) global routing is an NP-hard combinatorial optimization problem requiring signal net assignment across capacity-constrained 3D grids while minimizing congestion, wirelength, and via transitions. Because traditional heuristics rely on static penalty schedules that fail on complex cong...

Kabir Murjani, Mishri Bhavsar, Manish I. Patel et al. · 0 citations
Conference Jul 2026

Near-Optimal Graph-Based Routing for Manual Picker-to-Parts Warehouses: A Case Study of an Apulian Distribution Center

Order picking is one of the most costly activities in manual picker-to-parts warehouses, and routing quality has a direct impact on travel effort and operational efficiency. However, commercial warehouse management systems (WMSs) still often rely on simple rule-based policies because exact optimization is difficult to...

Federico Signorile, Raffaele Carli, M. Gorgoglione et al. · 0 citations
Preprint Aug 2026

DGA$_2$D: Directed Graph-Guided Automated Algorithm Design with Large Language Models

A Directed Graph-Guided Automated Algorithm Design framework, termed DGA$_2$D, which structures the open-ended program space as a directed graph, where each node represents a functional operator that can be instantiated using one of multiple candidate code implementations, while directed walks constitute complete algor...

Jiale Zhao, Zi-Mu Chen, Sirui Mao et al. · 1 citation
Preprint Aug 2026

Instance-Optimality of Bidirectional Dijkstra on Simple Graphs

It is shown that bidirectional Dijkstra is still instance-optimal on simple undirected weighted graphs under the order-oblivious model, where incident edges are given in a random order, and under the order-dependent model, where bidirectional Dijkstra is not instance-optimal.

Christian Bertram, Mads Vestergaard Jensen, Mikkel Thorup et al. · 1 citation
Preprint Jul 2026

A Parallel Evolutionary Algorithm Framework for Graph $k$-CUT Problems

A unified Parallel Evolutionary Algorithm Framework (PEAF) is proposed, which combines structure-inheriting crossover operators, a hierarchical mutation mechanism based on the Multiple Mutation Heuristic and the Auxiliary Cut Mutation Heuristic, and a diversity-preserving selection strategy.

Sihong Shao, Chuan Yang · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.