Introduction - If you have any usage issues, please Google them yourself
1. set the number of individuals in the population and the number of iterations required.
2. select the individual in the parent to evolve according to formulas z1=sqrt (-2*ln (U1)), *sin (2*pi*u2), *m, z2=sqrt (-2*ln (U1)), *cos (2*pi*u2), *m.
Here, U1, U2 are random values, M is the control factor, the more the number of evolution, m, the smaller the m, the parent by adding Z1, Z2, to get future generations.
3. calculate the adaptability of offspring.
4., choose the best adaptability among the offspring as the global optimum.