QUBO Formulation of the Pickup and Delivery Problem with Time Windows for Quantum Annealing
Source abstract
Abstract
This paper addresses the Pickup and Delivery Problem with Time Windows (PDPTW), an NP-hard combinatorial optimization problem with major practical relevance in logistics and transportation. The study focuses on a quadratic unconstrained binary optimization (QUBO) formulation for quantum annealing and benchmarks it against two classical optimization paradigms. A modular Python framework is developed that encodes PDPTW in three ways: a mixed-integer linear programming (MILP) model that serves as an exact reference, a genetic algorithm (GA) metaheuristic, and a QUBO model that is compatible with quantum annealers. The framework supports test scenarios with increasing structural complexity, with both feasible and intentionally infeasible instances. An additional contribution is the conceptual design and preliminary analysis of an automatic-penalty weight-tuning scheme for the QUBO model. Experimental results show that the proposed QUBO formulation can produce high-quality solutions for simpler PDPTW instances, but its performance strongly depends on the careful calibration of penalty weights. MILP provides optimal baselines on small instances but becomes intractable as problem size grows. The GA scales to the largest scenario and finds feasible solutions of reasonable quality, but they are not necessarily optimal. The evaluation also includes a large number of problem instances and runs on IBM Quantum hardware using the Quantum Approximate Optimization Algorithm (QAOA).
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Vehicle Routing Optimization Methods · Optimization and Packing Problems · Metaheuristic Optimization Algorithms Research
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computers, “Gheorghe Asachi” Technical University of Iași, Bd. Mangeron 27, 700050 Iași, Romania
References (49)
Show source-provided references
1. Toth, P., and Vigo, D. (2002). The Vehicle Routing Problem, Society for Industrial and Applied Mathematics.10.1137/1.9780898718515 ↗
2. The General Pickup and Delivery Problem10.1287/trsc.29.1.17 ↗
3. A survey on pickup and delivery problems: Part II: Transportation between pickup and delivery locations10.1007/s11301-008-0036-4 ↗
4. Dynamic pickup and delivery problems10.1016/j.ejor.2009.04.024 ↗
5. Recent exact algorithms for solving the vehicle routing problem under capacity and time window constraints10.1016/j.ejor.2011.07.037 ↗
6. A MILP model for the vehicle routing problem with simultaneous delivery and pickup by heterogeneous vehicles, and constrained by time windows10.1007/s12046-018-1048-y ↗
7. The exploration/exploitation tradeoff in dynamic cellular genetic algorithms10.1109/TEVC.2005.843751 ↗
8. A survey of genetic algorithms for solving multi depot vehicle routing problem10.1016/j.asoc.2014.11.005 ↗
9. Quantum bridge analytics I: A tutorial on formulating and using QUBO models10.1007/s10479-022-04634-2 ↗
10. The unconstrained binary quadratic programming problem: A survey10.1007/s10878-014-9734-0 ↗
11. Qiskit Development Team (2025, December 01). Qiskit: An Open-Source Framework for Quantum Computing. Available online: https://qiskit.org/.
12. Quantum annealing of vehicle routing problem with time, state and capacity10.1007/978-3-030-14082-3_13 ↗
13. The Pickup and Delivery Problem with Time Windows and Incompatibility Constraints in Cold Chain Transportation10.1287/trsc.2022.1167 ↗
14. Pickup and delivery problem with hard time windows considering stochastic and time-dependent travel times10.1016/j.ejtl.2022.100099 ↗
15. Robust optimization for the electric vehicle pickup and delivery problem with time windows and uncertain demands10.1016/j.cor.2022.106119 ↗
16. A unified exact approach for a broad class of vehicle routing problems with simultaneous pickup and delivery10.1016/j.cor.2023.106467 ↗
17. Abreu, A., Battarra, M., Costa, L., and Munari, P. (2025). The robust pickup and delivery problem with time windows. Eur. J. Oper. Res., Available online: https://optimization-online.org/wp-content/uploads/2025/01/preprint_the_robust_pdptw.pdf.
18. Louati, A., Lahyani, R., Aldaej, A., Mellouli, R., and Nusir, M. (2021). Mixed Integer Linear Programming Models to Solve a Real-Life Vehicle Routing Problem with Pickup and Delivery. Appl. Sci., 11.10.3390/app11209551 ↗
19. Rüther, C., and Rieck, J. (2024). A Bayesian Optimization Approach for Tuning a Grouping Genetic Algorithm for Solving Practically Oriented Pickup and Delivery Problems. Logistics, 8.10.3390/logistics8010014 ↗
20. Metaheuristic, models and software for the heterogeneous fleet pickup and delivery problem with split loads10.1016/j.jocs.2021.101549 ↗
21. A Hyper-Heuristic for the Green Vehicle Routing Problem with Simultaneous Pickup and Delivery10.1016/j.cie.2020.107010 ↗
22. Weerakkody, D., Niwunhella, H., and Wijayanayake, A. (2021, January 16). Solution approach to incompatibility of products in a multi-product and heterogeneous vehicle routing problem: An application in the 3PL industry. Proceedings of the 2021 International Research Conference on Smart Computing and Systems Engineering (SCSE), Colombo, Sri Lanka.10.1109/SCSE53661.2021.9568362 ↗
23. A memetic algorithm for a real-world dynamic pickup and delivery problem10.1007/s12293-024-00407-5 ↗
24. Multiple plan approach for a dynamic dial-a-ride problem10.1007/s00291-025-00809-y ↗
25. Solving the equity-aware dial-a-ride problem using an exact branch-cut-and-price algorithm10.1016/j.trb.2024.103149 ↗
26. Crowdshipping by employees of distribution centers: Optimization approaches for matching supply and demand
27. The online vehicle routing problem with occasional drivers10.1016/j.cor.2020.105144 ↗
28. Green pickup and delivery problem with private drivers for crowd-shipping distribution considering traffic congestion
29. Largo, S., Souissi, O., and El Akkaoui, Z. (2020, January 24–27). Green Vehicle Routing Problem: A Short Survey. Proceedings of the 2020 IEEE International Conference on Technology Management, Operations and Decisions (ICTMOD), Marrakech, Morocco.10.1109/ICTMOD49425.2020.9380590 ↗
30. Modeling routing problems in QUBO with application to ride-hailing (Ride Pooling Problem)10.1038/s41598-024-70649-3 ↗
31. Solving a real-world package delivery routing problem using quantum annealers (Q4RPD)10.1038/s41598-024-75572-1 ↗
32. Applying quantum approximate optimization to the heterogeneous vehicle routing problem10.1038/s41598-024-76967-w ↗
33. An Optimization Web Service for a Freight Brokering System10.1287/serv.2017.0191 ↗
34. Leon, F., and Cascaval, P. (2019, January 9–11). 01IP and QUBO: Optimization Methods for Redundancy Allocation in Complex Systems. Proceedings of the 2019 23rd International Conference on System Theory, Control and Computing (ICSTCC 2019), Sinaia, Romania.10.1109/ICSTCC.2019.8885826 ↗
35. Expressing Multiagent Coalition Structure Problems for Optimisation by Quantum Annealing10.1080/17517575.2018.1552993 ↗
36. Quantum annealing-based route optimization for commercial AGV operating systems in large-scale logistics warehouses10.1038/s41598-025-28481-w ↗
37. Supply chain logistics with quantum and classical annealing algorithms10.1038/s41598-023-31765-8 ↗
38. Travel time optimization on multi-AGV routing by reverse annealing10.1038/s41598-022-22704-0 ↗
39. Hybrid quantum-classical computation for automatic guided vehicles scheduling10.1038/s41598-024-72101-y ↗
40. Nemhauser, G.L., and Wolsey, L.A. (1988). Integer and Combinatorial Optimization, John Wiley & Sons, Ltd.10.1002/9781118627372 ↗
41. Bertsimas, D., and Tsitsiklis, J.N. (1998). Introduction to Linear Optimization, Athena Scientific.
42. Pochet, Y., and Wolsey, L.A. (2006). Production Planning by Mixed Integer Programming, Springer.
43. Lucas, A. (2014). Ising formulations of many NP problems. Front. Phys., 2.10.3389/fphy.2014.00005 ↗
44. Verma, A., and Lewis, M. (2021). Variable Reduction For Quadratic Unconstrained Binary Optimization. arXiv.10.1016/j.rico.2022.100125 ↗
45. On some features of quadratic unconstrained binary optimization with random coefficients
46. Holland, J.H. (1992). Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence, The MIT Press.10.7551/mitpress/1090.001.0001 ↗
47. Goldberg, D.E. (1989). Genetic Algorithms in Search, Optimization and Machine Learning, Addison–Wesley.
48. Akiba, T., Sano, S., Yanase, T., Ohta, T., and Koyama, M. (2019). Optuna: A Next-generation Hyperparameter Optimization Framework. KDD’19: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, ACM.10.1145/3292500.3330701 ↗
49. A Metaheuristic for the Pickup and Delivery Problem with Time Windows10.1142/S0218213003001186 ↗