Skip to content

Reimplementation of Marco Dorigo's Ant System optimization algorithm in Python

License

Notifications You must be signed in to change notification settings

canbekley/ant-colony-algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ant colony algorithm (ant system implementation)

Reimplementation of Marco Dorigo's Ant System optimization algorithm using Python. Applicable to shortest-path problem and traveling salesman problem.

Installation

Local installation using Python virutalenv and Makefile:

  1. run make venv
  2. run source venv/Scripts/activate

Usage

  • Run tests using make test
  • Run example program using make example
  • Run example using cli commands (see parameter definitions in example.py):
python example.py -k 2 -c 1 -v 9 -pr 'shortest_path' -s 19

About

Reimplementation of Marco Dorigo's Ant System optimization algorithm in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published