The invention discloses a self-adaptive 
genetic algorithm based on the 
population evolution process, including the first step, setting the parameters of the BAGA 
algorithm, setting the number of iterations of the 
algorithm, the number of populations in each generation, the discrete precision of the independent variable, and the total number of shooting times  , a constant; the second step is to use binary code to generate the initial 
population; the third step is to judge whether the maximum number of iterations is satisfied, and if so, output the optimal individual of the last generation, which is the optimal value found, otherwise turn to the fourth step;  The fourth step is to establish the relationship between the objective function and the 
fitness function, and then calculate the fitness of each individual and the average fitness of contemporary individuals, save the individual with the largest contemporary fitness, and calculate the evolutionary degree of the contemporary 
population, the degree of population aggregation, and  Balance factor, 
crossover probability and 
mutation probability; the fifth step, selection, 
crossover and 
mutation operations to generate new populations, the 
selection operator uses roulette technology, the 
crossover operation uses univariate crossover, and the 
mutation operation uses basic bit mutation; the sixth step,  Find the best individual in the contemporary population, keep it, and then go to the second step.