Manuscript Offprint

arXiv:2610.41120

Quantum Vehicle Routing Problem: a smart initialization strategy for ill-conditioned optimization landscapes

Emanuele Casciaro, Mario De Simone, Stefano Martina, Fabio Mascherpa, Alfonso Amendola, Filippo Caruso

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

Abstract

With the expansion of complex transport infrastructure, new paths for linking different destinations have emerged, allowing the definition of multiple routes. The introduction of new roads may also lead to disruptions in traffic flow. This problem can be generalized into a special case of VRP, which aims to find the optimal route for a fleet of vehicles within a network of destinations. Finding solutions to this problem requires an exponential number of operations, hindering the ability of exact solvers to deal with large instances, which must therefore be tackled using heuristics, often leading to suboptimal results. Quantum-based algorithms may allow us to find exact solutions in polynomial time with high probability, offering a potential future alternative to classical solvers and in this work, we focus on the QAOA. Our novel contributions are a parameter-initialization strategy that improves the convergence probability and the integration of the subtour constraints directly into the optimization without using additional qubits by employing an approximation of exponential equality constraints. We believe that our results pave the way for effectively solving instances of VRP using quantum-based solutions, leveraging the space-efficient problem encoding and our initialization strategy, which limits the effect of barren-plateau under random parameter initialization.

Keywords: Combinatorial Optimization; Quantum Computing; Variational Quantum Algorithm; Vehicle Routing Problem; Quantum Approximate Optimization Algorithm; Quantum Optimization

1 Introduction

The resolution of high-complexity combinatorial problems still represents an open branch of mathematics and computing, with continual research for better solving algorithms capable of producing higher quality solutions in less time and ideally providing mathematically-provable exact solutions to the problems of interest. With combinatorial optimization, it is possible to solve a wide range of problems, highlighting its relevance in the field of logistics, where it can be used to find the optimal way of handling available resources (Boria and Paschos 2011), to optimize industrial processes (Crama

1997), and to improve healthcare systems (Abdalkareem et al. 2021), aiding in the definition of optimal schedules aimed at minimizing management costs. Another relevant field of application is the management of vehicle traffic routes, i.e., a topic that has become more relevant with the spread of commercial vehicles, making traffic routing a crucial component of daily life with a significant impact on delivery systems and traffic management. As cities expand and new routes are created with the goal of improving traffic flow, the resulting road network can become less efficient without proper traffic routing (Braess et al. 2005). The efficient routing of vehicles is also important to effectively reduce the cost of deliveries by grouping one or more expeditions whenever possible. This task results in a more effective use of available time and fuel, with subsequent economic and logistical advantages. This traffic routing problem is globally recognized by the name VRP and is a well-known instance of NP-Hard (Karp 1972) optimization.

The VRP can be further extended to model more complex scenario, by adding additional constraints, including (but not limited to): Capacitated Vehicle Routing Problem (CVRP) where the maximum volume / weight that each vehicle can carry is limited and customers request specific amounts of capacity, Vehicle Routing Problem with Time Window (VRPTW) where each customer requests that a vehicle perform the delivery within a desired time frame, Multi-Depot Vehicle Routing Problem (MDVRP) where each vehicle is assigned to one of the multiple depots available within the network, or combinations of them such as Capacitated Vehicle Routing Problem with Time Window (CVRPTW). However, it is beyond the scope of this article to analyze these variations in detail, and we refer the reader to Kumar and Panneerselvam (2012) to delve further into the subject. This family of problems is well known to be NP-hard (Arora and Barak 2009; Karp 1972), which poses a challenge to current solving techniques as they require an exponential number of operations to solve them.

In the current state of the art, the VRP can be solved using either exact or approximate methods. The former are generally based on branch-and-bound algorithms (Laporte and Nobert 1983; Carpaneto et al. 1989) that generate new solutions until a global optimum is found. These solvers are often part of general-purpose optimization suites, such as Gurobi or IBM CPLEX. They offer flexible frameworks to solve instances exactly, at the cost of limiting the instance size. Alternatively, approximate methods rely on evolutionary algorithms and heuristics (Liu et al. 2023) with the goal of generating solutions that are close to the true optimum. A plethora of solvers exists to deal with different variations of the problem, using ad hoc implementations designed to find solutions to particular VRP subproblems in a short amount of time. These architectures, despite requiring approximations, enable solving larger problems and are the standard approach in commercial settings.

With the advent of Quantum Computing (QC) (Preskill 2018; Cerezo et al. 2021), new approaches to solve combinatorial problems have emerged. In particular, quantum computers are naturally suited to solve Quadratic Unconstrained Binary Optimization (QUBO) problems (Kim et al. 2025), either via Quantum Annealing (QA) (Rajak et al. 2023) (used in analog QC) or through its digital counterpart QAOA (Farhi et al. 2014), which is the focus of this article. The computational power of quantum devices is captured by the complexity class Bounded-Error Quantum Polynomial (BQP) (Bernstein and Vazirani 1997). Although NP-hard problems are not believed to be efficiently solvable even by quantum computers, quantum heuristics such as QA and QAOA explore the solution space through fundamentally different mechanisms, namely superposition, entanglement and interference. This may yield practical speed-ups or higher-quality solutions on specific problem classes. To exploit this potential, a problem must first be expressed as an Ising Hamiltonian: both QA and QAOA rely on the one-to-one correspondence between a QUBO formulation of the problem and a Hamiltonian whose ground state encodes the optimal solution. The quantum device is then used to prepare states with a large overlap with this ground state. The bottleneck of this approach lies in the conversion of a generic combinatorial problem into the QUBO formalism. This step, despite being always possible, may require—in case of inequality constraints—additional variables and generally require the introduction in the model of hyper-parameters that cannot be directly optimized. This overhead in the problem, given the inherit nature of combinatorial problem, grows quickly in the size of the problem, resulting in a QUBO formulation with an exponential number of terms. Beyond the formulation, the training of QAOA is itself challenging. The classical optimization of the variational parameters is hindered by local minima and barren plateaus (McClean et al. 2018), i.e., regions where the gradient vanishes exponentially with system size. Several strategies have been proposed to mitigate this, including layer-wise interpolation of parameters (Zhou et al. 2020), warm-starting from classical relaxations (Egger et al. 2021), and parameter transfer between instances. Many of these, however, depend on problem-specific information or on solving auxiliary problems.

The VRP has already been explored in the context of quantum-assisted optimization. The literature on this problem, and more generally quantum combinatorial optimization, can be grouped into two categories: QA solvers (Morita and Nishimori 2008) and QAOA solvers (Farhi et al. 2014). Even though both share the exact problem formulation requirements, the former is suitable for analog quantum computing platforms, like the DWave quantum annealers, which apply a continuous evolution to the system. The latter, instead, uses the circuit-based computational model to carry out the optimization and is more suitable for digital quantum devices such as IBM machines. The QA based approach can rely on a broader qubit count, allowing the resolution of larger problems. However, the execution time must be long enough to respect the adiabatic theorem. The large registry size of the DWave 2000 device allowed Irie et al. (2019) to solve CVRPTW up to 7 nodes, achieving 80% of generated valid solutions. Another independent work solved CVRPTW using a different encoding of the problem, managing to tackle configurations up to 12 nodes. The larger qubit count has also been combined with classical techniques; for instance, Borowski et al. (2020) decompose the CVRP through clustering algorithms into several instances of the Traveling Salesman Problem (Laporte 1992), solved independently using DWave Leap, achieving an optimality gap (Nemhauser and Wolsey 1988) of 25.13% over a problem instance with 101 nodes and 8 vehicles.

A similar approach is used by Feld et al. (2019), in which the CVRP instance is decomposed into two distinct optimization problems. The first problem, solved classically, is related to the clustering of the graph and is associated with an instance of the Knapsack Problem (Bernhard and Jens 2008); after this step, a quantum annealer is used to generate the routes on the clustered graph.

The problem has also been approached with QAOA solutions, with promising early results. In Azfar et al. (2026), the VRP for 3 nodes is successfully solved using IBM Quantum System One, showing that the optimization can be performed even with Noise Intermediate Scale Quantum (NISQ) devices. With QAOA, it is also possible to solve constrained problems; a good example is given by Xie et al. (2024), in which the authors use an additional ancilla register together with a mixer that preserves feasibility for solving CVRP with 5 nodes. A different approach is adopted by Huang et al. (2025), which, inspired by classical exact solvers, employs QAOA alongside the column generation technique, solving CVRP up to 7 nodes.

In this work, we further explore the application of QAOA to the VRP, contributing mainly in the following aspects. First, we propose an initialization strategy for QAOA, aimed at mitigating optimization in ill-conditioned landscapes often present in quantum optimization routines. Then, building on Montañez-Barrera et al. (2024), we introduce an unbalanced penalization term to remove the exponential parameter overhead that is usually required to define the VRP in the QUBO formalism. To the best of our knowledge, both the proposed initialization strategy and the definition of the subtour QUBO term represent a novelty in the context of QAOA and VRP resolution methods. The remainder of the article is organized as follows: Section 2 provides a comprehensive introduction to VRP and its formalization as a QUBO problem and the implementation using QAOA. In Section 3.1 we introduce our proposed novel initialization strategy for QAOA. In Section 3.2, we propose an encoding capable of including the subtour constraint, obtaining a correct solution with high probability; to the best of our knowledge, no other end-to-end QAOA routine in the literature manages to integrate and solve the full VRP problem for a generic instance without an overhead in circuit size. A summary of the results is reported and discussed in Section 4.

References (49)