A simple version of how the travelling salesman problem can be solved using ant colony optimization.