Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 897 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 897 Bytes

Ant Colony System for TSP

A quick implementation of the ACS solution to the travelling salesman problem with animation.
Agents will pick the path with the best utility depending on a combination of distance and amount of pheromones. In a RL fashion, the colony will converge to the optimal solution. Stability is however a bit difficult to reach and is highly depend on the parameters of the simulation, future work could try to improve this.

Example

In this particular example, the ACS algorithm struck a 20% improvement over the standard greedy algorithm. anim

References

[1] Ant colonies for the travelling salesman problem, Marco Dorigo, Luca Maria Gambardella
[2] C++ Ants Simulation 1, First approach