Ant System TSP Solver
Version 1.2.0.0 (273 KB) by
Johannes
A demo of an Ant System algorithm solving classical Traveling Salesman Problems.
A demo of an Ant System algorithm solving classical Traveling Salesman Problems.
To run, type:
ant_system_tsp(@Qatar, 50000)
The code should be pretty self-explanatory.
Cite As
Johannes (2024). Ant System TSP Solver (https://www.mathworks.com/matlabcentral/fileexchange/33448-ant-system-tsp-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection > Nearest Neighbors >
- MATLAB > Mathematics > Graph and Network Algorithms > Shortest Path > Traveling Salesman (TSP) >
- Mathematics and Optimization > Optimization Toolbox > Linear Programming and Mixed-Integer Linear Programming > Problem-Based Linear Programming >
Find more on Nearest Neighbors in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.