arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.04593

GNN-Guided Graph Coarsening and Adaptive QUBO Penalties for the Capacitated Vehicle Routing Problem with Time Windows on a Quantum Annealer

Youssef Kamel Rezk, Paweł Gora

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Graph coarsening reduces the large Quadratic Unconstrained Binary Optimization (QUBO) formulations that arise when vehicle-routing problems are solved by quantum annealing. Nearly customers with compatible time windows are merged into super-nodes; the reduced problem is solved and its solution is then expanded to the original graph. For the Capacitated Vehicle Routing Problem with Time Windows (CVRPTW), however, existing coarsening heuristics require separate tuning for each instance family and remain unreliable on random instances. We address these limitations on the Solomon benchmark using simulated annealing and a D-Wave Advantage2 processor. First, we introduce adaptive penalty calibration. Uniformly scaling the QUBO penalties has little effect, whereas controlling the internal coefficient range, which is dominated by capacity log-slack terms that do not bind on most small instances, substantially improves the raw samples. Removing non-binding constraints, normalising those that bind, and scaling the remaining penalties reduces the mean number of raw constraint violations from 33.0 to 0.06 at the same solver budget (paired Wilcoxon test across independent instances, p=3.7×10−11p=3.7 \times 10^{-11}, n=56n=56). A variable-count-preserving control attributes the improvement to conditioning rather than problem size. Second, we replace the hand-tuned merge score with a graph neural network (GNN) that uses one configuration across all families. At N=10N=10, this policy attains 100% feasibility on every Solomon family, including the R-type family (100% versus 80% for the tuned heuristic). Across N∈{10,…,100}N \in \{10, \dots, 100\}, its coarsened solutions are feasible more often than those of the family-tuned heuristic (83% versus 69%; better or tied on 85/90 instance-size pairs). The difference grows with NN and is significant at N=80,100N=80, 100 (p=0.002p=0.002; better or tied on 25/25 pairs), while the QUBO remains approximately 5−6×5-6\times smaller. Finally, the hardware experiment reproduces the conditioning effect at a fixed logical variable count: the poorly conditioned formulation yields 0.02% feasible samples on average across 13 instances, compared with 39% for its conditioned counterpart. These contributions concern QUBO conditioning, feasibility, and tractability. For end-to-end solution cost, a classical repair with local search remains a reference bound that the pipeline matches but does not surpass.

1 Introduction

The Vehicle Routing Problem (VRP) and its time-windowed variant (CVRPTW) are widely studied combinatorial-optimization problems with direct applications in transportation and logistics. Quantum annealers and their classical simulators minimise QUBO energy functions, motivating several QUBO formulations of routing problems [6, 18, 19]. Their principal limitation is size: a direct VRP encoding grows rapidly and only small instances fit on current hardware. Graph coarsening reduces this burden by repeatedly merging compatible customers into super-nodes, solving the reduced problem, and expanding the solution to the original graph [18, 19].

The method of Özyilmaz [19] extends coarsening to time windows through a spatio-temporal merge metric. Its performance depends on the instance family: clustered (C) instances remain feasible, whereas random (R) instances deteriorate unless the coarsening hyperparameters are returned for each family. Our work targets this dependence on family-specific tuning.

We make four contributions, evaluated on the Solomon benchmark with a simulated-annealing backend and on a D-Wave Advantage2 processor:

  1. Adaptive penalty calibration (Section 5.2). We show that uniformly scaling all QUBO penalties leaves the sampler nearly unchanged, and identify the QUBO's internal dynamic range as the effective lever. Dropping non-binding capacity constraints, normalising those that bind, and scaling the rest cuts raw constraint violations from 33.0 to 0.06 at equal budget, and an ablation attributes the gain to the capacity handling rather than the scaling.

  2. GNN-guided, tuning-free coarsening (Section 5.3). A GraphSAGE-based merge scorer replaces the hand-tuned heuristic and uses a single fixed configuration across all families, recovering 100% R-type feasibility at N=10N=10 without per-family tuning.

  3. Feasibility-preserving coarsening at scale (Sections 5.4–5.5). The learned coarsener keeps more coarsened solutions feasible than the per-family-tuned heuristic across N=10–100N=10–100, with the advantage growing as the heuristic's fixed tuning fails to transfer and significant at the largest sizes (p=0.002p=0.002 at N=80,100N=80,100), while shrinking the QUBO ∼5−6×\sim 5-6\times so it stays solvable at N=100N=100.

  4. Validation on quantum hardware (Section 6). An offline embedding study fixes the accessible regime at N≈10–20N \approx 10–20, and on a D-Wave Advantage2 processor the variable-count-preserving control separates 0.02% from 39% pre-repair feasibility, showing the conditioning mechanism survives finite coupler precision.

These contributions are subject to three qualifications. A strong classical repair step determines most of the post-repair feasibility; the pipeline does not improve upon the OR-Tools reference, which is itself a strong metaheuristic rather than a certified optimum; and the hardware experiments characterise the formulation, not the comparative performance of the processor. The contribution lies in QUBO formulation and preprocessing, and is therefore applicable to other annealing backends.

References (17)