Submitted:
09 November 2025
Posted:
11 November 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- An evaluation of the performance of the QUBO-SA framework for SPSP across synthetic graphs with controlled connectivity properties and a real-world urban transportation network.
- The implementation of a case study in urban areas to make a simulation of the QUBO-SA approach using QUBO optimization.
- The theoretical formulations and empirical evaluations to assess the solution quality, computational efficiency, and scalability characteristics of our approach through probabilistic performance metrics.
2. Related Work
3. Preliminaries
3.1. Quadratic Unconstrained Binary Optimization (QUBO)
3.2. Simulated Annealing for QUBO Models
- 1.
- Initialization: The process begins by generating a random feasible solution , which acts as the starting point for exploration. This initial solution is also designated as the current best-known solution , providing a benchmark for tracking improvements. The initial temperature is established to regulate the probability of accepting uphill moves.
- 2.
- Neighbor generation: A candidate solution is produced by applying a neighborhood operator to . This typically involves flipping the state of one or more components in the binary vector, allowing the algorithm to examine nearby configurations.
- 3.
- Acceptance criterion: The algorithm computes the energy difference . When , the candidate solution is immediately accepted. Otherwise, acceptance occurs with probability . If the solution is accepted and satisfies , then is updated accordingly.
- 4.
- Cooling schedule: Temperature T decreases progressively following a geometric schedule where , which maintains a balance between exploration and exploitation throughout the search. The procedure continues until temperature drops below a minimum threshold or reaches the maximum iteration count , thereby ensuring the algorithm remains computationally feasible.

4. Methods
4.1. Single-Pair Shortest Path Problem (SPSP)
4.2. QUBO Model Formulation
4.3. Algorithm Description


5. Experimental Process and Results
5.1. Experimental Design and Evaluation Metrics
- Synthetic graphs: Undirected weighted graphs were constructed with a target average degree k, from which the corresponding density d is calculated. This parametrization facilitates systematic exploration of sparse (), moderately dense (), and dense () connectivity regimes across multiple node counts (). The complete generation procedure and pseudocode are detailed in Appendix A.
-
Urban Transportation Network.This real-world urban transportation network was derived from the downtown area of Querétaro City, México, a densely populated district with intricate routing demands arising from the coexistence of residential, commercial, and administrative zones. In this graph, nodes represent intersections or decision points, whereas edges denote bidirectional road segments weighted by geodesic distances calculated via the Haversine formula. The resulting network encapsulates realistic spatial constraints, including irregular connectivity patterns and hierarchical road organization characteristic of urban infrastructures.Figure 2 offers a representation of the study area: subfigure 2a positions Querétaro within its broader geographic context through a progressive zoom from national to municipal scale, whereas subfigure 2b illustrates the extracted network topology of the downtown area. In the latter, node coordinates match actual intersection positions obtained from OpenStreetMap data, and the designated source (green) and destination (blue) nodes were chosen to define a routing scenario that traverses multiple urban blocks, thereby encouraging path diversity across the sparse infrastructure.The extracted network contains nodes and edges, yielding an average degree of and a density of . This structural sparsity is typical of urban road systems, where intersections generally connect to only one or two neighboring streets, forming quasi-tree topologies. Such configurations impose a significant topological constraint on path diversity, thereby testing the capacity of the QUBO formulation to preserve connectivity continuity under limited redundancy.The routing scenario established for this network involves navigating 37 edges with an optimal path cost of 1,649 meters, representing the shortest valid route between the designated source and destination nodes. Table 1 summarizes the main topological and spatial characteristics of the Querétaro network that served as the real-world benchmark throughout the experimental evaluation.
QUBO-SA encoding and solver configuration
Evaluation metrics
5.2. Comparative Performance Across Graph Regimes
5.3. Further Works
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A. Synthetic Graph Generation Algorithm
- 1.
- Minimum Spanning Tree (MST) construction: Initialize an undirected graph with n nodes. Iteratively introduce edges to form an MST, ensuring edges and global connectivity, with integer weights drawn from .
- 2.
- Edge augmentation: Computeand randomly add non-existing edges until achieving this count, assigning weights within the same range.
- 3.
- Validation: Confirm connectivity via a Breadth-First Search (BFS). If the graph is disconnected, repeat the generation to guarantee valid inputs for the evaluation framework in Section 4.2.

References
- Tu, Q.; Cheng, L.; Yuan, T.; Cheng, Y.; Li, M. The constrained reliable shortest path problem for electric vehicles in the urban transportation network. Journal of cleaner production 2020, 261, 121130.
- Koritsoglou, K.; Tsoumanis, G.; Patras, V.; Fudos, I. Shortest Path Algorithms for Pedestrian Navigation Systems. Information 2022, 13. [CrossRef]
- Liu, J.; Gu, H.; Wei, W.; Chen, Z.; Chen, Y. An efficient shortest path algorithm for content-based routing on 2-D mesh accelerator networks. Future Generation Computer Systems 2021, 114, 519–530.
- Lyu, D.; Chen, Z.; Cai, Z.; Piao, S. Robot path planning by leveraging the graph-encoded Floyd algorithm. Future Generation Computer Systems 2021, 122, 204–208. [CrossRef]
- WU, X.; XIAO, B.; WU, C.; GUO, Y.; LI, L. Factor graph based navigation and positioning for control system design: A review. Chinese Journal of Aeronautics 2022, 35, 25–39. [CrossRef]
- Alamsyah, A.; Rahardjo, B.; et al. Social network analysis taxonomy based on graph representation. arXiv preprint arXiv:2102.08888 2021.
- Brambilla, M.; Javadian Sabet, A.; Kharmale, K.; Sulistiawati, A.E. Graph-based conversation analysis in social media. Big Data and Cognitive Computing 2022, 6, 113.
- Yi, H.C.; You, Z.H.; Huang, D.S.; Kwoh, C.K. Graph representation learning in bioinformatics: trends, methods and applications. Briefings in Bioinformatics 2022, 23, bbab340.
- Liu, M.; Li, X.; Li, J.; Liu, Y.; Zhou, B.; Bao, J. A knowledge graph-based data representation approach for IIoT-enabled cognitive manufacturing. Advanced Engineering Informatics 2022, 51, 101515.
- Saha, S.; Gao, J.; Gerlach, R. A survey of the application of graph-based approaches in stock market analysis and prediction. International Journal of Data Science and Analytics 2022, 14, 1–15.
- Sihotang, H.T.; Riandari, F.; Sihotang, J. Graph-based Exploration for Mining and Optimization of Yields (GEMOY Method). Jurnal Teknik Informatika CIT Medicom 2024, 16, 70–81.
- Jalving, J.; Shin, S.; Zavala, V.M. A graph-based modeling abstraction for optimization: Concepts and implementation in plasmo. jl. Mathematical Programming Computation 2022, 14, 699–747.
- Hua, R.; Dinneen, M.J. Improved QUBO formulation of the graph isomorphism problem. SN Computer Science 2020, 1, 1–18.
- Lucas, A. Ising formulations of many NP problems. Frontiers in physics 2014, 2, 5.
- Krauss, T.; McCollum, J.; Pendery, C.; Litwin, S.; Michaels, A.J. Solving the max-flow problem on a quantum annealing computer. IEEE Transactions on Quantum Engineering 2020, 1, 1–10.
- Dijkstra, E.W. A note on two problems in connexion with graphs. Numerische Mathematik 1959, 1, 269–271. [CrossRef]
- Shier, D.R. A computational study of Floyd’s algorithm. Computers & Operations Research 1981, 8, 275–293.
- Hart, P.E.; Nilsson, N.J.; Raphael, B. A Formal Basis for the Heuristic Determination of Minimum Cost Paths. IEEE Transactions on Systems Science and Cybernetics 1968, 4, 100–107. [CrossRef]
- Li, L.; Gu, Q.; Liu, L. Research on path planning Algorithm for Multi-UAV Maritime Targets Search Based on Genetic Algorithm. In Proceedings of the Proceedings of the 2020 IEEE International Conference on Information Technology, Big Data and Artificial Intelligence (ICIBA), Chongqing, China, 6–8 November 2020; pp. 840–843.
- Elhoseny, M.; Tharwat, A.; Hassanien, A. Bezier Curve Based Path Planning in a Dynamic Field using Modified Genetic Algorithm. Journal of Computational Science 2018, 25, 339–350.
- Yu, L.; Wei, Z.; Wang, H.; Ding, Y.; Wang, Z. Path planning for mobile robot based on fast convergence ant colony algorithm. In Proceedings of the 2017 IEEE International Conference on Mechatronics and Automation (ICMA), Takamatsu, Japan, 2017; pp. 1493–1497.
- Çalık, S. UAV path planning with multiagent Ant Colony system approach. In Proceedings of the Signal Processing and Communications Applications (SIU), Zonguldak, Turkey, 2016; pp. 1409–1412.
- Ding, F.; Zhang, Z.; Fu, M.; Wang, Y.; Wang, C. Energy-Efficient Path Planning and Control Approach of USV Based on Particle Swarm Optimization. In Proceedings of the OCEANS MTS/IEEE Charleston, Charleston, SC, USA, 2018; pp. 1–6.
- Phung, M.; Ha, Q. Safety-enhanced UAV path planning with spherical vector-based particle swarm optimization. Applied Soft Computing 2021, 107, 107376.
- Ma, B.; He, Y.; Du, J.; Han, M. Research on path planning Problem of Optical Fiber Transmission Network Based on Simulated Annealing Algorithm. In Proceedings of the 2019 IEEE 8th Joint International Information Technology and Artificial Intelligence Conference (ITAIC), Chongqing, China, 2019; pp. 1298–1301.
- Yin, J.; Fu, W. A Hybrid Path Planning Algorithm Based on Simulated Annealing Particle Swarm for The Self-driving Car. In Proceedings of the 2018 International Computers, Signals and Systems Conference (ICOMSSC), Dalian, China, 2018; pp. 696–700.
- Liu, K.; Zhang, M. Path Planning Based on Simulated Annealing Ant Colony Algorithm. In Proceedings of the 2016 9th International Symposium on Computational Intelligence and Design (ISCID), Hangzhou, China, 2016; pp. 461–466.
- Yue, X.; Zhang, W. UAV path planning Based on K-Means Algorithm and Simulated Annealing Algorithm. In Proceedings of the 2018 37th Chinese Control Conference (CCC), Wuhan, China, 2018; pp. 2290–2295.
- Krause, T.; McCallum, J. Solving the network shortest path problem on a quantum annealer. IEEE Transactions on Quantum Engineering 2020, 1, 1–12.
- Ge, F.; Li, K.; Xu, W.; Wang, Y. Path Planning of UAV for Oilfield Inspection Based on Improved Grey Wolf Optimization Algorithm. In Proceedings of the 31st Chinese Control and Decision Conference, NanChang, China, 2019; pp. 3666–3671.
- Wu, C.; Huang, X.; Luo, Y.; Leng, S. An Improved Fast Convergent Artificial Bee Colony Algorithm for Unmanned Aerial Vehicle Path Planning Battlefield Environment. In Proceedings of the 2020 IEEE International Conference on Control & Automation (ICCA), Singapore, 2020; pp. 360–365.
- Tian, G.; Zhang, L.; Bai, X.; Wang, B. Real-time Dynamic Track Planning of Multi-UAV Formation Based on Improved Artificial Bee Colony Algorithm. In Proceedings of the 2018 37th Chinese Control Conference (CCC), Wuhan, China, 2018; pp. 10055–10060.
- Duan, H.; Li, S. Artificial bee colony–based direct collocation for reentry trajectory optimization of hypersonic vehicle. IEEE Transactions on Aerospace and Electronic Systems 2015, 51, 615–626.
- Balan, K.; Luo, C. Optimal Trajectory Planning for Multiple Waypoint Path Planning using Tabu Search. In Proceedings of the 2018 9th IEEE Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), New York, NY, USA, 2018; pp. 497–501.
- Rabbouch, B.; Rabbouch, H.; Saâdaoui, F.; Mraihi, R. Chapter 22 - Foundations of combinatorial optimization, heuristics, and metaheuristics. In Comprehensive Metaheuristics; Mirjalili, S.; Gandomi, A.H., Eds.; Academic Press, 2023; pp. 407–438. [CrossRef]
- Punnen, A.P. The quadratic unconstrained binary optimization problem. Springer International Publishing 2022, 10, 978–3.
- Quintero, R.A.; Zuluaga, L.F. QUBO Formulations of Combinatorial Optimization Problems for Quantum Computing Devices. In Encyclopedia of Optimization; Springer, 2022; pp. 1–13.
- Cormen, T.H.; Leiserson, C.E.; Rivest, R.L.; Stein, C. Introduction to algorithms; MIT press, 2022.
- Fredman, M.L.; Tarjan, R.E. Fibonacci heaps and their uses in improved network optimization algorithms. Journal of the ACM (JACM) 1987, 34, 596–615.
- Driscoll, J.R.; Gabow, H.N.; Shrairman, R.; Tarjan, R.E. Relaxed heaps: an alternative to Fibonacci heaps with applications to parallel computation. Commun. ACM 1988, 31, 1343–1354. [CrossRef]
- Gabow, H.N.; Tarjan, R.E. Algorithms for two bottleneck optimization problems. Journal of Algorithms 1988, 9, 411–417. [CrossRef]
- Duan, R.; Lyu, K.; Wu, H.; Xie, Y. Single-Source Bottleneck Path Algorithm Faster than Sorting for Sparse Graphs, 2018, [arXiv:cs.DS/1808.10658].
- Williams, V.V. Nondecreasing paths in a weighted graph or: How to optimally read a train schedule. ACM Trans. Algorithms 2010, 6. [CrossRef]
- Duan, R.; Mao, J.; Mao, X.; Shu, X.; Yin, L. Breaking the Sorting Barrier for Directed Single-Source Shortest Paths. In Proceedings of the Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC), New York, NY, USA, 2025; pp. 36–44.
- Pettie, S.; Ramachandran, V. A Shortest Path Algorithm for Real-Weighted Undirected Graphs. SIAM Journal on Computing 2005, 34, 1398–1431. [CrossRef]
- chih Yao, A.C. An 0(|E|loglog|V|) algorithm for finding minimum spanning trees. Information Processing Letters 1975, 4, 21–23. [CrossRef]
- Dürr, C.; Heiligman, M.; HOyer, P.; Mhalla, M. Quantum query complexity of some graph problems. SIAM Journal on Computing 2006, 35, 1310–1328.
- Belovs, A.; Reichardt, B.W. Span programs and quantum algorithms for st-connectivity and claw detection. In Proceedings of the European Symposium on Algorithms. Springer, 2012, pp. 193–204.
- Belovs, A. Quantum walks and electric networks. arXiv preprint arXiv:1302.3143 2013.
- Jeffery, S.; Kimmel, S.; Piedrafita, A. Quantum algorithm for path-edge sampling. arXiv preprint arXiv:2303.03319 2023.
- Wesołowski, A.; Piddock, S. Advances in quantum algorithms for the shortest path problem. arXiv preprint arXiv:2408.10427 2024. bounded-error quantum algorithms in adjacency list model: and .
- Ashvinkumar, V.; Bernstein, A.; Cao, N.; Grunau, C.; Haeupler, B.; Jiang, Y.; Nanongkai, D.; Su, H.H. Parallel, Distributed, and Quantum Exact Single-Source Shortest Paths with Negative Edge Weights. In Proceedings of the 32nd Annual European Symposium on Algorithms (ESA 2024). Dagstuhl–Leibniz-Zentrum für Informatik, 2024, Vol. 308, Leibniz International Proceedings in Informatics (LIPIcs), pp. 13:1–13:15. [CrossRef]
- Pardalos, P.M.; Jha, S. Complexity of uniqueness and local search in quadratic 0–1 programming. Operations research letters 1992, 11, 119–123.
- Karp, R.M. Reducibility among combinatorial problems; Springer, 2010.
- Kirkpatrick, S.; Gelatt Jr, C.D.; Vecchi, M.P. Optimization by simulated annealing. science 1983, 220, 671–680.
- Metropolis, N.; Rosenbluth, A.W.; Rosenbluth, M.N.; Teller, A.H.; Teller, E. Equation of state calculations by fast computing machines. The journal of chemical physics 1953, 21, 1087–1092.
- Krauss, T.; McCollum, J. Solving the network shortest path problem on a quantum annealer. IEEE Transactions on Quantum Engineering 2020, 1, 1–12.
- Mohseni, N.; McMahon, P.L.; Byrnes, T. Ising machines as hardware solvers of combinatorial optimization problems. Nature Reviews Physics 2022, 4, 363–379.
- Aramon, M.; Rosenberg, G.; Valiante, E.; Miyazawa, T.; Tamura, H.; Katzgraber, H.G. Physics-Inspired Optimization for Quadratic Unconstrained Problems Using a Digital Annealer. Frontiers in Physics 2019, 7. [CrossRef]
- Rønnow, T.F.; Wang, Z.; Job, J.; Boixo, S.; Isakov, S.V.; Wecker, D.; Martinis, J.M.; Lidar, D.A.; Troyer, M. Defining and detecting quantum speedup. Science 2014, 345, 420–424. [CrossRef]
- Zielewski, M.R.; Takizawa, H. A method for reducing time-to-solution in quantum annealing through pausing. In Proceedings of the International Conference on High Performance Computing in Asia-Pacific Region, 2022, pp. 137–145.



| Property | Value |
|---|---|
| Network Properties | |
| Number of nodes (n) | 443 |
| Number of edges (m) | 245 |
| Average degree (k) | 1.11 |
| Graph density (d) | 0.25% |
| Connected components | 1 (fully connected) |
| Average shortest-path length | 27.3 edges |
| Routing Scenario | |
| Source node | Northeastern sector |
| Destination node | Southeastern sector |
| Optimal path length | 37 edges |
| Optimal path cost | 1,649 m |
| Average edge length | 44.6 m |
| Maximum node degree | 3 |
| Parameter | Symbol | Value | Description |
|---|---|---|---|
| Initial temperature | Adaptive scaling to graph size | ||
| Cooling rate | Geometric cooling schedule | ||
| Maximum iterations | Termination criterion | ||
| Penalty factor | Sum of absolute edge costs |
| n | k | d | (s) | (s) | (s) | (↓, ↑) | |||
|---|---|---|---|---|---|---|---|---|---|
| Synthetic Graphs | |||||||||
| 10 | 1 | 0.111 | 1.00 | 11.8 | 12.0 | 11.5 | 0.00 | – | 0.00 |
| 2 | 0.222 | 1.00 | 7.3 | 7.5 | 7.2 | 0.00 | – | 0.00 | |
| 3 | 0.333 | 0.97 | 0.49 | 0.50 | 0.48 | 1.37 | (0.17, 1.74) | 0.68 | |
| 20 | 1 | 0.053 | 0.85 | 182.0 | 185.0 | 178.0 | 2.52 | (1.90, 3.16) | 1.26 |
| 2 | 0.105 | 0.90 | 118.0 | 120.0 | 115.0 | 2.09 | (1.66, 2.68) | 1.04 | |
| 3 | 0.158 | 0.82 | 63.0 | 65.0 | 62.0 | 2.82 | (2.03, 3.28) | 1.41 | |
| 30 | 1 | 0.034 | 0.68 | 1,920.0 | 1,950.0 | 1,870.0 | 4.21 | (3.28, 5.01) | 2.11 |
| 2 | 0.069 | 0.74 | 1,560.0 | 1,580.0 | 1,520.0 | 3.55 | (2.76, 4.56) | 1.78 | |
| 3 | 0.103 | 0.62 | 1,290.0 | 1,310.0 | 1,380.0 | 4.52 | (3.46, 5.81) | 2.26 | |
| 40 | 1 | 0.026 | 0.56 | 4,920.0 | 4,950.0 | 5,120.0 | 5.42 | (4.21, 6.84) | 2.71 |
| 2 | 0.051 | 0.61 | 3,650.0 | 3,675.0 | 3,820.0 | 4.71 | (3.62, 6.13) | 2.35 | |
| 3 | 0.077 | 0.53 | 2,860.0 | 2,890.0 | 3,010.0 | 5.86 | (4.47, 7.81) | 2.93 | |
| Urban Transportation Network | |||||||||
| 443 | 1.11 | 0.0025 | 0.57 | 9,100 | 9,250 | 6,850 | 1.35 | (1.05, 1.72) | 1.08 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).