• 人工智能 •

### 基于SAC模型的改进遗传算法求解TSP问题

1. 1. 中南大学 自动化学院，长沙 410083
2. 中南大学 计算机学院，长沙 410083
• 出版日期:2021-09-01 发布日期:2021-09-06

### SAC Model Based Improved Genetic Algorithm for Solving TSP

CHEN Bin, LIU Weiguo

1. 1. School of Automation, Central South University, Changsha 410083, China
2. School of Computer Science and Engineering, Central South University, Changsha 410083, China
• Online:2021-09-01 Published:2021-09-06

Abstract:

Genetic algorithm (GA) has strong global searching ability and is easy to operate, but its disadvantages such as poor convergence speed, unstable and easy to fall into local optimal value restrict its application. In order to overcome these disadvantages, an improved genetic algorithm based on the deep reinforcement learning model SAC (soft actor-critic) is proposed in this paper, which is applied to the resolution of traveling salesman problem (TSP). The improved algorithm regards the population as agent??s interaction environment, meanwhile greedy algorithm is used to initialize this environment for improving the quality of initial populations. For controlling the evolution of the population, the improved crossover and mutation operations are used as agent??s action space. With the goal of maximizing the cumulative rewards of population evolution, the improved algorithm treats the evolution of the population as a whole and uses a policy gradient algorithm based on SAC to generate evolution controlling action strategy combined with the current individual fitness of the population. The action strategy reasonably uses the global and local search ability of genetic algorithm by agent??s actions, optimizing the evolutionary process of the population while balancing relationship between the population convergence rate and the times of genetic operation. The experimental results of TSPLIB indicate that the improved genetic algorithm can effectively avoid falling into the local optimal solution and reduce the number of iteration in the optimization process while improving the convergence rate of the population.