A visualization of four ways to solve the traveling salesman problem. ( You can find the source code on: https://github.com/gumpu/TSP_Animation ) 1. Random path -- start a city and randomly select the next city from the remaining not visited cities until all cities are visited. 2.