Improved Floyd-Warshall Algorithm for Solving Travelling Salesman Problem

Authors

  • Solima Khanam Department of Mathematics, Jagannath University, Dhaka-1100, Bangladesh
  • Shourov Roy Department of Mathematics, Jagannath University, Dhaka-1100, Bangladesh
  • Musfiqur Rahman Shihab Department of Mathematics, Jagannath University, Dhaka-1100, Bangladesh

DOI:

https://doi.org/10.3329/jnujsci.v11i1.76692

Keywords:

Shortest path, Travelling salesman problem (TSP), Floyd Warshall algorithm, NP hard problem

Abstract

The shortest path problem is a fundamental challenge in graph theory, focused on identifying the most efficient routes between nodes in a network. It stands as one of the extensively researched combinatorial optimization problems. In this paper, we explained the fundamental concepts of shortest path algorithms, with a particular emphasis on Floyd Warshall algorithm. We apply the algorithm and showed how this algorithm can be effectively employed to determine the shortest path in various scenarios. Furthermore, this paper addresses real-life applications, particularly focusing on the traveling salesman problem. Individuals often have the option to travel along different routes to reach their destination. However, selecting suboptimal routes can result in time-consuming journeys. To tackle this issue, we apply the Floyd Warshall algorithm to solve the traveling salesman problem (TSP). Additionally, we demonstrate the enhancement of the Floyd Warshall algorithm's efficiency for TSP using the rectangular algorithm. This paper concludes with a comparative analysis between the original and improved Floyd Warshall algorithms, emphasizing the computational reduction achieved through the proposed enhancements.

Jagannath University Journal of Science, Volume 11, Number 1, June 2024, pp. 45−52

Abstract
34
PDF
24

Downloads

Published

2024-10-21

How to Cite

Khanam, S., Roy , S., & Shihab, M. R. (2024). Improved Floyd-Warshall Algorithm for Solving Travelling Salesman Problem. Jagannath University Journal of Science, 11(1), 45−52. https://doi.org/10.3329/jnujsci.v11i1.76692

Issue

Section

Research Article