TSP2024

TSP2024 implements 16 different sub-optimal methods for solving the symmetric Euclidean TSP problem as well as the 2-opt enhancing method.
43 Downloads
Aktualisiert 29. Mär 2024

Lizenz anzeigen

The TSP2024 Matlab App implements 16 different sub-optimal methods for solving the symmetric Euclidean TSP problem as well as the 2-opt enhancing method. The proposed methods are (Method frame):
• Random tour
• Nearest neighbour
• Convex hull insertion
• Cheapest insertion
• Spanning tree
• Bitonic tour
• Clarke-Wright heuristic
• Divide and conquer
• Karp's approach
• Simulated annealing
• Kohonen map
• Bees algorithm
• Ant system
• Genetic algorithm
• Black hole algorithm
• Tabu search
each of these methods can be followed by a 2-opt optimization (Enhancing method frame) when necessary.
The application was not designed with a performance objective. However, it can work with a hundred points (or vertices). In order to be able to compare the results obtained (essentially through the length of the cycle: Tour length, displayed at the top of the figure), each method can be tested on the same data set: just select a method and press the ``Run'' button. At launch, the number of points to connect is set to 20 and a random dataset is produced and visualized. To change the number of points, simply indicate it in the ``Number of points" box and press the ``New data set" button. For a given data set, the length of the best tour obtained is stored and displayed at the bottom right of the window (Best length).
The application has been designed to visualize the method in action. For this purpose, the on/off switch at the top left of the window allows the slowing down of the graphic animation to observe each step of the implemented algorithms (particularly for the geometric ones and the Kohonen map).
A pdf file (included in the zip file to download) explains how the methods work and how they were implemented.

Zitieren als

Didier Maquin (2024). TSP2024 (https://www.mathworks.com/matlabcentral/fileexchange/158496-tsp2024), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2021a
Kompatibel mit R2021a und späteren Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.7.1

- The uploaded zip file was incorrect

1.7

- Two new geometric divide and conquer approaches have been added
- The accompanying document has been revised and updated
- An mlappinstall file is now provided

1.6

- Two new geometric methods have been added (Bitonic tour and Clarke-Wright heuristic).
- The GUI has been slightly modified. To facilitate comparison of results, the length of the best tour obtained is stored and displayed at the bottom right.

1.5

- Two new methods have been added (Black hole algorithm and Tabu search).
- A bug in the crossover function of the Genetic Algorithm method was corrected.
- .m files implemeting each method separately are now provided.

1.4

Three new methods have been added

1.3