A path planning method based on self-organizing multimodal multi-objective quantum particle swarm optimization algorithm
Through self-organizing network training, the best neighbors and partitions of particles are obtained to determine the population center. Combined with the parameter-free niche method, the problem of equivalent solution search and diversity convergence in multi-modal multi-objective path optimization is solved, and the problem of path planning is realized. Diversity and efficiency improvements.
Patent Information
- Application Number
- CN202011577001.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-12-28
AI Technical Summary
Existing multi-objective optimization algorithms are difficult to effectively solve multi-modal multi-objective path optimization problems, especially in the challenges of searching for all equivalent solutions and maintaining diversity and convergence of the decision space and objective space.
A multi-modal multi-objective quantum particle swarm optimization algorithm based on self-organization is used, combined with the parameter-free self-organizing niche method, to obtain the best neighbors of particles through self-organizing network training, determine the population center and the global best position by partition, and use distance Maintain solution diversity and convergence.
In path planning problems, all equivalent solutions can be searched, the diversity and convergence of the decision space and target space can be maintained, and a variety of equivalent paths can be provided for users to choose.
Smart Images

Figure CN112734088B
Abstract
Description
Technical Field
[0001] The invention relates to a path planning problem. Background Art
[0002] In daily life, route planning, logistics vehicle scheduling, railway scheduling, etc. all require planning an optimal path that meets the needs of maximizing economic benefits based on demand. To some extent, this kind of social activities that humans engage in can be regarded as an optimization problem. There may be multiple paths in this kind of problem that have the same social benefits and other goals. Therefore, this kind of problem is a multi-modal and multi-objective path optimization problem.
[0003] Multimodal multi-objective optimization problems involve the existence of multiple equivalent solutions in the decision space corresponding to the same objective value in the objective space. Generally speaking, the focus of multi-objective optimization algorithms is to search for solutions in the objective space that are closer to the true Pareto frontier, which will result in poor diversity of solutions in the decision space found by most multi-objective optimization algorithms. Therefore, the existing multi-objective optimization algorithms cannot effectively solve multimodal multi-objective problems, especially the application of multi-objective optimization algorithms to solve multi-path planning problems. Recently, some modified multi-objective optimization algorithms have been used to deal with multimodal multi-objective problems. However, the performance of these algorithms is difficult to achieve satisfactory results, mainly because these modified algorithms are essentially multi-objective algorithms, and the focus is on dealing with multi-objective problems; secondly, these modified multi-objective algorithms are difficult to find all equivalent solutions when dealing with multimodal multi-objective optimization problems.
[0004] Microhabitat technology has been widely used to deal with multimodal optimization problems and has achieved excellent results. Given that multimodal multi-objective optimization problems involve multimodal problems, microhabitat technology is introduced into multi-objective problems to deal with multimodal multi-objective problems. For example, DN-NSGAII, MO_Ring_PSO_SCD, MMO-CLRPSO, SSMOPSO. These algorithms can effectively deal with multimodal multi-objective problems using different microhabitat technologies. However, these microhabitats require a predefined parameter when used and cannot adapt to the parameters. Therefore, it is a challenge to adapt the microhabitat parameters or the microhabitat without parameters in solving multimodal multi-objective problems. Summary of the invention
[0005] In response to the current problems, the present invention provides a self-organizing multimodal multi-objective quantum particle swarm optimization method, and uses a parameter-free self-organizing microhabitat method. It can search for all equivalent solutions in the decision space and maintain the diversity and convergence of the solutions in the decision space and the target space, and is successfully applied to solving path planning problems.
[0006] To achieve the above object, the technical solution adopted by the present invention is a path planning method based on a self-organizing multi-modal multi-objective quantum particle swarm optimization algorithm, comprising the following steps:
[0007] S1. Initialize a population POP with NP particles in the decision space and calculate the objective function value;
[0008] S2. For each particle POP i The individual best historical position pbest i Defined as the position of the particle, the set of the best historical positions of each particle PBset i is the position of the particle, i.e. PBset i =POP i ,pbest i =POP i ;
[0009] S3. Calculate the best historical position pbest of all particles i The average position of mbest;
[0010] S4. Perform non-dominated sorting on the population POP and obtain the non-dominated solution PSPF. The first solution in the non-dominated solution PSPF is the optimal individual position gbest of the population POP.
[0011] S5. Initialize the self-organizing model SOM;
[0012] S6. Initialize a redundant archive RA to be empty;
[0013] S7. The algorithm enters the main loop. If the iteration end condition is not met, it enters S8;
[0014] S8. Update the self-organizing network SOM and obtain the best neighbor particle. The specific steps are as follows:
[0015] S81. Initialize the newly generated non-dominated solutions in the population POP as the training set trainingset of the self-organizing network;
[0016] S82. Based on the POP of each individual in the population u Initialize the weight vector as Here d is the number of decision variables;
[0017] S83. The self-organizing model is trained T times;
[0018] S84. In each training process, for each sample in the training set i ,set up The best neural unit for this sample;
[0019] S85. Update weight vector And the learning rate η(t), the update formula is as follows:
[0020]
[0021]
[0022] Among them, T is the total number of training times, t is the current number of training times, and η 0 is the initial learning rate.
[0023] S86. Update neurons Neighbor neuron neighbor = {neighbor 1 ,neighbor 2 ,....neighbor m}, the update formula is as follows:
[0024]
[0025]
[0026] Among them, σ(t) is the learning radius of the t-th training, σ 0 is the initial learning radius.
[0027] S87. The self-organizing model training is completed. For each particle POP i , POP i Best neuron u i Obtained through self-organizing models;
[0028] S88. Get the best neuron u i Neighbor neighbor = {neighbor 1 ,neighbor 2 ,....neighbor m}
[0029] S89. Get the best historical individual set of all neighbors And perform non-dominated sorting to obtain the non-dominated solution candidate_neighbor. The first non-dominated solution in candidate_neighbor is the particle POP. i The best neighbor;
[0030] S810. Obtain the best neighbors nbest of all individuals.
[0031] S9. Population update iteration. The specific steps are as follows:
[0032] S91. Update the p of each particle iAccording to formula 5:
[0033]
[0034] Among them, λ and r are random numbers between 0 and 1, ξ is a random integer, g and G are the current iteration number and the maximum iteration number, pbest i and nbest i POP i The individual's best historical position and best neighbor, gbest is the global best individual.
[0035] S92. Update the position of each particle according to Formula 6;
[0036]
[0037] Where μ is a random number between 0 and 1, and β is a gradually decreasing parameter defined as follows:
[0038]
[0039] Among them, β 0 and β 1 are two constants, and β 0 <β 1 .
[0040] S93. Calculate each updated POP i The objective function of
[0041] S94. Update each particle POP i The best historical position collection PBset i And perform non-dominated sorting, in PBset i The first particle in is pbest i ;
[0042] S95. Merge PBset of all particles i And perform non-dominated sorting to obtain the non-dominated solution PSPF;
[0043] S96. Divide the decision space into k=2 equal parts d equal regions, where d is the number of decision variables, and records the non-dominated solutions {pspf 1 ,pspf 2 ,...,pspf k} and the number of non-dominated solutions in each subregion {s 1 ,s 2 ,...s k};
[0044] S97. According to the region division results, find the region with the least number of non-dominated solutions and the non-dominated solutions in this region
[0045] S98. Update the mean position of the population mbest. Calculate The average position in the decision space is mbest;
[0046] S99.According to Update the global best position of the population. The first particle of is gbest;
[0047] S10. When the number of PSPF archive sets is greater than NP, external archive set PSPF maintenance is performed. The main steps are as follows:
[0048] S10-1. Initialize a temporary solution set tempPSPF. For the decision space, find the maximum and minimum values of each dimension in each decision vector of PSPF and put them into the temporary solution set tempPSPF, and remove them from PSPF.
[0049] S10-2. Calculate the distances between solutions in tempPSPF and PSPF respectively, find all solutions with the minimum distance between PSPF and each solution in tempPSPF, and find a solution with the maximum distance from these minimum distance solutions and move it from PSPF to tempPSPF until the number of solutions in tempPSPF is equal to NP;
[0050] S10-3. Release the remaining non-dominated PSPF into the redundant matrix RA, and reassign tempPSPF to PSPF;
[0051] S10-4. Return PSPF and tempPSPF.
[0052] S11. The population iteration ends. PSPF and RA are merged and non-dominated sorting is performed to obtain the non-dominated solution PSPF;
[0053] S12. Perform step S10 to select various non-dominated solutions and output the final solution PSPF.
[0054] Compared with the prior art, the present invention has the following advantages:
[0055] 1. Compared with the basic particle swarm algorithm, the present invention uses the quantum particle swarm algorithm to process multi-modal multi-objective path planning problems with better global search capabilities. A niche technology based on neighbor leaders is introduced into the quantum particle swarm position update formula, which is more conducive to searching for equivalent optimal solutions. In the method of obtaining neighbor leaders, the present invention uses self-organizing network training to obtain neighbor leaders, which is a novel method.
[0056] 2. In order to prevent particles from converging to the particle center position mbest, the present invention uses a partitioning method to determine the mbest and gbest of the population. In this method, the decision space is divided into multiple identical subspaces, and the non-dominated solutions in the subspace containing the least non-dominated solutions are used to update the mbest and gbest of the population.
[0057] 3. A distance-based external archive set is used in this method to maintain the diversity of solutions. This method can continuously maintain the diversity of the archive solution set during the evolutionary process, and can simultaneously maintain the diversity and convergence of the archive solution set. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 The figure is an overall flow chart of the method of the present invention.
[0059] Figure 2 This is a path planning example. DETAILED DESCRIPTION
[0060] In order to better understand the present invention, Figure 2 The present invention is described in detail with examples.
[0061] In the attached Figure 2 In the figure, the city grid is 50*50. The white area is the building and cannot be passed through. The black area is the city road and the road intersection area is the intersection. The red area on the map is the road congestion area (1*1), the blue point on the map is the starting point (START), and the green point is the destination (GOAL). The problem to be solved has three objective functions, namely: 1) F 1 1) The path from the starting point (START) to the destination (GOAL) is the shortest; 2) The number of intersections from the starting point (START) to the destination (GOAL) is the least; 3) The number of red congested areas from the starting point to the destination is the least. The coordinates of the map are known. In the map, each white area 1*1 marked as 0 is an impassable area, and the black area 1*1 marked as 1 indicates a passable area.
[0062] The flow chart of the present invention is as follows Figure 1 As shown, the specific implementation steps are as follows:
[0063] Step 1. Initialize the population POP according to the coordinates of each intersection, with a population size of 100. The genetic encoding method of each particle is POP i = {r 1 ,r 2 ,...r i ,...,r n}, n represents the number of intersections, r i=1 means passing the i-th intersection, r i = 0 means passing the intersection. In this encoding method, all r i =1 indicates the intersections passed successively, and the sum of the distances between the intersections passed successively is calculated as the total length of the path, and the number of red congested areas and intersections on the path is counted as three objective functions.
[0064] Step 2. Initialize the best position Pbest and best position set Pbestset of each particle according to the encoding method.
[0065] Step 3. Calculate the center position mbest of the population based on the Pbest of all particles.
[0066] Step 4. Initialize the self-organizing network model SOM.
[0067] Step 5. Iterative evolution process
[0068] Step 5.1. Train the self-organizing network model SOM according to the particle position to obtain the best neighbor position of each particle.
[0069] Step5.2. Update the position of each particle.
[0070] Step 5.3. Obtain the non-dominated solution PSPF and redundant solution RA in the population
[0071] Step 5.4. Determine the mbest and gbest of the updated population.
[0072] Step 6. Iteration ends. Merge all PSPFs and RAs.
[0073] Step7. Select the final solution set PSPF based on the diversity selection mechanism MAXMINdiversity.
[0074] Step 8. Output PSPF and decode. For a solution PSPF of the PSPF solution set i = {r 1 ,r 2 ,...r i ,...,r n}, whose gene position is r i =1 means passing the intersection, r i =0 means that the intersection has not been passed, and the sum of the distances between the two is calculated in sequence as the total distance.
[0075] The present invention aims to solve the multi-path planning problem and provide multiple reliable paths for the public to choose from. The difficulty lies in how to search for multiple paths under the same objective function. To solve this problem, the present invention proposes a method for solving the path planning problem based on a quantum particle swarm algorithm based on a self-organizing network. The method uses the training ability of a self-organizing model to obtain the best neighbors of particles to participate in particle evolution, and can search for more equivalent paths.
[0076] The present invention includes: a self-organizing network model is used to obtain the best neighbor position of each particle, and the neighbor position participates in the update of the particle position in the quantum particle swarm algorithm; the decision space is divided into multiple equal areas, and in the process of updating the particle position, the center position and the global best position of the population are determined according to the area with the least number of Pareto optimal solutions in the decision space sub-division, thereby guiding the evolutionary update of the particle position; in order to maintain the diversity and convergence of the Pareto solution archive set in the decision space and the target space, a file selection update strategy is used to maintain the diversity and convergence of the archive set. The present invention can not only find diverse and equivalent Pareto solutions in the decision space, but also maintain the convergence of the solution set in the target space. At the same time, it can better solve the path planning problem and provide users with multiple equivalent paths for selection when planning paths.
[0077] Although the specific implementation process of the present invention is described above in conjunction with the accompanying drawings, the present invention is not limited to the above specific implementation schemes. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A path planning method based on self-organizing multi-modal multi-objective quantum particle swarm, characterized by: The following steps are involved: S1. Initialize a population POP with NP particles in the decision space and calculate the objective function value; initialize the population POP according to the coordinates of each intersection, and the population size is 100; the genetic encoding method of each particle is POP i ={r1,r2,...r i ,...,r n }, n represents the number of intersections, r i =1 means passing the i-th intersection, r i =0 means passing the intersection; In this encoding method, all r i =1 indicates the intersections passed successively, and the sum of the distances between the intersections passed successively is calculated as the total length of the path, and the number of red congested areas and intersections on the path are counted as three objective functions; S2. For each particle POP i The individual best historical position pbest i Defined as the position of the particle, the set of the best historical positions of each particle PBset i is the position of the particle, i.e. PBset i =POP i ,pbest i =POP i ; S3. Calculate the best historical position pbest of all particles i The average position of mbest; S4. Perform non-dominated sorting on the population POP and obtain the non-dominated solution PSPF. The first solution in the non-dominated solution PSPF is the optimal individual position gbest of the population POP. S5. Initialize the self-organizing model SOM; S6. Initialize a redundant archive RA to be empty; S7. The algorithm enters the main loop. If the iteration end condition is not met, it enters S8. S8. Update the self-organizing network SOM and obtain the best neighbor particle. The specific steps are as follows: S81. Initialize the newly generated non-dominated solutions in the population POP as the training set trainingset of the self-organizing network; S82. Based on the POP of each individual in the population u Initialize the weight vector as Here d is the number of decision variables; S83. The self-organizing model is trained T times; S84. In each training process, for each sample in the training set i ,set up The best neural unit for this sample; S85. Update weight vector And the learning rate η(t), the update formula is as follows: Where T is the total number of training times, t is the current number of training times, and η0 is the initial learning rate; S86. Update neurons Neighbor neurons neighbor = {neighbor1,neighbor2,....neighbor m }, The update formula is as follows: Among them, σ(t) is the learning radius of the tth training, and σ0 is the initial learning radius; S87. The self-organizing model training is completed; for each particle POP i , POP i Best Neuron u i Obtained through self-organizing models; S88. Get the best neuron u i Neighbor neighbor = {neighbor1,neighbor2,....neighbor m } S89. Get the best historical individual set of all neighbors And perform non-dominated sorting to obtain the non-dominated solution candidate_neighbor. The first non-dominated solution in candidate_neighbor is the particle POP. i The best neighbor; S810. Obtain the best neighbor nbest of all individuals; S9. Population update iteration; the specific steps are as follows: S91. Update the p of each particle i According to formula 5: Among them, λ and r are random numbers between 0 and 1, ξ is a random integer, g and G are the current iteration number and the maximum iteration number, pbest i and nbest i POP i The best individual historical position and best neighbor, gbest is the best individual in the world; S92. Update the position of each particle according to formula 6. Where μ is a random number between 0 and 1, and β is a gradually decreasing parameter defined as follows: Among them, β0 and β1 are two constants, and β0<β1; S93. Calculate each updated POP i The objective function of S94. Update each particle POP i The best historical position collection PBset i And perform non-dominated sorting, in PBset i The first particle in is pbest i ; S95. Merge PBset of all particles i And perform non-dominated sorting to obtain the non-dominated solution PSPF; S96. Divide the decision space into k=2 equal parts d equal regions, where d is the number of decision variables, and records the non-dominated solutions {pspf1,pspf2,...,pspf k } and the number of non-dominated solutions in each subregion {s1,s2,...s k }; S97. According to the region division results, find the region with the least number of non-dominated solutions and the non-dominated solutions in this region S98. Update the average position of the population mbest; calculate The average position in the decision space is mbest; S99.According to Update the global best position of the population; The first particle of is gbest; S10. When the number of PSPF archive sets is greater than NP, external archive set PSPF maintenance is performed. The main steps are as follows: S10-1. Initialize a temporary solution set tempPSPF. For the decision space, find the maximum and minimum values of each dimension in each decision vector of PSPF and put them into the temporary solution set tempPSPF, and then Removed from PSPF; S10-2. Calculate the distance between solutions in tempPSPF and PSPF respectively, and find the distance between PSPF and Find all solutions with the smallest distance between each solution in tempPSPF, and find a solution with the largest distance among these solutions with the smallest distance and move it from PSPF to tempPSPF until the number of solutions in tempPSPF is equal to NP; S10-3. Release the remaining non-dominated PSPF into the redundant matrix RA, and reassign tempPSPF to PSPF; S10-4. Return PSPF and tempPSPF; S11. The population iteration ends; merge PSPF and RA and perform non-dominated sorting to obtain the non-dominated solution PSPF; S12. Perform step S10 to select various non-dominated solutions and output the final solution PSPF; for a solution PSPF of the PSPF solution set i ={r1,r2,...r i ,...,r n }, whose gene position is r i =1 means passing the intersection, r i =0 means that the intersection has not been passed, and the sum of the distances between the two is calculated in sequence as the total distance.
