Ant System TSP Solver

A demo of an Ant System algorithm solving classical Traveling Salesman Problems.
2.6K Downloads
Updated 16 Apr 2013

View License

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 Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Bugfix suggested by ZHANG.

1.0.0.0