An open traveling salesman problem seeks the shortest route through every specified location exactly once, starting from a designated city without returning to it. Ant colony optimization (ACO) models this routing task with geographic distances, pheromone trails, and probabilistic city selection. section 10.3.5
A practical ACO solution proceeds by:
- Building a city coordinate dictionary and calculating pairwise haversine distances in a distance matrix. section 10.3.5
Twenty-city route
A custom ACO run produces a New York City-to-San Francisco route covering 20 major US cities with a reported length of 7,937.115.
