|
1.INTRODUCTIONMany problems, such as engineering design, combinatorial optimization, decision-making, optimal path selection, etc., can be reduced to function optimization problems after mathematical modelling1. Finally, the optimal results can be solved under certain constraints, which can reduce manpower expenditure. Therefore, it is meaningful to discuss the problem of function optimization in theory and application. Genetic Algorithm (GA) is first proposed by John Holland in the 1970s in the United States2. Genetic algorithm comes from the natural evolution process of nature. The algorithm solves the optimal solution through mathematical coding, and uses the selection, crossover and mutation process to search for the optimal result. Because the optimization is independent of gradients and has strong robustness and global search ability, combinatorial optimization problems can be quickly and accurately solved. GA had been widely used in combinatorial optimization, machine learning, signal processing, adaptive control and other fields3. However, many of its deficiencies and defects have also been exposed, such as poor local search ability, slow convergence speed and it is easy to fall into local optima4. With the expansion of the dimensions of the problem to be optimized, these deficiencies are becoming more and more prominent, and the most prominent problem is the problem of premature convergence. All individuals in the group tend to the same state and stop evolving, the biodiversity is lost, and it is meaningless to iterate again. A multi-population genetic algorithm (MPGA) can be used to replace the conventional standard genetic algorithm. Multi-population genetic algorithm performs among multiple populations by introducing different optimization parameters, and the optimization results are derived from the final elite population. Compared with the traditional GA, the improved MPGA has better adaptability and result accuracy for solving the multimodal function optimization problem with high difficulty coefficient5. This paper proposes to use the new algorithm to solve the overall optimization problem of multimodal nonlinear functions, and changes the relevant variables to observe the stability of the algorithm and compared it with the traditional genetic algorithm. Simulation results show that the MPGA has better optimization ability and higher calculation accuracy for solving local optimal problems of nonlinear multimodal functions. 2.DISADVANTAGES OF GENETIC ALGORITHMSGenetic algorithm is a random search algorithm. The first step is to randomly generate a population, then searches for the optimal solution of the optimization problem through genetic operations to generate a new population. After gradual evolution, the GA converges to the optimization accurately with a high probability, so as to obtain the optimal solution or sub-optimal solution of the optimization problem6. The GA structure is shown in Figure 1. Premature convergence problem is one of the biggest problems of GA7. All individuals in the group tend to the same state and stop evolving, the biodiversity is lost, and it is meaningless to iterate again. The occurrence of premature convergence is mainly related to the following aspects8:
3.MULTI-POPULATION GENETIC ALGORITHM3.1Algorithm improvementBased on the original standard GA, MPGA mainly introduces the following concepts9:
The structural flow chart of the MPGA is shown in Figure 2. In this paper, binary coding is used for individuals, which has high stability and large population diversity. The decision variables x1 and x2 are represented by binary strings. For example, the domain of xj is [aj, bj], and the accuracy requirement is ten thousandths, which requires the domain of xj to be divided at least(bj, − aj) × 105 spaces, and the binary string length required by the set variable xj is mj, which should satisfy: 3.2Immigration operatorThrough a certain probability, the selection operator selects excellent individuals from the current population to form a new population, so that the excellent individuals can reproduce in the offspring10. In the multi-swarm genetic algorithm, various groups are independent of each other. The immigration operator is a medium for the exchange of information among various groups, and it introduces the optimal individuals that appear in the evolution of each group into other groups. 3.3Elite populationThe elite population is the re-selected population and the basis for judging termination. In each generation of evolution, the best individuals from other populations are selected and stored in the elite population11. The formed elite population does not carry out genetic operations to ensure that the optimal individuals generated by each population are not destroyed and lost during the evolution process. 4.EXPERIMENTAL DESIGN AND RESULTSThis paper selected the following typical nonlinear multimodal functions for research and analysis We set a small area for calculation. The value range of x in f(x, y) is [-2,2], and the value range of y is [-2,2]. Through the initial derivation, it is concluded that the stagnation point range is not within the definition domain, and the optimal value of the function should be obtained at the boundary. Near (0,0), the function will oscillate, and it is easy to generate local extrema. In order to test and evaluate the performance of MPGA for multimodal function optimization, this paper defines the optimal solution value, iterative stability, and optimal time as the algorithm evaluation indicators. This paper compares the standard GA and the improved MPGA. Table 1 shows the initial setting of the genetic algorithm and the influence on the results after considering the changes of the crossover probability and mutation probability. Table 1.Initial parameters and variables of GA.
The variation of the optimal solution of the GA with the evolution number is shown in Figure 3. Table 2 shows the parameter settings of the improved multi-population genetic algorithm. Since the immigration operator between multiple populations can communicate with each population, the crossover probability and mutation probability will take a random probability between each population. Table 2.Improved initial parameters of MPGA.
Table 3 shows the calculation results. The standard genetic algorithm was calculated 7 times. Due to the existence of crossover and mutation probability, the results are different each time. However, the improved genetic algorithm can better obtain a stable optimal value. Table 3.GA and MPGA algorithm optimization results.
The variation of the optimal solution of the GA and the MPGA with the evolution number is shown in Figure 4. The optimization results obtained each time are different by using genetic algorithm, (as shown in Table 3 above), and even the signs of x and y are opposite. It could be seen that the standard genetic algorithm is very unstable, and sometimes it is still not stable when it is close to 500 generations, the convergence speed is slow, and the convergence accuracy is poor. Using the improved multi-population genetic algorithm, the optimization results obtained each time are completely consistent, the stability is good, the genetic algebra is within 30 generations, the convergence speed is fast, and the convergence accuracy is high, which is suitable for the optimization of such complex functions. 5.CONCLUSIONThe improved MPGA expands the structure of the standard GA, and introduces multiple populations to search the solution space at the same time, and greatly reduces the inappropriate genetic control parameters. The influence of the settings on the optimization results has a significant effect on suppressing the occurrence of immature convergence. The examples show that the multi-population genetic algorithm has better optimization ability and higher calculation accuracy and stability for solving the local optimal problem of nonlinear multimodal functions. REFERENCES
Tong, W. Y.,
“A new whale optimisation algorithm based on self-adapting parameter adjustment and mix mutation strategy,”
International Journal of Computer Integrated Manufacturing, 33 10
–11
(2020). https://doi.org/10.1080/0951192X.2020.1736717 Google Scholar
Zheng, S. Q., Industrial Intelligence Technology and Application, 250
–251 Shanghai Scientific & Technical Publishers, Shanghai
(2019). Google Scholar
Andrea, D. P., Claudia, A. and Carminic,
“A genetic algorithm for the close-enough traveling salesman problem with application to solar panels diagnostic reconnaissance,”
Computers and Operations Research, 145
(2022). Google Scholar
Zhang, P. L., Wang, J. Q., Tian, Z. W., Sun, S. Z., Li, J. T. and Yang, J. N.,
“A genetic algorithm with jumping gene and heuristic operators for traveling salesman problem,”
Applied Soft Computing Journal, 127
(2022). https://doi.org/10.1016/j.asoc.2022.109339 Google Scholar
Yao, X. Y., Li, W. H. and Pan, X. G.,
“Multimodal multi-objective evolutionary algorithm for multiple path planning,”
Computers & Industrial Engineering, 169
(2022). https://doi.org/10.1016/j.cie.2022.108145 Google Scholar
Qin, B. Y.,
“Application of genetic algorithm for nonlinear programming in multimodal function optimization,”
Journal of Guangxi University of Science and Technology, 24
(02), 25
–31
(2013). Google Scholar
Jin, X. P., Liu, J. Y., Jiang, C. and Guo, Q.,
“Joint optimization of dispersion matrix and 3D constellation of STSK system based on improved genetic algorithm,”
Telecommunications Science, 37
(09), 86
–94
(2021). Google Scholar
Sama, K., Przemyslaw, G., Shad, M.Y.,
“The benefits of co-evolutionary genetic algorithms in voyage optimisation,”
Ocean Engineering, 245
(2022). Google Scholar
Yang, C,
“Feedback multi-agent genetic algorithm for solving high-dimensional function optimization,”
Journal of Software, 41
(07), 81
–90
(2020). Google Scholar
Wang, C. L., Wang, Y., Zeng, Z. Y., Lin, C. Y. and Yu, Q. L.,
“Research on logistics distribution vehicle scheduling based on heuristic genetic algorithm,”
COMPLEXITY,
(20212021). Google Scholar
Yang, Y. G.,
“Multi-aircraft cooperative air combat target allocation method based on improved artificial immune algorithm,”
in Proceedings of Workshop,
193
(2018). Google Scholar
|