{'fraction_non_alphanumeric': 0.02727272727272727, 'fraction_numerical': 0.0, 'mean_word_length': 5.480392156862745, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Comparative Study of solving Traveling Salesman Problem with Genetic Algorithm, Ant Colony Algorithm, and Particle Swarm Optimization

To solve the problem of traveling salesman (TSP), some intelligent optimization algorithms such as genetic algorithm (GA), ant colony algorithm (ACO), and particle swarm optimization (PSO) algorithm were used. This paper attempts to discuss the optimal solutions and convergence speed change of the three algorithms in solving the problem. We conducted a simulation experiment, found that the PSO provided a better and more stable solution, ACO took the shortest running time and GA is less influenced by the problem scale.