Comparative Analysis of Floyd-Warshall and Simulated Annealing for Traffic-Based Shortest Path Problems

This paper presents a comparative study of the Floyd-Warshall (FW) algorithm and the Simulated Annealing (SA) heuristic for solving shortest path problems in static and dynamic traffic-based graphs. While FW is efficient on smaller static graphs, it struggles with dynamic and large-scale instances. SA, leveraging adaptive mutation and temperature control, demonstrates superior scalability and performance in dynamic settings. Using both synthetic and real-world traffic data from OpenStreetMap, we evaluate runtime, memory usage, solution quality, convergence, and improvement rate. Results show FW's strength in small graphs and lower memory usage, whereas SA excels in large, dynamic graphs, achieving high improvement rates despite increased memory consumption. Findings suggest that SA is a viable heuristic alternative to traditional algorithms for dynamic traffic routing scenarios.

Institutions

Publication Details

Published
2025-04-01
DOI
https://doi.org/10.1109/orss66051.2025.11121623
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Analysis of Floyd-Warshall and Simulated Annealing for Traffic-Based Shortest Path Problems

Geochemistry and Geologic Mapping
article

Comparative Analysis of Floyd-Warshall and Simulated Annealing for Traffic-Based Shortest Path Problems

article en

Abstract

This paper presents a comparative study of the Floyd-Warshall (FW) algorithm and the Simulated Annealing (SA) heuristic for solving shortest path problems in static and dynamic traffic-based graphs. While FW is efficient on smaller static graphs, it struggles with dynamic and large-scale instances. SA, leveraging adaptive mutation and temperature control, demonstrates superior scalability and performance in dynamic settings. Using both synthetic and real-world traffic data from OpenStreetMap, we evaluate runtime, memory usage, solution quality, convergence, and improvement rate. Results show FW's strength in small graphs and lower memory usage, whereas SA excels in large, dynamic graphs, achieving high improvement rates despite increased memory consumption. Findings suggest that SA is a viable heuristic alternative to traditional algorithms for dynamic traffic routing scenarios.

Marshall University (US)
Sustainable cities and communities
Openalex Percentile: Top 24%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.