Very Near Optimal Algorithm for the Traveling Salesman Problem
DOI:
https://doi.org/10.14738/assrj.115.16991Keywords:
Traveling salesman, Heuristic, Decision support systems, LogisticsAbstract
The Traveling Salesman Problem (TSP) is a P versus NP key problem that can be generalized to some instances of other problems. Using the commercial state-of-the-art branch-and-bound mixed integer linear programming solver (LINGO) solves the TSP problem in an amount of time that is proportional to a quadratic multiplied by an exponential of base two as a function of the number of cities or destinations. My algorithm solves the problem in a quadratic amount of time as a function of the number of cities or destinations. My algorithm basically solves the problem by sorting the cells in the cost or distance matrix from lower to higher values, while checking for cycles. My algorithm performs on average 43.67% better than LINGO for 100 cities or destinations. In the interconnected world of the present and future, fast and reasonably good solutions are better than reaching (if ever) the global optimal solution.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Luis F. Copertari
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors wishing to include figures, tables, or text passages that have already been published elsewhere are required to obtain permission from the copyright owner(s) for both the print and online format and to include evidence that such permission has been granted when submitting their papers. Any material received without such evidence will be assumed to originate from the authors.