Introduction - If you have any usage issues, please Google them yourself
The genetic algorithm and particle swarm algorithm are used to find the maximum value of the function, and the performance of the two algorithms is compared. The running time and the number of iterations are used to judge