Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 486 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 486 Bytes

TSP-Ant-Colony-System

Solves known instances of the Traveling Salesman Problem with Ant Colony System.

Optimal parameters of the algorithm were chosen with trial and error.

Estimated average error performance of 1% over all TSP instances, in which ACS was run for 3 minutes per instance.

Instructions to run the program:

  • ulimit -s 45000 (or more, to increase stack size);
  • make (if it doesn’t work, type gcc -g -Wall -O3 -std=c99 -lm main.c manually);
  • ./main (.\a.exe).