A competitive group optimization method based on multi-strategy and two-stage
Through the multi-strategy two-stage competitive swarm optimization method, fuzzy search and adaptive bidirectional sampling strategies are used to search efficiently in the first stage, and to strengthen convergence learning in the second stage, which solves the problem of premature convergence and premature convergence of the particle swarm optimization algorithm in complex problems. For local optimal problems, efficient and fast multi-dimensional calculation convergence is achieved.
Patent Information
- Application Number
- CN202311500647.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-11-13
AI Technical Summary
The particle swarm optimization algorithm has problems with premature convergence and local optimality when dealing with complex problems. Especially in high-dimensional situations, stochastic learning methods may lead to poor distribution of Pareto optimal solutions and failure to converge.
A two-stage competitive group optimization method based on multi-strategy is adopted. In the first stage, fuzzy search strategy and adaptive bidirectional sampling strategy are used for efficient search. In the second stage, the convergence learning strategy is strengthened to improve the convergence speed and accuracy, ensuring that the algorithm performs multi-dimensional The calculations are fully converged.
It achieves efficient search and fast convergence, improves the performance of the algorithm in multi-dimensional calculations, and ensures that better convergence results can be achieved even when computing resources are small.
Smart Images

Figure CN117575002B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a competition group optimization method based on multiple strategies and two stages. Background Art
[0002] In recent years, evolutionary computation (EC) algorithm, as a group-oriented random search technology that simulates biological evolution in nature, has been successfully applied to deal with a large number of complex scientific and practical engineering problems. With the continuous expansion of application fields, the research on evolutionary computation (EC) algorithm has also developed rapidly and become a research hotspot. Representative evolutionary computation (EC) algorithms mainly include genetic algorithm (GA), ant colony optimization (ACO), particle swarm optimization (PSO), differential evolution (DE), etc. It is worth noting that particle swarm optimization algorithm (PSO) is a well-known and effective evolutionary computation algorithm, which is inspired by the imitation of bird flocks. Although the traditional particle swarm algorithm introduced in 1995 has developed rapidly in recent years, due to its simple structure and strong search ability, it has shown strong competitiveness in various research fields such as workshop scheduling, parameter selection, function optimization, neural network training, path planning, etc., but it still has problems of premature convergence and local optimality when dealing with complex problems.
[0003] Particle swarm optimization has achieved good results in solving low-dimensional problems. However, similar to most EC algorithms, it is often reported that the existing performance will drop sharply with the increase of dimension. In recent years, competitive swarm optimizers (CSO) have been developed to solve large-scale optimization problems. The evolution of CSO is driven by a pairwise competition mechanism. After each competition, only the loser particles need to be updated according to the position of the winner particles, and the winner particles in the competition will directly enter the next iteration. Its advantage is that it can optimize large-scale optimization problems without external archiving and will not lose the information of decision variables. Although the performance of CSO has been improved to a certain extent, the algorithm's adaptability, convergence speed and accuracy still need to be improved, especially in the later stages of evolution, where random learning methods may lead to poor distribution of Pareto optimal solutions, resulting in non-convergence. Summary of the invention
[0004] 1. Technical issues to be solved
[0005] In view of the deficiencies in the prior art, the present invention provides a competitive group optimization method based on multiple strategies and two stages, which has the advantages of efficient search and fast convergence, and solves the above technical problems.
[0006] (II) Technical solution
[0007] To achieve the above object, the present invention provides the following technical solution: a competitive group optimization method based on multiple strategies and two stages, comprising the following steps:
[0008] S1. Initialize and set the basic parameters of the algorithm, including the population size N, the optimization termination condition, the ratio of the first stage to the entire evolution stage Rate, and the step acceleration Acc;
[0009] S2, initialize the population P and reference vector V;
[0010] S3, randomly select two particles from the population P to compete, the particle whose fitness exceeds the preset value is the winner particle, and the particle whose fitness is lower than the preset value is the loser particle, and the two selected particles are deleted from the population P;
[0011] S4, satisfying the execution conditions of the first stage of the algorithm, executing the fuzzy search strategy for the loser particles, executing the adaptive bidirectional sampling strategy for the winner particles, and the loser particles and their sampled particles learn from the winner particles;
[0012] S5. When the execution conditions of the second stage of the algorithm are met, the loser particles conduct enhanced convergence learning towards the winner particles;
[0013] S6, the winner particles and their sampled particles and the updated loser particles and their sampled particles are mutated by polynomial mutation, and the mutated particles are placed in the new population P';
[0014] S7, repeat S3 to S6 until all particles in the current population P are visited;
[0015] S8, execute environment selection to generate the next generation population;
[0016] S9, repeat steps S3 to S8 until the algorithm termination condition is met;
[0017] S10. Output the final optimized solution of the given problem.
[0018] As a preferred technical solution of the present invention, step S4 includes the following steps:
[0019] S4.1, implement fuzzy search strategy for loser particles;
[0020] S4.2. Execute an adaptive bidirectional sampling strategy for the winner particles.
[0021] As a preferred technical solution of the present invention, the fuzzy search strategy of step S4.1 includes the following steps:
[0022] S4.1.1. Divide the evolution process into multiple fuzzy sub-stages:
[0023] S4.1.2. Determine the upper bound of the fuzzy search by fuzzifying the original decision variable vector Xu and the lower bound Γ l ;
[0024] S4.1.3. Center on the particle and divide the search direction of the particle into two-dimensional subspaces according to Cartesian coordinates;
[0025] S4.1.4. The loser particles and their sampled particles learn from the winner particles.
[0026] As a preferred technical solution of the present invention, the arithmetic expression of the division step in step S4.1.1 is as follows:
[0027]
[0028] where S is the number of sub-stages divided in the fuzzy search stage, Step(i) is the cumulative step length of the first i sub-stages in the fuzzy search stage, the default setting of Step(i) is Step(i)=0, Rate represents the proportion of the fuzzy search stage in the entire evolution stage, Acc>0 is the step acceleration, which can control the step acceleration between sub-stages, represents the floor operation on the internal elements. When i in Step(i) takes the value of S, that is, when Step(S)<Rate, add Step(S + 1)=Rate.
[0029] As a preferred technical solution of the present invention, the upper bound Γ u and the lower bound Γ l in S4.1.2 are specifically calculated as follows:
[0030]
[0031] where X represents the decision variable vector, X u represents the upper bound of X, X l represents the lower bound of X, represents the floor operation on the internal elements, represents the ceiling of the internal elements, and i represents the i-th sub-stage.
[0032] As a preferred technical solution of the present invention, the division process in step S4.1.3 divides the search space [Γ l , Γ u into four quadrants in the subspace according to the quadrants: (+,+), (-,+), (-,-) and (+,-). After the division, Gaussian distribution sampling is performed on each subspace. The specific process is as follows:
[0033]
[0034] where D represents the dimension of the decision space, Indicates Г l The elements in are divided into two-dimensional subspaces x 1 coordinate, Indicates Г l The elements in are divided into y in the two-dimensional subspace 1 coordinate, Indicates Г u The elements in are divided into two-dimensional subspaces x 2 coordinate, Indicates Г u The elements in are divided into y in the two-dimensional subspace 2 coordinate.
[0035] As a preferred technical solution of the present invention, the step S4.2 performs an adaptive bidirectional sampling strategy on the winner particles, including the following steps:
[0036] S4.2.1, using a displacement-based density estimation strategy to calculate the fitness of each particle;
[0037] S4.2.2. Set the current position of particle p to X p , and generate its reverse point Op;
[0038] S4.2.3. X p Set as the starting point, from X p Starting from point L, search in two directions: the lower boundary point L and the reverse point Op;
[0039] S4.2.4. Sample solution a in two search directions 1 and a 2 Perform calculations.
[0040] As a preferred technical solution of the present invention, the calculation formula of the fitness (p) of the particle in step S4.2.1 is as follows:
[0041]
[0042] in, Represented as the j-th target value of particle p, represents the jth target value of particle q, M represents the number of targets, It means to sum all the elements of the internal data from j=1 to j=M, min means to perform minimum operation on the internal data, max{*} means to take the maximum value of the internal data, q∈P\{p} means q is a particle in the population P that is different from p.
[0043] As a preferred technical solution of the present invention, the reverse point Op is generated as follows:
[0044] Op=X u+X l -X p
[0045] Among them, X represents the decision variable vector, X u represents the upper bound of X, X l represents the lower bound of X, and the current position of particle p is X p ;
[0046] The search direction in step S4.2.3 is specifically expressed as follows:
[0047] v + =LX p
[0048] v - =Op-X p
[0049] Among them, v + From X p Starting from point L, we search in the direction of the lower boundary point, v - From X p The direction of searching from point Op to the reverse point Op;
[0050] The sampling solution a in step S4.2.4 1 and a 2 The specific calculation formula is as follows:
[0051]
[0052] a 1 =X p +λ*w(p)*v +
[0053] a 2 =X p +λ*w(p)*v -
[0054] Among them, w(p) is the control parameter that determines the sampling range, Fitness(p) represents the fitness of particle p, and Fitness max Indicates the maximum fitness of the current generation, Fitness min represents the minimum fitness of the current generation, Maxgen is the maximum evolutionary generation of the algorithm, gen is the current evolutionary generation of the algorithm, λ is a random number between 0 and 1, and a 1 and a 2 are two different sampling solutions.
[0055] As a preferred technical solution of the present invention, the specific steps of the loser particles in step S5 performing enhanced convergence learning on the winner particles are as follows:
[0056] S5.1. By performing non-dominated sorting on all particles in the population, the particle at the first frontier is taken as the best particle Gbest in the population;
[0057] S5.2, randomly select a particle from Gbest, denoted as particle g;
[0058] S5.3. The update strategy of loser particles is as follows:
[0059] v l (t+1)=r 0 *v l (t)+r 1 *[x w (t)-x l (t)]+ψ*r 2 *[x g (t)-x l (t)]
[0060] x l (t+1)=x l +v l (t+1)+r 0 *[v l (t+1)-v l (t)]
[0061] Among them, x w (t) represents the position of the winner particle in the population after the tth iteration, x l (t) represents the position of the loser particle in the population after the tth iteration, x g (t) represents the position of g particle in the population after the tth iteration, x l (t+1) represents the position of the loser particle in the population after the t+1th iteration, r 0 、r 1 and r 2 Represent three different random numbers between 0 and 1, v l (t) represents the velocity of the loser particles in the population after the tth iteration, v l (t+1) represents the velocity of the loser particle in the population after the t+1th iteration, ψ is the particle x g control parameters.
[0062] Compared with the prior art, the present invention provides a competitive group optimization method based on multiple strategies and two stages, which has the following beneficial effects:
[0063] 1. The present invention aims to efficiently search the entire space through the first evolutionary stage. In this stage, the algorithm can search the entire space more efficiently with the assistance of the fuzzy search strategy and the adaptive bidirectional sampling strategy. The second evolutionary stage aims to appropriately improve the population convergence in the later stage of evolution. In this stage, a new update learning strategy is proposed to accelerate convergence. Even when computing resources are limited, the algorithm can achieve better convergence effect.
[0064] 2. The present invention can effectively improve the full convergence of the entire random learning method when facing multi-dimensional calculations by carrying out the steps in two stages. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a schematic diagram of the process of the present invention;
[0066] Figure 2 This is a statistical diagram of IGD results achieved by six comparison algorithms in Example 1 of the present invention;
[0067] Figure 3 This is a statistical diagram of HV results achieved by six comparison algorithms in Example 1 of the present invention;
[0068] Figure 4 This is a schematic diagram for comparing the test results of Example 1 of the present invention;
[0069] Figure 5 This is a statistical diagram of IGD results achieved by six comparison algorithms in Example 2 of the present invention;
[0070] Figure 6 A schematic diagram of HV result statistics achieved by six comparison algorithms in Example 2 of the present invention;
[0071] Figure 7 Schematic diagram for comparing test results of Example 2 of the present invention. DETAILED DESCRIPTION
[0072] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0073] Embodiment 1:
[0074] See also Figure 1-4 , a competitive group optimization method based on multiple strategies and two stages, comprising the following steps:
[0075] S1. For large-scale bi-objective optimization problems, initialize the basic parameters of the algorithm. The basic parameters include population size N = 100, optimization termination computing resources maxFE = 300000, the proportion of the first stage in the whole evolution stage Rate = 0.6, step acceleration Acc = 6 / 45, ψ = 0.6, the number of independent runs Runs = 20. For DGEA (Adaptive Offspring Generation Method for Large-scale Multi-objective Optimization), the number of direction vectors r is set to 10. For LMOEA-DS (Large-scale Evolutionary Multi-objective Optimization Algorithm with Directional Sampling Assistance), the clustering reference vector N w and the number of solutions randomly generated along each search direction N s are set to 10 and 30. For (Efficient Large-scale Multi-objective Optimization Method Based on Competitive Group Optimizer), the parameter r 1 and r 2 are randomly selected from [0, 1]. For SECSO (Self-search Competitive Group Algorithm) and MMOPSO (Multi-objective Particle Swarm Algorithm with Multiple Search Strategies), no parameter settings are required. In addition, in all experiments, the number of sub-components of each variable group nk is set to 5;
[0076] S2. Initialize the population P and the reference vector V;
[0077] S3. Randomly select two particles from the population P for competition. The particle with fitness exceeding the preset value is the winner particle, and the particle with fitness lower than the preset value is the loser particle. Delete the two selected particles from the population P;
[0078] S4. When the execution condition of the first stage of the algorithm FE / maxFE < Rate is satisfied, where FE represents the computing resources already used currently, and maxFE represents the optimization termination computing resources, execute the fuzzy search strategy for the loser particle and the adaptive bi-directional sampling strategy for the winner particle. The loser particle and its sampled particles learn from the winner particle;
[0079] S4.1. Execute the fuzzy search strategy for the loser particle;
[0080] S4.1.1. Divide the evolution process into multiple fuzzy sub-stages. The specific division steps are as follows:
[0081]
[0082] where S is the number of sub-stages divided in the fuzzy search stage, Step(i) is the cumulative step length of the first i sub-stages in the fuzzy search stage. The default setting of Step(i) is Step(i) = 0. Rate represents the proportion of the fuzzy search stage in the whole evolution stage, and Acc > 0 is the step acceleration, which can control the step acceleration between sub-stages, Indicates a floor operation on internal elements. When the value of i in Step(i) is S, that is, when Step(S) < Rate, add Step(S + 1) = Rate;
[0083] S4.1.2. Determine the upper bound Г of the fuzzy search by fuzzifying the original decision variable vector X u and the lower bound Г l The specific calculation formula is as follows:
[0084]
[0085] where X represents the decision variable vector, X u represents the upper bound of X, X l represents the lower bound of X, indicates a floor operation on internal elements, indicates a ceiling operation on internal elements, and i represents the i-th sub-stage;
[0086] S4.1.3. Taking the particle as the center, divide the search direction of the particle into two-dimensional subspaces according to Cartesian coordinates, and divide the search space [Г l , Г u into four quadrants in the subspace: (+,+), (-,+), (-,-), and (+,-). After the division, perform Gaussian distribution sampling in each subspace. The specific sampling process is as follows:
[0087]
[0088] where D represents the dimension of the decision space, represents the element in Г l divided into the x 1 coordinate in the two-dimensional subspace, represents the element in Г l divided into the y 1 coordinate in the two-dimensional subspace, represents the element in Г u divided into the x 2 coordinate in the two-dimensional subspace, represents the element in Г u divided into the y 2 coordinate in the two-dimensional subspace;
[0089] Taking the first quadrant (+,+) as an example, the Gaussian distribution sampling interval of x is Then it can be determined through μ x + 3·σ x = x 2 to determine The Gaussian distribution sampling interval of y is Then you can use μ y +3·σ y =y 2 Sure μ in the remaining quadrants x , σ x , μ y and σ y The determination is similar to the above, so I will not go into details here. The following table gives the μ of all quadrants. x , σ x , μ y and σ y .
[0090]
[0091] x s :N(u x ,σ x 2 ), y s :N(μ y ,σ y 2 ), N(μ x ,σ x 2 ) means that it obeys the mean μ x and variance σ x Gaussian distribution; N(μ y ,σ y 2 ) means that it obeys the mean μ y and variance σ y Gaussian distribution; S = (x s ,y s ) indicates sampling a solution in the subspace, and four different subspaces can sample four different solutions.
[0092] v l (t+1)=r 0 ·v l (t)+r 1 ·(x w (t)-x l (t))
[0093] x l (t+1)=x l +v l (t+1)+r 0 (v l (t+1)-v l (t))
[0094] where r 1 and r 2is a random number between 0 and 1; x w (t) and x l (t) represents the positions of the winner and loser particles and their sampling particles; v l (t) The velocity of the loser particle and its sampled particle in the tth iteration
[0095] S4.2, executing an adaptive bidirectional sampling strategy on the winner particles;
[0096] S4.2.1. Using a displacement-based density estimation strategy to calculate the fitness of each particle
[0097] The calculation formula of particle fitness (p) is as follows:
[0098]
[0099] in, Represented as the j-th target value of particle p, represents the jth target value of particle q, M represents the number of targets, It means to sum all the elements of the internal data from j=1 to j=M, min means to perform minimum operation on the internal data, max{*} means to take the maximum value of the internal data, q∈P\{p} means q is a particle different from p in the population P;
[0100] S4.2.2. Set the current position of particle p to X p , and generate its reverse point Op;
[0101] Op=X u +X l -X p
[0102] Among them, X represents the decision variable vector, X u represents the upper bound of X, X l represents the lower bound of X, and the current position of particle p is X p ;
[0103] S4.2.3. X p Set as the starting point, from X p Starting from point L, search in two directions: the lower boundary point L and the reverse point Op;
[0104] v + =LX p
[0105] v - =Op-X p
[0106] Among them, v + From Xp Starting from point L, we search in the direction of the lower boundary point, v - From X p Point Op is the starting point for searching in the direction of the reverse point Op.
[0107] S4.2.4. Sample solution a in two search directions 1 and a 2 Perform calculations;
[0108]
[0109] a 1 =X p +λ*w(p)*v +
[0110] a 2 =X p +λ*w(p)*v -
[0111] Among them, w(p) is the control parameter that determines the sampling range, Fitness(p) represents the fitness of particle p, and Fitness max Indicates the maximum fitness of the current generation, Fitness min represents the minimum fitness of the current generation, Maxgen is the maximum evolutionary generation of the algorithm, gen is the current evolutionary generation of the algorithm, λ is a random number between 0 and 1, and a 1 and a 2 There are two different sampling solutions
[0112] S5. The execution condition of the second stage of the algorithm is met: FE / max FE ≥ Rate, where FE represents the currently used computing resources and maxFE represents the optimization termination computing resources. The loser particles conduct enhanced convergence learning towards the winner particles. The specific process is as follows:
[0113] S5.1. By performing non-dominated sorting on all particles in the population, the particle at the first frontier is taken as the best particle Gbest in the population;
[0114] S5.2, randomly select a particle from Gbest, denoted as particle g;
[0115] S5.3. The update strategy of loser particles is as follows:
[0116] v l (t+1)=r 0 *v l (t)+r 1 *[x w (t)-x l (t)]+ψ*r 2*[x g (t)-x l (t)]
[0117] x l (t+1)=x l +v l (t+1)+r 0 *[v l (t+1)-v l (t)]
[0118] Among them, x w (t) represents the position of the winner particle in the population after the tth iteration, x l (t) represents the position of the loser particle in the population after the tth iteration, x g (t) represents the position of g particle in the population after the tth iteration, x l (t+1) represents the position of the loser particle in the population after the t+1th iteration, r 0 、r 1 and r 2 Represent three different random numbers between 0 and 1, v l (t) represents the velocity of the loser particles in the population after the tth iteration, v l (t+1) represents the velocity of the loser particle in the population after the t+1th iteration, ψ is the particle x g Control parameters of
[0119] S6, the winner particles and their sampled particles and the updated loser particles and their sampled particles are mutated by polynomial mutation, and the mutated particles are placed in the new population P';
[0120] S7, repeat S3 to S6 until all particles in the current population P are visited;
[0121] S8, execute environment selection to generate the next generation population;
[0122] S9, repeat steps S3 to S8 until the algorithm termination condition is met;
[0123] S10. Output the final optimized solution of the given problem.
[0124] In specific implementation, for large-scale dual-objective problems, Figure 2 Statistics of IGD results achieved on 36 test instances in the LSMOP benchmark set for the six compared algorithms are shown, highlighting the best result in each row. Figure 3 Statistics of HV results achieved on 36 test instances in the LSMOP benchmark set for the six compared algorithms are shown, highlighting the best result in each row. Figure 2 and Figure 3Shows the comparison between the multi-strategy two-stage competitive swarm optimization method (MSTSCSO) in the present invention and different types of existing large-scale MOEAs (i.e., DGEA, LMOCSO, LMOEA-DS, MMOPSO, SECSO) from the perspectives of the finally obtained IGD and HV.
[0125] Example Two:
[0126] Please refer to Figure 1 、 Figure 5-7 A multi-strategy two-stage competitive swarm optimization method, including the following steps:
[0127] S1. For large-scale three-objective optimization problems, initialize and set the basic parameters of the algorithm. The basic parameters include the population size N = 100, the optimization termination computing resource maxFE = 300000, the proportion Rate of the first stage in the entire evolution stage = 0.6, the step acceleration Acc = 6 / 45, ψ = 0.6, the number of independent runs Runs = 20. For DGEA (Adaptive Offspring Generation Method for Large-Scale Multi-Objective Optimization), the number r of direction vectors is set to 10. For LMOEA-DS (Large-Scale Evolutionary Multi-Objective Optimization Algorithm Assisted by Oriented Sampling), the clustering reference vector N w and the number N of solutions randomly generated along each search direction s are set to 10 and 30. For (Efficient Large-Scale Multi-Objective Optimization Method Based on Competitive Swarm Optimizer), the parameters r 1 and r 2 are randomly selected from [0, 1]. For SECSO (Self-Search Competitive Swarm Algorithm) and MMOPSO (Multi-Objective Particle Swarm Algorithm with Multiple Search Strategies), there are no parameter settings. In addition, in all experiments, the number of sub-components of each variable group nk is set to 5;
[0128] S2. Initialize the population P and the reference vector V;
[0129] S3. Randomly select two particles from the population P for competition. The particle with a fitness exceeding the preset value is the winner particle, and the particle with a fitness lower than the preset value is the loser particle. Delete the two selected particles from the population P;
[0130] S4. Satisfy the execution condition of the first stage of the algorithm FE / maxFE < Rate, where FE represents the currently used computing resource and maxFE represents the optimization termination computing resource. Execute the fuzzy search strategy for the loser particle and the adaptive bi-directional sampling strategy for the winner particle. The loser particle and its sampled particles learn from the winner particle;
[0131] S4.1. Execute the fuzzy search strategy for the loser particle;
[0132] S4.1.1. Divide the evolution process into multiple fuzzy sub - stages. The specific division steps are as follows:
[0133]
[0134] Among them, S is the number of sub - stages divided in the fuzzy search stage, Step(i) is the cumulative step - length of the first i sub - stages in the fuzzy search stage, the default setting of Step(i) is Step(i)=0, Rate represents the proportion of the fuzzy search stage in the whole evolution stage, Acc>0 is the step - acceleration, which can control the step - acceleration between sub - stages. represents the floor operation on internal elements. When i in Step(i) takes the value of S, that is, when Step(S)<Rate, add Step(S + 1)=Rate;
[0135] S4.1.2. Determine the upper bound Г u and the lower bound Г l of the fuzzy search by fuzzifying the original decision variable vector X. The specific calculation formula is as follows:
[0136]
[0137] Among them, X represents the decision variable vector, X u represents the upper bound of X, X l represents the lower bound of X. represents the floor operation on internal elements. represents the ceiling operation on internal elements, and i represents the i - th sub - stage;
[0138] S4.1.3. With the particle as the center, divide the search direction of the particle into two - dimensional sub - spaces according to Cartesian coordinates, and divide the search space [Г l , Г u into four quadrants in the sub - space: (+,+), (-,+), (-,-) and (+,-). After the division, perform Gaussian distribution sampling in each sub - space. The specific sampling process is as follows:
[0139]
[0140] Among them, D represents the dimension of the decision space. represents the element in Г l divided into the x 1 coordinate in the two - dimensional sub - space. represents the element in Г l divided into the y 1 coordinate in the two - dimensional sub - space. represents the element in Г uThe elements in are divided into two-dimensional subspaces x 2 coordinate, Indicates Г u The elements in are divided into y in the two-dimensional subspace 2 coordinate;
[0141] Taking the first quadrant (+,+) as an example, the Gaussian distribution sampling interval of x is Then you can use μ x +3·σ x =x 2 Sure The sampling interval of the Gaussian distribution of y is Then you can use μ y +3·σ y =y 2 Sure μ in the remaining quadrants x , σ x , μ y and σ y The determination is similar to the above, so I will not go into details here. The following table gives the μ of all quadrants. x , σ x , μ y and σ y .
[0142]
[0143]
[0144] x s :N(u x ,σ x 2 ), y s :N(μ y ,σ y 2 ),N(μ x ,σ x 2 ) means that it obeys the mean μ x and variance σ x Gaussian distribution; N(μ y ,σ y 2 ) means that it obeys the mean μ y and variance σ y Gaussian distribution; S = (x s ,y s ) indicates sampling a solution in the subspace, and four different subspaces can sample four different solutions.
[0145] vl (t+1)=r 0 ·v l (t)+r 1 ·(x w (t)-x l (t))
[0146] x l (t+1)=x l +v l (t+1)+r 0 (v l (t+1)-v l (t))
[0147] where r 1 and r 2 is a random number between 0 and 1; x w (t) and x l (t) represents the positions of the winner and loser particles and their sampling particles; v l (t) The velocity of the loser particle and its sampled particle in the tth iteration
[0148] S4.2, executing an adaptive bidirectional sampling strategy on the winner particles;
[0149] S4.2.1, using a displacement-based density estimation strategy to calculate the fitness of each particle;
[0150] S4.2.2. Set the current position of particle p to X p , and generate its reverse point Op;
[0151] S4.2.3. X p Set as the starting point, from X p Starting from point L, search in two directions: the lower boundary point L and the reverse point Op;
[0152] S4.2.4. Sample solution a in two search directions 1 and a 2 Perform calculations
[0153] S5. The execution condition of the second stage of the algorithm is met, FE / maxFE ≥ Rate, where FE represents the currently used computing resources and maxFE represents the optimization termination computing resources. The loser particles conduct enhanced convergence learning towards the winner particles. The specific process is as follows:
[0154] S5.1. By performing non-dominated sorting on all particles in the population, the particle at the first frontier is taken as the best particle Gbest in the population;
[0155] S5.2, randomly select a particle from Gbest, denoted as particle g;
[0156] S5.3. The update strategy of loser particles is as follows:
[0157] v l (t+1)=r 0 *v l (t)+r 1 *[x w (t)-x l (t)]+ψ*r 2 *[x g (t)-x l (t)]
[0158] x l (t+1)=x l +v l (t+1)+r 0 *[v l (t+1)-v l (t)]
[0159] Among them, x w (t) represents the position of the winner particle in the population after the tth iteration, x l (t) represents the position of the loser particle in the population after the tth iteration, x g (t) represents the position of g particle in the population after the tth iteration, x l (t+1) represents the position of the loser particle in the population after the t+1th iteration, r 0 、r 1 and r 2 Represent three different random numbers between 0 and 1, v l (t) represents the velocity of the loser particles in the population after the tth iteration, v l (t+1) represents the velocity of the loser particle in the population after the t+1th iteration, ψ is the particle x g Control parameters of
[0160] S6, the winner particles and their sampled particles and the updated loser particles and their sampled particles are mutated by polynomial mutation, and the mutated particles are placed in the new population P';
[0161] S7, repeat S3 to S6 until all particles in the current population P are visited;
[0162] S8, execute environment selection to generate the next generation population;
[0163] S9, repeat steps S3 to S8 until the algorithm termination condition is met;
[0164] S10. Output the final optimized solution of the given problem.
[0165] In specific implementation, for large-scale three-objective problems, Figure 5 Statistics of IGD results achieved on 36 test instances in the LSMOP benchmark set for the six compared algorithms are shown, highlighting the best result in each row. Figure 6 Statistics of HV results achieved on 36 test instances in the LSMOP benchmark set for the six compared algorithms are shown, highlighting the best result in each row. Figure 5 and Figure 6 The comparison between the multi-strategy two-stage competitive group optimization method (MSTSCSO) in the present invention and the existing different types of large-scale MOEAs (i.e., DGEA, LMOCSO, LMOEA-DS, MMOPSO, SECSO) from the perspective of the final IGD and HV is shown.
[0166] In the present invention, the first evolutionary stage aims at how to efficiently search the entire space. At this stage, the algorithm can search the entire space more efficiently with the assistance of the fuzzy search strategy and the adaptive bidirectional sampling strategy. The second evolutionary stage aims to appropriately improve the population convergence in the later stage of evolution. At this stage, by proposing a new update learning strategy to accelerate convergence, the algorithm can achieve better convergence effect even when computing resources are limited.
[0167] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A competitive group optimization method based on multiple strategies and two stages, characterized by: It includes the following steps: S1. Initialize the basic parameters of the algorithm, where the basic parameters include the population size N, the optimization termination condition, the proportion Rate of the first stage in the whole evolution stage, and the step acceleration Acc; S2. Initialize the population P and the reference vector V; S3. Randomly select two particles from the population P to compete. The particle with fitness exceeding the preset value is the winner particle, and the particle with fitness lower than the preset value is the loser particle. Delete the two selected particles from the population P; S4. When the execution condition of the first stage of the algorithm FE / maxFE < Rate is satisfied, where FE represents the currently used computing resources and maxFE represents the optimization termination computing resources, perform the fuzzy search strategy on the loser particle and the adaptive two-way sampling strategy on the winner particle. The loser particle and its sampled particles learn from the winner particle; Performing the fuzzy search strategy on the loser particle includes the following steps: S4.1.
1. Divide the evolution process into multiple fuzzy sub-stages; S4.1.
2. Determine the upper bound of the fuzzy search by fuzzifying the original decision variable vector X u and the lower bound Г l ; S4.1.
3. With the particle as the center, divide the search direction of the particle into two-dimensional sub-spaces according to Cartesian coordinates; S4.1.
4. The loser particle and its sampled particles learn from the winner particle; Performing the adaptive two-way sampling strategy on the winner particle includes the following steps: S4.2.
1. Adopt the displacement-based density estimation strategy to calculate the fitness of each particle; S4.2.
2. Set the current position of particle p to X p , and generate its reverse point Op; S4.2.
3. X p Set as the starting point, from X p Starting from point L, search in two directions: the lower boundary point L and the reverse point Op; S4.2.
4. Calculate the sampled solutions a1 and a2 in two search directions S5. When the execution condition of the second stage of the algorithm FE / maxFE ≥ Rate is satisfied, where FE represents the currently used computing resources and maxFE represents the optimization termination computing resources, the loser particle performs enhanced convergence learning from the winner particle; The specific steps for the loser particle to perform enhanced convergence learning from the winner particle in step S5 are as follows: S5.
1. By performing non-dominated sorting on all particles in the population, the particles in the first front are used as the optimal particles Gbest in the population; S5.
2. Randomly select a particle from Gbest and denote it as particle g; S5.
3. The update strategy of the loser particle is as follows: v l (t+1)=r0*v l (t)+r1*[x w (t)-x l (t)]+ψ*r2*[x g (t)-x l (t)] x l (t+1)=x l +v l (t+1)+r0*[v l (t+1)-v l (t)] Among them, x w (t) represents the position of the winner particle in the population after the tth iteration, x l (t) represents the position of the loser particle in the population after the tth iteration, x g (t) represents the position of g particle in the population after the tth iteration, x l (t+1) represents the position of the loser particle in the population after the t+1th iteration, r0, r1 and r2 represent three different random numbers between 0 and 1, v l (t) represents the velocity of the loser particles in the population after the tth iteration, v l (t+1) represents the velocity of the loser particle in the population after the t+1th iteration, ψ is the particle x g Control parameters of S6. The winner particle, its sampled particles, and the updated loser particle and its sampled particles all mutate in the way of polynomial mutation, and the mutated particles are all put into the new population P'; S7. Repeat S3 to S6 until all particles in the current population P are visited; S8. Perform environmental selection to generate the next generation population; S9. Repeat steps S3 to S8 until the algorithm termination condition is satisfied; S10. Output the final optimization solution given the topic.
2. The competitive group optimization method based on multiple strategies and two stages according to claim 1 is characterized in that: The arithmetic expression for the division steps in step S4.1.1 is as follows: Among them, S is the number of sub - stages divided in the fuzzy search stage, Step(i) is the cumulative step length of the first i sub - stages in the fuzzy search stage, the default setting of Step(i) is Step(i)=0, Rate represents the proportion of the fuzzy search stage in the whole evolution stage, Acc>0 is the step acceleration, which can control the step acceleration between sub - stages. It represents the floor operation on internal elements. When the value of i in Step(i) is S, that is, when Step(S)<Rate, add Step(S + 1)=Rate.
3. The competitive group optimization method based on multiple strategies and two stages according to claim 2 is characterized in that: The upper bound Γ in S4.1.2 u and the lower bound Г l The specific calculation formula is as follows: Among them, X represents the decision variable vector, X u represents the upper bound of X, X l represents the lower bound of X, Indicates that the internal elements are rounded down. Indicates rounding up the internal elements, and i indicates the i-th sub-stage.
4. The competitive group optimization method based on multiple strategies and two stages according to claim 3 is characterized in that: The division process in step S4.1.3 divides the search space [Г l ,G u ] is divided into four quadrants in the subspace: (+,+), (-,+), (-,-) and (+,-), where + and - respectively represent the corresponding Г l and G u After the division is completed, Gaussian distribution sampling is performed in each subspace. The specific sampling process is as follows: Where D represents the dimension of the decision space, Indicates Г l The elements in are divided into x1 coordinates in a two-dimensional subspace, Indicates Г l The elements in are divided into y1 coordinates in the two-dimensional subspace, Indicates Г u The elements in are divided into x2 coordinates in the two-dimensional subspace, Indicates Г u The elements in are divided into y2 coordinates in the two-dimensional subspace.
5. The competitive group optimization method based on multiple strategies and two stages according to claim 1 is characterized in that: The calculation formula for the fitness Fitness(p) of the particle in step S4.2.1 is as follows: in, Represented as the j-th target value of particle p, represents the jth target value of particle q, M represents the number of targets, It means to sum all the elements of the internal data from j=1 to j=M, min means to perform minimum operation on the internal data, max{*} means to take the maximum value of the internal data, q∈P\{p} means q is a particle in the population P that is different from p.
6. The competitive group optimization method based on multiple strategies and two stages according to claim 5 is characterized in that: The generation method of the reverse point Op is as follows: On=X u +X l -X p Among them, X represents the decision variable vector, X u represents the upper bound of X, X l represents the lower bound of X, and the current position of particle p is X p ; The specific representation of the search direction in step S4.2.3 is as follows: v + =L-X p v - =Op-X p Among them, v + From X p Starting from point L, we search in the direction of the lower boundary point, v - From X p The direction of searching from point Op to the reverse point Op; The specific calculation formulas for the sampled solutions a1 and a2 in step S4.2.4 are as follows: a1=X p +λ*w(p)*v + a2=X p +λ*w(p)*v - Among them, w(p) is the control parameter that determines the sampling range, Fitness(p) represents the fitness of particle p, and Fitness max Indicates the maximum fitness of the current generation, Fitness min represents the minimum fitness of the current generation, Maxgen is the maximum evolutionary generation of the algorithm, gen is the current evolutionary generation of the algorithm, λ is a random number between 0 and 1, and a1 and a2 are two different sampled solutions.
