Cargo Route Optimization Using Shortest Path Algorithms: Runtime and Validity Comparison
Dedy Rahman Wijaya1, Aqil Athallah1, Tiara Nuha Noor’afina1, Patrick Adolf Telnoni1 & Sari Dewi Budiwati1 Show affiliations
- School of Applied Science, Telkom University, Bandung, Indonesia
Journal of Computer Science, Volume 19, Issue 11, pp. 1369–1379 · doi.org/10.3844/jcssp.2023.1369.1379
Abstract
The Indonesian logistics industry is facing significant challenges related to inefficiency and irregularity, particularly in the commodity cargo route system. This issue is further exacerbated by the high logistics costs in the country, which currently stands at 23%, higher than that of other countries. To address this issue, this study proposes an implementation and examination of several algorithms Greedy, Best First Search (BFS), Dijkstra’s, A*, and Floyd-Warshall to optimize the cargo route system and reduce logistics costs. The algorithms were compared using various parameters, including price, distance, rating, and time. The results revealed that the Greedy algorithm is not a reliable option for cargo route optimization. In contrast, the A* algorithm offered the best solution compared to other algorithms, although it was not the fastest in terms of time. This study emphasizes the importance of considering various factors to optimize the cargo route system effectively. The experiments conducted in this study offer promising insights and pave the way for further research to improve the efficiency and reliability of the logistics industry in Indonesia.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Wijaya, D. R., Athallah, A., Noor’afina, T. N., Telnoni, P. A. & Budiwati, S. D. (2023). Cargo Route Optimization Using Shortest Path Algorithms: Runtime and Validity Comparison. Journal of Computer Science, 19(11), 1369–1379. https://doi.org/10.3844/jcssp.2023.1369.1379
- Licence
- CC BY 4.0
- Issue
- Volume 19, Issue 11
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
