This is an example project for the blog at http://agostini.tech that demonstrates the use of genetic algorithms for solving the traveling salesman problem.
You can find the original article at: http://agostini.tech/2018/01/29/genetic-algorithms-in-swift-solving-tsp/