CN111369000A - High-dimensional multi-target evolution method based on decomposition - Google Patents
High-dimensional multi-target evolution method based on decomposition Download PDFInfo
- Publication number
- CN111369000A CN111369000A CN202010145618.2A CN202010145618A CN111369000A CN 111369000 A CN111369000 A CN 111369000A CN 202010145618 A CN202010145618 A CN 202010145618A CN 111369000 A CN111369000 A CN 111369000A
- Authority
- CN
- China
- Prior art keywords
- population
- individual
- individuals
- target
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000000354 decomposition reaction Methods 0.000 title claims abstract description 8
- 239000013598 vector Substances 0.000 claims abstract description 143
- 238000005457 optimization Methods 0.000 claims abstract description 47
- 230000002068 genetic effect Effects 0.000 claims abstract description 12
- 230000035772 mutation Effects 0.000 claims description 16
- 230000001174 ascending effect Effects 0.000 claims description 12
- 238000010606 normalization Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000011156 evaluation Methods 0.000 claims description 5
- 238000012163 sequencing technique Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 7
- 230000007613 environmental effect Effects 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010353 genetic engineering Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biophysics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Biomedical Technology (AREA)
- Genetics & Genomics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Physiology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明提供了一种基于分解的高维多目标进化方法,生成参考向量,将高维多目标优化问题分解为多个单目标优化子问题,基于参考向量构建单目标优化子问题的子种群,运用分配机制为子种群分配个体,并构建邻域子种群,运用所构建的邻域子种群选择个体进行遗传进化,并运用设计的局部和全局选择策略选择种群中性能优异的个体进入下一代种群,重复执行进化过程直到终止并获得高维多目标优化问题的Pareto解集。本发明有效降低问题的求解复杂度,并解决多目标优化算法难以保证种群收敛性和多样性之间良好平衡的问题,获得良好多样性和收敛性的Pareto解集,有效提高算法效率,能有效保证算法的全局收敛性和种群多样性。
The invention provides a decomposition-based high-dimensional multi-objective evolution method, generating a reference vector, decomposing a high-dimensional multi-objective optimization problem into a plurality of single-objective optimization sub-problems, and constructing a sub-population of the single-objective optimization sub-problems based on the reference vector, Use the allocation mechanism to assign individuals to the sub-population, and construct a neighborhood sub-population, use the constructed neighborhood sub-population to select individuals for genetic evolution, and use the designed local and global selection strategies to select individuals with excellent performance in the population to enter the next generation of populations , repeat the evolution process until termination and obtain the Pareto solution set of the high-dimensional multi-objective optimization problem. The invention effectively reduces the solving complexity of the problem, solves the problem that the multi-objective optimization algorithm is difficult to ensure a good balance between population convergence and diversity, obtains a Pareto solution set with good diversity and convergence, effectively improves the algorithm efficiency, and can effectively Ensure the global convergence and population diversity of the algorithm.
Description
技术领域technical field
本发明涉及智能优化算法领域,尤其是一种多目标进化方法。The invention relates to the field of intelligent optimization algorithms, in particular to a multi-objective evolution method.
背景技术Background technique
现实生活中的许多问题实际上都是多目标优化问题(MOPs),即具有两个及以上的目标优化问题。由于多目标优化问题具有多个冲突目标,所以最终得到的不是一个最优解而是一组Pareto解集。随着目标个数的增加,优化问题由原来的2-3个目标增加到4个及以上,问题就成为高维多目标优化问题(MaOPs)。由于目标数量增加,种群中非支配个体的数量急剧增加,当目标增加到一定数量时,种群中几乎所有个体都是非支配的,从而使进化种群的选择压力迅速下降,即当采用支配关系作为选择有限种群规模个体的标准时,种群向Pareto前沿(Pareto Front,PF)收敛的压力。现有多目标进化算法在解决高维多目标优化问题时,为了保证种群多样性和收敛性的良好平衡对进化算法提出了巨大的挑战。尽管进化算法在求解多目标优化问题时显示了卓越的性能,但对于高维多目标优化问题,现有方法存在目标维数难以扩展、Pareto支配关系无法区分进化个体、多样性维护策略失效等困难。Many real-life problems are actually multi-objective optimization problems (MOPs), i.e. optimization problems with two or more objectives. Since the multi-objective optimization problem has multiple conflicting objectives, the final result is not an optimal solution but a set of Pareto solutions. With the increase of the number of objectives, the optimization problem increases from the original 2-3 objectives to 4 or more, and the problem becomes a high-dimensional multi-objective optimization problem (MaOPs). Due to the increase in the number of targets, the number of non-dominated individuals in the population increases sharply. When the target increases to a certain number, almost all individuals in the population are non-dominated, so that the selection pressure of the evolutionary population decreases rapidly, that is, when the dominance relationship is used as the selection The pressure on the population to converge towards the Pareto Front (PF) when the criterion of finite population size individuals. When the existing multi-objective evolutionary algorithms solve high-dimensional multi-objective optimization problems, in order to ensure a good balance between population diversity and convergence, the evolutionary algorithms pose a huge challenge. Although evolutionary algorithms have shown excellent performance in solving multi-objective optimization problems, for high-dimensional multi-objective optimization problems, existing methods have difficulties such as difficulty in expanding the objective dimension, inability to distinguish evolutionary individuals by Pareto dominance, and failure of diversity maintenance strategies. .
目前所提出的高维多目标优化算法主要分为三类:The proposed high-dimensional multi-objective optimization algorithms are mainly divided into three categories:
1)基于Pareto支配的方法。该类方法通过修改Pareto支配关系或者多样性维护策略来增强选择压力,从而求解高维多目标优化问题。1) A method based on Pareto domination. This kind of method enhances the selection pressure by modifying the Pareto dominance relation or the diversity maintenance strategy, so as to solve the high-dimensional multi-objective optimization problem.
2)基于指标的方法。该类方法通过一些评价指标来引导种群的进化,从而求解高维多目标优化问题。2) Indicator-based approach. This kind of method guides the evolution of the population through some evaluation indicators, so as to solve the high-dimensional multi-objective optimization problem.
3)基于分解的方法。该类方法通过引入聚合函数将高维目标优化问题分解为几个多目标优化子问题或一系列单目标优化子问题,然后同时进化分解后的多目标或单目标优化子问题,从而求解高维多目标优化问题。3) Decomposition-based approach. This kind of method decomposes the high-dimensional objective optimization problem into several multi-objective optimization sub-problems or a series of single-objective optimization sub-problems by introducing aggregation functions, and then simultaneously evolves the decomposed multi-objective or single-objective optimization sub-problems, so as to solve high-dimensional optimization problems. Multi-objective optimization problem.
发明内容SUMMARY OF THE INVENTION
为了克服现有技术的不足,针对现有多目标进化算法在求解高维目标优化问题时难以有效平衡收敛性和多样性的不足,提出一种基于分解的高维多目标进化算法,主要包括参考向量生成、子种群构建、种群初始化、个体适应度评价、理想点和极值点计算与更新、目标向量归一化、目标向量与参考向量关联、种群非支配排序、邻域子种群构建、交叉变异个体选择、子代种群生成和环境选择策略。本发明生成一系列均匀分布的参考向量,利用参考向量将高维多目标优化问题分解为多个单目标优化子问题,基于参考向量构建单目标优化子问题的子种群,运用分配机制为子种群分配个体,并基于子种群构建邻域子种群,运用所构建的邻域子种群选择个体进行遗传进化,并运用设计的局部和全局选择策略选择种群中性能优异的个体进入下一代种群,重复执行进化过程直到算法终止并获得高维多目标优化问题的Pareto解集。通过基于分解的思想、交叉变异个体的选择策略、交叉和变异概率的自适应调整和环境选择策略等保证了算法在求解高维多目标优化问题时种群收敛性和多样性之间的良好平衡,有效的改善了基于Pareto支配关系的高维多目标优化算法在求解高维多目标优化问题时性能急剧恶化的缺点。In order to overcome the deficiencies of the existing technology, a high-dimensional multi-objective evolutionary algorithm based on decomposition is proposed, which mainly includes reference Vector generation, subpopulation construction, population initialization, individual fitness evaluation, ideal point and extreme point calculation and update, target vector normalization, target vector and reference vector association, population non-dominated sorting, neighborhood subpopulation construction, crossover Variant individual selection, offspring population generation, and environmental selection strategies. The invention generates a series of uniformly distributed reference vectors, uses the reference vectors to decompose the high-dimensional multi-objective optimization problem into multiple single-objective optimization sub-problems, builds sub-populations of the single-objective optimization sub-problems based on the reference vectors, and uses an allocation mechanism to create sub-populations. Allocate individuals, build neighborhood subpopulations based on subpopulations, use the constructed neighborhood subpopulations to select individuals for genetic evolution, and use the designed local and global selection strategies to select individuals with excellent performance in the population to enter the next generation population, and repeat the execution The evolution process is performed until the algorithm terminates and the Pareto solution set of the high-dimensional multi-objective optimization problem is obtained. Through the idea of decomposition, the selection strategy of crossover and mutation individuals, the adaptive adjustment of crossover and mutation probability, and the environment selection strategy, the algorithm ensures a good balance between population convergence and diversity when solving high-dimensional multi-objective optimization problems. The shortcomings of the high-dimensional multi-objective optimization algorithm based on Pareto dominance relation are effectively improved when solving high-dimensional multi-objective optimization problems.
本发明解决其技术问题所采用的技术方案包括以下步骤:The technical scheme adopted by the present invention to solve its technical problem comprises the following steps:
步骤1,参数设置:代数g=0,最大迭代次数Gmax,目标数量M≥4,种群规模N;
步骤2,生成N个参考向量W={W1,W2,...,WN}:
步骤2.1,采用正常边界交点(Penalty Boundary Intersection,PBI)方法在一个单位超平面L上生成分布均匀的参考点RP={RP1,RP2,…,RPN};Step 2.1, using the normal boundary intersection (Penalty Boundary Intersection, PBI) method to generate a uniformly distributed reference point RP={RP 1 ,RP 2 ,...,RP N } on a unit hyperplane L;
步骤2.2,基于参考点RP1,RP2,…,RPN在目标空间中构建均匀分布的参考向量W1,W2,…,WN,参考向量满足以下条件:Step 2.2, based on the reference points RP 1 , RP 2 ,...,RP N , construct uniformly distributed reference vectors W 1 , W 2 ,..., W N in the target space, and the reference vectors satisfy the following conditions:
其中表示参考向量Wi的第j维度的分量值,且 H表示将每个目标划分为H等份,生成参考向量的数量为N,其中 in represents the component value of the jth dimension of the reference vector Wi, and H means that each target is divided into H equal parts, and the number of generated reference vectors is N, where
步骤3,随机生成规模为N的初始种群Pg=0,并进行个体适应度评价:Step 3, randomly generate an initial population P g = 0 of size N, and perform individual fitness evaluation:
步骤3.1,在满足约束条件下,从决策空间中随机生成种群规模为N的初始种群Pg={X1,X2,...,Xi...,XN},其中Xi={x1,x2,...,xD},i=1,2,...,N,D表示决策变量Xi的维度,g表示当前种群的代数;Step 3.1, under the condition that the constraints are satisfied, randomly generate an initial population P g = {X 1 , X 2 ,...,X i ...,X N } with a population size of N from the decision space, where X i = {x 1 , x 2 ,...,x D }, i=1,2,...,N, D represents the dimension of the decision variable X i , and g represents the algebra of the current population;
步骤3.2,计算种群Pg中所有个体的目标向量F(X)=(f1(X),f2(X),...,fM(X)),X∈Pg,并令个体X的适应度值为Fit(F(X))=F(X);Step 3.2, calculate the target vector F(X)=(f 1 (X), f 2 (X),..., f M (X)) of all individuals in the population P g , X∈P g , and let the individual The fitness value of X is Fit(F(X))=F(X);
步骤3.3,基于所有个体的目标向量F(X),计算理想点Z*、极值点Znad和最差点Zworst,但在实际多目标优化过程中,理想点Z*、最差点Zworst和极值点Znad无法提前预知,基于当前种群Pg中个体的目标向量计算理想点Z*、最差点Zworst和极值点Znad为:Step 3.3, based on the target vector F(X) of all individuals, calculate the ideal point Z * , the extreme point Z nad and the worst point Z worst , but in the actual multi-objective optimization process, the ideal point Z * , the worst point Z worst and The extreme point Z nad cannot be predicted in advance. Based on the target vector of the individuals in the current population P g , the ideal point Z * , the worst point Z worst and the extreme point Z nad are calculated as:
(1)理想点其中任意X∈Pg;(1) Ideal point in any X∈Pg ;
(2)最差点其中任意X∈Pg;(2) Worst point in any X∈Pg ;
(3)极值点其中而极值点表示极小值点对应的自变量,即 (3) Extreme point in the extreme point represents the independent variable corresponding to the minimum point, that is
步骤3.4,归一化种群Pg中所有个体的目标向量;Step 3.4, normalize the target vectors of all individuals in the population P g ;
通过归一化将每个目标的目标值范围转换到区间[0,1],归一化通过进行,其中fi(X)表示个体X实际目标值,f′i(X)表示个体X执行归一化后的目标向量,其中i∈1,2,...,M,后续提到的目标向量若不具体说明,则都是经过归一化处理之后的目标向量,且令fi(X)=f′i(X),即用fi(X)表示归一化之后的目标向量;Transform the range of target values for each target to the interval [0,1] by normalizing by carry out, where f i (X) represents the actual target value of individual X, and f′ i (X) represents the normalized target vector of individual X, where i∈1,2,...,M, mentioned later If the target vector is not specified, it is the target vector after normalization, and let f i (X)=f′ i (X), that is, f i (X) represents the normalized target vector ;
步骤4,基于参考向量W1,W2,...,WN将种群Pg中的个体分配到子种群SP={SPi,i∈1,2,...,N}:Step 4, based on the reference vectors W 1 , W 2 ,...,W N , assign individuals in the population P g to the subpopulation SP={SP i , i∈1,2,...,N}:
步骤4.1,参考向量关联子种群:初始化N个参考向量W1,W2,...,WN对应N个为空的关联子种群SP1,SP2,…,SPN,即参考向量Wi关联子种群SPi;Step 4.1, reference vector associated subpopulations: Initialize N reference vectors W 1 , W 2 ,...,W N corresponding to N empty associated subpopulations SP 1 , SP 2 , ..., SP N , that is, the reference vector W i associated subpopulation SP i ;
步骤4.2,分配个体到每个子种群SPi:Step 4.2, assign individuals to each subpopulation SP i :
(a)首先计算种群Pg中每个个体的目标向量F(Xi)与所有参考向量Wj之间的夹角 (a) First calculate the angle between the target vector F(X i ) of each individual in the population P g and all the reference vectors W j
(b)比较θij的大小;(b) Compare the size of θ ij ;
(c)如果k=argminXi(θij|Wj,j=1,2,...,N),将第i个体Xi的目标向量F(Xi)与第j参考向量Wj关联,即将第i个个体Xi分配给由第j个参考向量Wj构建的子种群SPj;(c) If k=argminX i (θ ij |W j ,j=1,2,...,N), associate the target vector F(X i ) of the i-th individual X i with the j-th reference vector W j , that is, assign the i-th individual X i to the sub-population SP j constructed by the j-th reference vector W j ;
(d)重复执行步骤a-c,直到种群Pg中所有个体Xi都分配到子种群中;(d) Repeat steps ac until all individuals X i in the population P g are assigned to the sub-population;
步骤5,执行基于领域子种群的选择操作选择父代个体执行遗传操作:Step 5, perform the selection operation based on the domain subpopulation to select the parent individual to perform the genetic operation:
步骤5.1,对种群Pg中的所有个体按下述规则进行非支配排序:对于种群中的任意两个个体a和b,当且仅当对于fi(a)≤fi(b)且fi(a)<fi(b),那么个体aPareto支配个体b;Step 5.1, perform non-dominated sorting on all individuals in the population P g according to the following rules: for any two individuals a and b in the population, if and only if for f i (a) ≤ f i (b) and f i (a) < f i (b), then individual aPareto dominates individual b;
步骤5.1.1,预排序:Step 5.1.1, Presort:
(a)预先对多目标优化问题的M个目标定义一个排序;(a) Define an ordering in advance for the M objectives of the multi-objective optimization problem;
(b)按照第一个目标的目标值f1(X)将种群Pg中所有个体进行升序排序,如果两个个体的第一个目标值f1(X)相等,则按照第二个目标的目标值f2(X)对两个个体进行升序排序,如果两个个体所有目标值都相等,则两个个体任意排序;(b) Sort all individuals in the population P g in ascending order according to the target value f 1 (X) of the first target. If the first target value f 1 (X) of the two individuals is equal, then according to the second target The target value f 2 (X) of the two individuals is sorted in ascending order. If all the target values of the two individuals are equal, the two individuals will be sorted arbitrarily;
(c)重复步骤b,直到种群Pg中所有的个体按目标排序完成,设置排序后的结果为X1,X2,...,XN;(c) Step b is repeated until all individuals in the population P g are sorted according to the target, and the sorted results are set as X 1 , X 2 ,...,X N ;
步骤5.1.2,非支配排序:Step 5.1.2, non-dominated sorting:
(a)按照排序X1,X2,...,XN的顺序依次选择个体执行非支配排序,预先设定r=0个非支配层{F1,F2,…},Fi为第i非支配层,i∈1,2,...,r,令k=0;(a) Select individuals in the order of sorting X 1 , X 2 ,..., X N to perform non-dominated sorting, pre-set r=0 non-dominated layers {F 1 , F 2 ,...}, F i is The i-th non-dominated layer, i∈1,2,...,r, let k=0;
(b)对于任意一个个体Xm,m∈1,2,...,N,首先检查个体Xm与非支配层Fk中所有个体的支配关系,如果非支配层Fk中不存在任何个体支配个体Xm,则将个体Xm的排名设为k,即个体Xm属于第k非支配层Fk。个体Xm与非支配层Fk中的个体比较时,个体Xm先与非支配层Fk中的最后一个个体比较,再与非支配层Fi中倒数第二个个体比较,最后和非支配层Fk中第一个个体比较,即在非支配层中执行倒序比较;(b) For any individual X m , m∈1,2,...,N, first check the dominance relationship between individual X m and all individuals in the non-dominated layer F k , if there is no any If the individual dominates the individual X m , the rank of the individual X m is set to k, that is, the individual X m belongs to the kth non-dominated layer F k . When the individual X m is compared with the individuals in the non-dominated layer F k , the individual X m is first compared with the last individual in the non-dominated layer F k , then with the penultimate individual in the non-dominated layer F i , and finally with the non-dominated layer F i. The first individual comparison in the dominant layer F k , that is, the reverse order comparison is performed in the non-dominated layer;
(c)如果个体Xm被非支配层Fk中至少一个个体所支配且k<r;(c) if the individual X m is dominated by at least one individual in the non-dominated layer F k and k <r;
(d)则令k加1,并重复执行步骤b-c,否则为个体Xm创建新的排名r+1,即个体Xm属于第(r+1)非支配层Fr+1;(d) then add 1 to k, and repeat step bc, otherwise create a new ranking r+1 for the individual X m , that is, the individual X m belongs to the (r+1)th non-dominated layer Fr+1 ;
(e)执行非支配排序后,排名后的非支配层记为F1,F2,…,Fr;(e) After the non-dominated sorting is performed, the ranked non-dominated layers are denoted as F 1 , F 2 ,...,F r ;
步骤5.2,选择执行交叉、变异操作的个体:Step 5.2, select individuals to perform crossover and mutation operations:
步骤5.2.1,确定邻域种群:Step 5.2.1, determine the neighborhood population:
(a)首先定义参考向量的邻域参考向量,计算任意两个参考向量之间的欧式距离且i≠j,表示Wi和Wj之间的夹角;(a) First define the neighborhood reference vector of the reference vector, and calculate the Euclidean distance between any two reference vectors and i≠j, represents the angle between Wi and W j ;
(b)然后计算距离每个参考向量Wi最近的T个参考向量,用B(i)={i1,i2,...,iT}表示接近Wi的T个邻域参考向量的集合,该集合中的各元素为 (b) Then calculate the T reference vectors closest to each reference vector Wi, and use B( i )={i 1 , i 2 , . . . , i T } to represent the T neighborhood reference vectors close to Wi The set of , each element in the set is
(c)相应的,最接近子种群SPi的T个邻域子种群为对应的参考向量Wi的T个邻域参考向量所构建的T个子种群,记为SPi1,SPi2,...,SPiT;(c) Correspondingly, the T neighborhood subpopulations closest to the subpopulation SP i are the T neighborhood reference vectors of the corresponding reference vector W i The constructed T subpopulations are denoted as SP i1 , SP i2 ,..., SP iT ;
步骤5.2.2,从邻域种群中选择两个父代个体:Step 5.2.2, select two parent individuals from the neighborhood population:
(a)个体一Xi为随机从子种群SPi中选择非支配排名靠前的一个个体;(a) Individual-X i randomly selects a non-dominated individual from the sub-population SP i with the highest ranking;
(b)个体二Xj从子种群SPi的任一邻域种群SPi1,SPi2,...,SPiT中随机选择;(b) Individual two X j are randomly selected from any neighborhood population SP i1 , SP i2 ,..., SP iT of the subpopulation SP i;
步骤5.2.3,对两父代个体执行遗传操作:对于选择的两个个体Xi和Xj,执行遗传操作,即模拟二进制交叉和多项式变异,产生两个个体X′i和X′j,重复执行N/2次后产生N个子代个体,即新种群Q;为了提高种群的多样性和收敛速度,根据选择个体的适应度值自适应调整交叉概率和变异概率,其中交叉概率为变异概率为K1和K2是两个常系数,k表示第k个目标,k∈1,2,...,M,fk(Xi)表示个体Xi的第k个目标值,fk(Xj)表示个体Xj的第k个目标值;Step 5.2.3, perform genetic operations on the two parent individuals: for the two selected individuals X i and X j , perform genetic operations, that is, simulate binary crossover and polynomial mutation, and generate two individuals X′ i and X′ j , After repeating N/2 times, N offspring individuals are generated, that is, a new population Q; in order to improve the diversity and convergence speed of the population, the crossover probability and mutation probability are adaptively adjusted according to the fitness value of the selected individual, where the crossover probability is The probability of mutation is K 1 and K 2 are two constant coefficients, k represents the kth target, k∈1,2,...,M, f k (X i ) represents the k-th target value of the individual X i , and f k (X j ) represents the k-th target value of the individual X j ;
步骤6,基于子代种群Q中的个体更新子种群SP1,SP2,...,SPN:Step 6: Update the subpopulations SP 1 , SP 2 , . . . , SP N based on the individuals in the sub-population Q:
步骤6.1,采用步骤3.2对新种群Q中所有个体进行适应度评价:计算新种群Q中所有个体的目标值F(X)和适应度值Fit(F(X));Step 6.1, adopt step 3.2 to evaluate the fitness of all individuals in the new population Q: calculate the target value F(X) and fitness value Fit(F(X)) of all individuals in the new population Q;
步骤6.2,基于新种群Q,采用步骤3.3更新理想点Z*和最差点Znad;Step 6.2, based on the new population Q, adopt step 3.3 to update the ideal point Z * and the worst point Z nad ;
步骤6.3,采用步骤3.4归一化新种群Q中所有个体;Step 6.3, use step 3.4 to normalize all individuals in the new population Q;
步骤6.4,基于步骤5.1.2(e)对种群Pg中个体排名后的非支配层F1,F2,…,Fr为基础,采用步骤5.1.2(b)对新种群Q中所有个体进行非支配排序,更新非支配层F1,F2,…,Fr中的个体,通过Q中未排名个体与非支配层F1,F2,…,Fr中已排名个体比较支配关系,能有效提高算法的效率;Step 6.4, based on step 5.1.2 ( e ), the non-dominated layers F 1 , F 2 , . Individuals perform non-dominated sorting, update the individuals in the non-dominated layers F 1 , F 2 ,..., Fr , and compare the dominance of the unranked individuals in Q with the ranked individuals in the non-dominated layers F 1 , F 2 ,..., Fr relationship, which can effectively improve the efficiency of the algorithm;
步骤6.5,执行步骤6.4后,是将种群Pg和种群Q组合得到组合种群R=Pg∪Q并更新非支配层F1,F2,…,Fr,其中组合种群R的规模为2N;Step 6.5, after performing step 6.4, is to combine the population P g and the population Q to obtain a combined population R=P g ∪Q and update the non-dominated layers F 1 , F 2 ,...,F r , where the scale of the combined population R is 2N ;
步骤6.6,更新子种群SP1,SP2,…,SPN:采用步骤4.2个体分配机制,将新种群Q中的个体分配给子种群SPi,i∈{1,2,...,N}。Step 6.6, update the subpopulations SP 1 , SP 2 ,..., SP N : adopt the individual assignment mechanism of step 4.2, assign the individuals in the new population Q to the sub population SP i , i∈{1,2,...,N }.
步骤7,对组合种群R执行环境选择,更新下一代种群Pg+1:环境选择过程是从R中的2N个体选择性能优异的N个体作为下一代的父代种群,环境选择策略包括局部环境选择策略及全局环境选择策略;Step 7: Perform environment selection on the combined population R, and update the next generation population P g+1 : The environment selection process is to select N individuals with excellent performance from the 2N individuals in R as the parent population of the next generation. The environment selection strategy includes local environment. Selection strategy and global environment selection strategy;
步骤7.1,局部环境选择策略:Step 7.1, local environment selection strategy:
步骤7.1.1,根据步骤6.4更新的子种群SP1,SP2,...,SPN,首先计算每个子种群SPi中个体的目标向量F(Xi)到参考向量Wi的欧氏距离即目标向量F(Xi)到参考向量Wi的垂直距离,其中||F(Xi)||表示目标向量F(Xi)的模长,||Wi||表示参考向量Wi的模长,<F(Xi),Wi>表示个体的目标向量F(Xi)和参考向量Wi之间的夹角,sin<F(Xi),Wi>表示夹角<F(Xi),Wi>的正弦值;Step 7.1.1, according to the updated sub-populations SP 1 , SP 2 ,..., SP N in step 6.4, first calculate the Euclidean relationship between the target vector F(X i ) of the individual in each sub-population SP i to the reference vector Wi distance That is, the vertical distance from the target vector F(X i ) to the reference vector Wi, where ||F(X i )|| represents the modulo length of the target vector F(X i ) , and ||W i || represents the reference vector Wi The modulo length of , <F(X i ), Wi > represents the angle between the individual target vector F(X i ) and the reference vector Wi, sin<F(X i ) , Wi > represents the angle< F(X i ) , the sine of Wi >;
步骤7.1.2,计算每个子种群SPi中个体的目标向量F(Xi)的位置到构建参考向量Wi的参考点的距离其中||F(Xi)-Wi||表示向量(F(Xi)-Wi)的模长,即目标向量F(Xi)的位置到参考向量Wi的参考点的距离,如果子种群SPi中某个体位于构建的超平面L之下,即该个体支配第i个参考点,此时为负;Step 7.1.2, calculate the distance from the position of the target vector F(X i ) of the individual in each subpopulation SP i to the reference point for constructing the reference vector Wi where ||F(X i )-W i || represents the modular length of the vector (F(X i )-W i ), that is, the distance from the position of the target vector F(X i ) to the reference point of the reference vector Wi , If an individual in the subpopulation SP i is located under the constructed hyperplane L, that is, the individual dominates the i-th reference point, then is negative;
步骤7.1.3,在每个子种群SPi中,综合两个距离和选择个体,选择标准为表示在每个子种群SPi中选择两个距离之和最小的前min(2,|SPi|)两个个体。但在执行步骤6.6个体分配时,每个子种群SPi中可能没有个体、只有一个个体或有多个个体,如果子种群SPi中没有个体,不进行选择;如果子种群SPi中只有一个个体,则选择该个体;否则选择两个距离和之和最小的前两个个体;Step 7.1.3, in each subpopulation SP i , synthesize the two distances and Select individuals, the selection criteria are means choosing two distances in each subpopulation SP i The first min(2, |SP i |) two individuals with the smallest sum. However, when performing step 6.6 individual allocation, there may be no individual, only one individual or multiple individuals in each sub-population SP i . If there is no individual in the sub-population SP i , no selection is made; if there is only one individual in the sub-population SP i , select the individual; otherwise, select two distances and The first two individuals with the smallest sum;
步骤7.2,全局环境选择策略:Step 7.2, Global Environment Selection Policy:
步骤7.2.1,全局环境选择策略是对执行局部环境选择策略后得到的所有个体基于非支配排名进行删减,选择N个个体进入下一代种群,用表示执行局部环境选择策略后非支配层中的个体数,如果所有前r个非支配层中的个体数量之和大于种群规模N,而前r-1个非支配层中的个体数量之和小于种群规模N,即且则执行全局环境选择策略从第r非支配层中选择个个体进入下一代种群;Step 7.2.1, the global environment selection strategy is to delete all individuals obtained after executing the local environment selection strategy based on non-dominant rankings, select N individuals to enter the next generation population, and use Represents the non-dominated layer after executing the local environment selection strategy If the sum of the number of individuals in all the first r non-dominated layers is greater than the population size N, and the sum of the number of individuals in the first r-1 non-dominated layers is less than the population size N, that is and Then execute the global environment selection strategy from the rth non-dominated layer choose individuals into the next generation;
步骤7.2.2,计算非支配层中相邻个体的欧式距离,若第i个个体和第j个个体相邻,则第i个个体和第j个个体的欧式距离为K且i≠j,令表示非支配层中个体的数量;Step 7.2.2, Calculate the non-dominated layer The Euclidean distance of adjacent individuals in the K and i≠j, let represents the non-dominated layer the number of individuals in the
步骤7.2.3,计算非支配层中所有相邻个体的平均距离并执行全局选择:Step 7.2.3, Calculate the non-dominated layer The average distance of all adjacent individuals in and perform a global selection:
(a)如果相邻距离大于平均距离的个体数量大于选择相邻距离最大的前个个体进入下一代种群;(a) If the adjacent distance greater than average distance The number of individuals is greater than select neighbor distance biggest ex individuals into the next generation;
(b)如果相邻距离大于平均距离的个体数量为K′且首先选择相邻距离大于平均距离的K′个个体进入下一代种群;(b) If the adjacent distance greater than average distance The number of individuals is K' and First select the adjacent distance greater than average distance K' individuals enter the next generation population;
(c)然后从相邻距离小于平均距离的个体中选择K″个个体进入下一代种群,其中选择过程如下:(c) Then from the adjacent distance less than average distance Select K″ individuals from the individuals to enter the next generation population, where The selection process is as follows:
1)对相邻距离小于平均距离的个体按照某一目标进行升序排序,首先选择排序中的第一个个体进入下一代种群,因为往往排序后的第一个个体是极值点所对应的目标向量,对维护种群多样性具有重要的意义,然后计算即排序后的第i个个体和第(i+s)个个体的距离,初始s=2;1) For the adjacent distance less than average distance The individuals are sorted in ascending order according to a certain target, and the first individual in the sorting is selected to enter the next generation population, because the first individual after sorting is often the target vector corresponding to the extreme point, which is important for maintaining the diversity of the population. meaning, then calculate That is, the distance between the i-th individual and the (i+s)-th individual after sorting, the initial s=2;
2)如果选择第(i+s)个个体Xi+s进入下一代种群;2) If Select the (i+s)th individual Xi +s to enter the next generation population;
3)如果执行s加1,再比较和的大小,直到然后选择第(i+s)个个体Xi+s进入下一代种群;3) If Execute s plus 1, and then compare and size until Then select the (i+s)th individual Xi +s to enter the next generation population;
4)然后以第(i+s)个个体Xi+s作为初始个体,并令i等于i+s,按照升序排序的顺序计算第i个个体和第(i+s)个个体之间的欧式距离,直到选择的个体数量达到K″,其中表示相邻距离大于平均距离的所有相邻距离的最小值,δ是控制选择范围的参数;4) Then take the (i+s) th individual X i+s as the initial individual, and set i equal to i+s, and calculate the difference between the ith individual and the (i+s) th individual in ascending order. Euclidean distance until the number of selected individuals reaches K″, where Indicates the adjacent distance greater than average distance The minimum value of all adjacent distances of , δ is a parameter that controls the selection range;
步骤8,循环执行步骤4-步骤7,直至代数g>Gmax,计算终止并输出高维多目标优化问题的Pareto解集。Step 8: Steps 4-7 are executed cyclically until the algebra g>G max , the calculation is terminated and the Pareto solution set of the high-dimensional multi-objective optimization problem is output.
本发明的有益效果是:The beneficial effects of the present invention are:
1、针对高维目标优化问题,提出一种基于分解的高维多目标进化算法,将高维多目标优化问题分解为多个单目标优化子问题,同时对多个单目标优化子问题进行进化,有效降低问题的求解复杂度并解决现有多目标优化算法难以保证种群收敛性和多样性之间良好平衡的问题,获得良好多样性和收敛性的Pareto解集;1. For the high-dimensional objective optimization problem, a high-dimensional multi-objective evolutionary algorithm based on decomposition is proposed. The high-dimensional multi-objective optimization problem is decomposed into multiple single-objective optimization sub-problems, and multiple single-objective optimization sub-problems are evolved at the same time. , effectively reduce the complexity of solving the problem and solve the problem that the existing multi-objective optimization algorithm is difficult to ensure a good balance between population convergence and diversity, and obtain a Pareto solution set with good diversity and convergence;
2、针对非支配排序方法,通过采用未排名个体与已排名个体比较个体间的支配关系,能有效提高算法效率;2. For the non-dominated sorting method, the efficiency of the algorithm can be effectively improved by comparing the dominance relationship between the unranked individuals and the ranked individuals;
3、基于邻域子种群选择执行遗传操作的个体,能有效保证算法的全局收敛性和种群多样性;3. Select individuals who perform genetic operations based on neighborhood subpopulations, which can effectively ensure the global convergence and population diversity of the algorithm;
4、针对遗传操作的个体,对于适应度值优异的个体,为了维护其良好性能,交叉概率和变异概率应较小,而对于适应度值较差的个体,为了提高其性能,交叉概率和变异概率应较大,通过个体的适应度值自适应调整交叉概率和变异概率能有效提高种群的收敛速度和多样性;4. For individuals with genetic manipulations, for individuals with excellent fitness values, in order to maintain their good performance, the crossover probability and mutation probability should be small, while for individuals with poor fitness values, in order to improve their performance, crossover probability and mutation probability The probability should be large, and the adaptive adjustment of the crossover probability and mutation probability through the fitness value of the individual can effectively improve the convergence speed and diversity of the population;
5、针对环境选择策略,通过融合局部环境选择策略和全局环境选择策略,有效解决多样性维护策略失效的问题,改善基于Pareto支配关系的高维多目标优化算法在解决高维目标优化问题时的性能,很好地平衡收敛性和多样性。5. For the environment selection strategy, by integrating the local environment selection strategy and the global environment selection strategy, the problem of the failure of the diversity maintenance strategy is effectively solved, and the high-dimensional multi-objective optimization algorithm based on the Pareto dominance relationship is improved in solving the high-dimensional objective optimization problem. performance, a good balance of convergence and diversity.
附图说明Description of drawings
图1为本发明的流程图。FIG. 1 is a flow chart of the present invention.
图2为本发明的算法框架图。FIG. 2 is an algorithm frame diagram of the present invention.
图3为本发明的理想点、极大值点和最差点的示意图。FIG. 3 is a schematic diagram of an ideal point, a maximum point and a worst point of the present invention.
图4为本发明的三维目标空间中参考点生成及构造参考向量样例图。FIG. 4 is a sample diagram of reference point generation and construction of reference vectors in the three-dimensional target space of the present invention.
图5为本发明的二维目标空间中个体分配示意图。FIG. 5 is a schematic diagram of individual allocation in the two-dimensional target space of the present invention.
图6为本发明的二维目标空间中子种群样例图。FIG. 6 is an example diagram of a subpopulation in the two-dimensional target space of the present invention.
图7为本发明的遗传操作个体的选择流程图。Figure 7 is a flow chart of the selection of genetically manipulated individuals of the present invention.
图8为本发明的环境选择策略流程图。FIG. 8 is a flow chart of the environment selection strategy of the present invention.
图9为本发明的二维目标空间中局部环境选择策略样例图。FIG. 9 is a sample diagram of a local environment selection strategy in a two-dimensional target space of the present invention.
图10为本发明的二维目标空间中全局环境选择策略样例图。FIG. 10 is an example diagram of the global environment selection strategy in the two-dimensional target space of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
实施例1:如图1-10所示,一种基于分解的高维多目标进化算法包括步骤1-8。Embodiment 1: As shown in Figure 1-10, a decomposition-based high-dimensional multi-objective evolutionary algorithm includes steps 1-8.
步骤1,参数设置:代数g=0,最大迭代次数Gmax,目标数量M≥4,种群规模N。
步骤2,生成N个参考向量W={W1,W2,...,WN}:
步骤2.1,采用正常边界交点(PBI)方法在一个单位超平面L上生成分布均匀的参考点RP={RP1,RP2,...,RPN};Step 2.1, using the normal boundary intersection (PBI) method to generate a uniformly distributed reference point RP={RP 1 ,RP 2 ,...,RP N } on a unit hyperplane L;
步骤2.2,基于参考点RP1,RP2,...,RPN在目标空间中构建均匀分布的参考向量W1,W2,...,WN。参考向量满足以下条件:Step 2.2, based on the reference points RP 1 , RP 2 ,...,RP N , construct uniformly distributed reference vectors W 1 , W 2 ,..., W N in the target space. The reference vector satisfies the following conditions:
其中表示参考向量Wi的第j维度的分量值且H表示将每个目标划分为H等份,生成参考向量的数量为N,其中如M=3,H=4,在单位超平面上生成的均匀分布参考向量数量为 in represents the component value of the jth dimension of the reference vector Wi and H means that each target is divided into H equal parts, and the number of generated reference vectors is N, where For example, M=3, H=4, the number of uniformly distributed reference vectors generated on the unit hyperplane is
步骤3,随机生成规模为N的初始种群Pg=0,并进行个体适应度评价:Step 3, randomly generate an initial population P g = 0 of size N, and perform individual fitness evaluation:
步骤3.1,在满足约束条件下,从决策空间中随机生成种群规模为N的初始种群Pg={X1,X2,...,XN},其中Xi={x1,x2,...,xD},i=1,2,...,N,D表示决策变量Xi的维度,g表示当前种群的代数;Step 3.1, under the condition that the constraints are satisfied, randomly generate an initial population P g ={X 1 ,X 2 ,...,X N } with a population size of N from the decision space, where X i ={x 1 ,x 2 ,...,x D }, i=1,2,...,N, D represents the dimension of the decision variable X i , and g represents the algebra of the current population;
步骤3.2,计算种群Pg中所有个体的目标向量F(X)=(f1(X),f2(X),...,fM(X)),X∈Pg,并令个体X的适应度值为Fit(F(X))=F(X);Step 3.2, calculate the target vector F(X)=(f 1 (X), f 2 (X),..., f M (X)) of all individuals in the population P g , X∈P g , and let the individual The fitness value of X is Fit(F(X))=F(X);
步骤3.3,基于所有个体的目标向量F(X),计算理想点Z*、极值点Znad和最差点Zworst,但在实际多目标优化过程中,理想点Z*、最差点Zworst和极值点Znad无法提前预知,所以基于当前种群Pg中个体的目标向量不断更新理想点Z*、最差点Zworst和极值点Znad:Step 3.3, based on the target vector F(X) of all individuals, calculate the ideal point Z * , the extreme point Z nad and the worst point Z worst , but in the actual multi-objective optimization process, the ideal point Z * , the worst point Z worst and The extreme point Z nad cannot be predicted in advance, so the ideal point Z * , the worst point Z worst and the extreme point Z nad are continuously updated based on the target vector of individuals in the current population P g :
(1)理想点其中任意X∈Pg;(1) Ideal point in any X∈Pg ;
(2)最差点其中任意X∈Pg;(2) Worst point in any X∈Pg ;
(3)极值点其中而极值点表示极小值点对应的自变量,即 (3) Extreme point in the extreme point represents the independent variable corresponding to the minimum point, that is
步骤3.4,归一化种群Pg中所有个体的目标向量。通过归一化将每个目标的目标值范围转换到区间[0,1]。归一化通过进行,其中fi(X)表示个体X实际目标值,f'i(X)表示个体X执行归一化后的目标向量,其中i∈1,2,...,M。后续提到的目标向量若不具体说明,则都是经过归一化处理之后的目标向量,且令fi(X)=f′i(X),即用fi(X)表示归一化之后的目标向量。当一个目标在目标空间中的取值范围是[0,100],另一个目标在目标空间中的取值范围是[0,10000],不同目标的取值范围可能有很大区别,通过归一化处理后,可以将所有目标的取值范围转换到同一个区间进行比较而不影响优化过程。Step 3.4, normalize the target vectors of all individuals in the population Pg . Convert the target value range for each target to the interval [0,1] by normalization. normalized by , where f i (X) represents the actual target value of individual X, and f' i (X) represents the normalized target vector of individual X, where i ∈ 1,2,...,M. If the target vectors mentioned later are not specified, they are all target vectors after normalization, and let f i (X)=f′ i (X), that is, f i (X) is used to denote normalization The target vector after that. When the value range of one target in the target space is [0, 100], and the value range of another target in the target space is [0, 10000], the value range of different targets may be very different. By normalizing After processing, the value ranges of all objectives can be converted to the same interval for comparison without affecting the optimization process.
步骤4,基于参考向量W1,W2,...,WN将种群Pg中的个体分配到子种群SP={SPi,i∈1,2,...,N}:Step 4, based on the reference vectors W 1 , W 2 ,...,W N , assign individuals in the population P g to the subpopulation SP={SP i , i∈1,2,...,N}:
步骤4.1,参考向量关联子种群。初始化N个参考向量W1,W2,...,WN对应N个为空的关联子种群SP1,SP2,...,SPN,即参考向量Wi关联子种群SPi;Step 4.1, the reference vector is associated with subpopulations. Initialize N reference vectors W 1 , W 2 ,..., W N corresponding to N empty associated subpopulations SP 1 , SP 2 , ..., SP N , namely the reference vector Wi associated sub population SP i ;
步骤4.2,分配个体到每个子种群SPi:Step 4.2, assign individuals to each subpopulation SP i :
(a)首先计算种群Pg中每个个体的目标向量F(Xi)与所有参考向量Wj之间的夹角 (a) First calculate the angle between the target vector F(X i ) of each individual in the population P g and all the reference vectors W j
(b)比较θij的大小;(b) Compare the size of θ ij ;
(c)如果将第i个体Xi的目标向量F(Xi)与第k=j参考向量Wj关联,即将第i个个体Xi分配给由第j个参考向量Wj构建的子种群SPj;(c) if Associating the target vector F(X i ) of the ith individual Xi with the k=j reference vector W j , that is, assigning the ith individual Xi to the subpopulation SP j constructed by the j th reference vector W j ;
(d)重复执行a-c,直到种群Pg中所有个体Xi都分配到子种群中。(d) Repeat ac until all individuals X i in the population P g are assigned to the subpopulation.
步骤5,执行基于领域子种群的选择操作选择父代个体执行遗传操作:Step 5, perform the selection operation based on the domain subpopulation to select the parent individual to perform the genetic operation:
步骤5.1,对种群Pg中的所有个体按下述规则进行非支配排序:对于种群中的任意两个个体a和b,当且仅当对于fi(a)≤fi(b)且fi(a)<fi(b),那么个体aPareto支配个体b;Step 5.1, perform non-dominated sorting on all individuals in the population P g according to the following rules: for any two individuals a and b in the population, if and only if for f i (a) ≤ f i (b) and f i (a) < f i (b), then individual aPareto dominates individual b;
步骤5.1.1,预排序:Step 5.1.1, Presort:
(a)预先对多目标优化问题的M个目标定义一个排序;(a) Define an ordering in advance for the M objectives of the multi-objective optimization problem;
(b)按照第一个目标的目标值f1(X)将种群Pg中所有个体进行升序排序,如果两个个体的第一个目标值f1(X)相等,则按照第二个目标的目标值f2(X)对两个个体进行升序排序,如果两个个体所有目标值都相等,则两个个体任意排序;(b) Sort all individuals in the population P g in ascending order according to the target value f 1 (X) of the first target. If the first target value f 1 (X) of the two individuals is equal, then according to the second target The target value f 2 (X) of the two individuals is sorted in ascending order. If all the target values of the two individuals are equal, the two individuals will be sorted arbitrarily;
(c)重复步骤b,直到种群Pg中所有的个体按目标排序完成,设置排序后的结果为X1,X2,...,XN;(c) Step b is repeated until all individuals in the population P g are sorted according to the target, and the sorted results are set as X 1 , X 2 ,...,X N ;
步骤5.1.2,非支配排序:Step 5.1.2, non-dominated sorting:
(a)按照排序X1,X2,...,XN的顺序依次选择个体执行非支配排序,预先设定r=0个非支配层{F1,F2,…},Fi为第i非支配层,i∈1,2,...,r,令k=0;(a) Select individuals in the order of sorting X 1 , X 2 ,..., X N to perform non-dominated sorting, pre-set r=0 non-dominated layers {F 1 , F 2 ,...}, F i is The i-th non-dominated layer, i∈1,2,...,r, let k=0;
(b)对于任意一个个体Xm,m∈1,2,...,N,首先检查个体Xm与非支配层Fk中所有个体的支配关系,如果非支配层Fk中不存在任何个体支配个体Xm,则将个体Xm的排名设为k,即个体Xm属于第k非支配层Fk。个体Xm与非支配层Fk中的个体比较时,个体Xm先与非支配层Fk中的最后一个个体比较,再与非支配层Fi中倒数第二个个体比较,最后和非支配层Fk中第一个个体比较,即在非支配层中执行倒序比较;(b) For any individual X m , m∈1,2,...,N, first check the dominance relationship between individual X m and all individuals in the non-dominated layer F k , if there is no any If the individual dominates the individual X m , the rank of the individual X m is set to k, that is, the individual X m belongs to the kth non-dominated layer F k . When the individual X m is compared with the individuals in the non-dominated layer F k , the individual X m is first compared with the last individual in the non-dominated layer F k , then with the penultimate individual in the non-dominated layer F i , and finally with the non-dominated layer F i. The first individual comparison in the dominant layer F k , that is, the reverse order comparison is performed in the non-dominated layer;
(c)如果个体Xm被非支配层Fk中至少一个个体所支配且k<r;(c) if the individual X m is dominated by at least one individual in the non-dominated layer F k and k <r;
(d)则令k=k+1并重复执行步骤b-c,否则为个体Xm创建新的排名r+1,即个体Xm属于第(r+1)非支配层Fr+1。具体按步骤5.1.1(c)排序结果X1,X2,...,XN的顺序依次选择个体执行非支配排序,首先选择排序为1的第一个个体X1,将个体X1放入第一非支配层F1中,排名为1;然后选择排序为2第二个个体X2,比较个体X2和已经排名的第一个个体X1的目标值,判断个体X1和个体X2之间的支配关系,如果个体X1支配个体X2,则将X2放入第二非支配层F2中,排名为2,如果个体X1和个体X2相互不支配,则将X2放入第一个非支配层F1中,X2的排名为1;接着选择排序为3的个体X3,比较个体X3和第一非支配层F1中的所有个体的支配关系,再依次与非支配层F2、F3、…、Fr中的个体比较支配关系,如果个体X3未分配排名,则为个体X3创建新的排名r+1,直到将所有个体分配相应的排名;(d) Then let k=k+1 and repeat step bc, otherwise create a new rank r+1 for the individual X m , that is, the individual X m belongs to the (r+1)th non-dominated layer Fr+1 . Specifically, according to the order of step 5.1.1(c) sorting results X 1 , X 2 ,..., X N , select individuals in turn to perform non-dominated sorting, first select the first individual X 1 ranked as 1, and put the individual X 1 Put it into the first non-dominated layer F 1 , and the ranking is 1; then select the second individual X 2 ranked 2 , compare the target value of the individual X 2 and the already ranked first individual X 1 , and judge the individual X 1 and the Dominance relationship between individual X 2 , if individual X 1 dominates individual X 2 , then put X 2 into the second non-dominated layer F 2 , and the ranking is 2, if individual X 1 and individual X 2 do not dominate each other, then Put X 2 into the first non-dominated layer F 1 , and X 2 is ranked 1; then select the individual X 3 ranked as 3, and compare the dominance of individual X 3 and all individuals in the first non-dominated layer F 1 Then compare the dominance relationship with the individuals in the non-dominant layers F 2 , F 3 , ..., Fr in turn, if the individual X 3 is not assigned a rank, create a new rank r+1 for the individual X 3 until all individuals are assign a corresponding ranking;
(e)执行非支配排序后,排名后的非支配层记为F1,F2,…,Fr;(e) After the non-dominated sorting is performed, the ranked non-dominated layers are denoted as F 1 , F 2 ,...,F r ;
步骤5.2,选择执行交叉、变异操作的个体:Step 5.2, select individuals to perform crossover and mutation operations:
步骤5.2.1,确定邻域种群:Step 5.2.1, determine the neighborhood population:
(a)首先定义参考向量的邻域参考向量,计算任意两个参考向量之间的欧式距离且i≠j,表示Wi和Wj之间的夹角;(a) First define the neighborhood reference vector of the reference vector, and calculate the Euclidean distance between any two reference vectors and i≠j, represents the angle between Wi and W j ;
(b)然后计算距离每个参考向量Wi最近的T个参考向量,用B(i)={i1,i2,...,iT}表示接近Wi的T个邻域参考向量的集合,该集合中的各元素为 (b) Then calculate the T reference vectors closest to each reference vector Wi, and use B( i )={i 1 , i 2 , . . . , i T } to represent the T neighborhood reference vectors close to Wi The set of , each element in the set is
(c)相应的,最接近子种群SPi的T个邻域子种群为对应的参考向量Wi的T个邻域参考向量所构建的T个子种群,记为SPi1,SPi2,...,SPiT;(c) Correspondingly, the T neighborhood subpopulations closest to the subpopulation SP i are the T neighborhood reference vectors of the corresponding reference vector W i The constructed T subpopulations are denoted as SP i1 , SP i2 ,..., SP iT ;
步骤5.2.2,从邻域种群中选择两个父代个体:Step 5.2.2, select two parent individuals from the neighborhood population:
(a)个体一Xi为随机从子种群SPi中选择非支配排名靠前的一个个体;(a) Individual-X i randomly selects a non-dominated individual from the sub-population SP i with the highest ranking;
(b)个体二Xj从子种群SPi的任一邻域种群SPi1,SPi2,...,SPiT中随机选择。通过邻域选择个体进行交叉和变异,既能保证个体继承收敛性能较好的解的性质,也能保证算法的全局搜索能力,从而保证种群的多样性和收敛性;(b) Individual two X j are randomly selected from any neighborhood population SP i1 , SP i2 ,..., SP iT of the subpopulation SP i. Selecting individuals in the neighborhood for crossover and mutation can not only ensure that individuals inherit the properties of solutions with better convergence performance, but also ensure the global search ability of the algorithm, thereby ensuring the diversity and convergence of the population;
步骤5.2.3,对两父代个体执行遗传操作:对于选择的两个个体Xi和Xj,执行遗传操作,即模拟二进制交叉和多项式变异,产生两个个体X′i和X′j,重复执行N/2次后产生N个子代个体,即新种群Q。为了提高种群的多样性和收敛速度,根据选择个体的适应度值自适应调整交叉概率和变异概率,其中交叉概率为变异概率为K1和K2是两个常系数,k表示第k个目标,k∈1,2,...,M,表示个体Xi的第k个目标值,fk(Xj)表示个体Xj的第k个目标值。Step 5.2.3, perform genetic operations on the two parent individuals: for the two selected individuals X i and X j , perform genetic operations, that is, simulate binary crossover and polynomial mutation, and generate two individuals X′ i and X′ j , After repeated execution N/2 times, N offspring individuals are generated, that is, a new population Q. In order to improve the diversity and convergence speed of the population, the crossover probability and mutation probability are adaptively adjusted according to the fitness value of the selected individual, where the crossover probability is The probability of mutation is K 1 and K 2 are two constant coefficients, k represents the kth target, k∈1,2,...,M, represents the k-th target value of the individual X i , and f k (X j ) represents the k-th target value of the individual X j .
步骤6,基于子代种群Q中的个体更新子种群SP1,SP2,…,SPN:Step 6: Update the subpopulations SP 1 , SP 2 , . . . , SP N based on the individuals in the sub-generation population Q:
步骤6.1,采用步骤3.2对新种群Q中所有个体进行适应度评价。计算新种群Q中所有个体的目标值F(X)和适应度值Fit(F(X));In step 6.1, step 3.2 is used to evaluate the fitness of all individuals in the new population Q. Calculate the target value F(X) and fitness value Fit(F(X)) of all individuals in the new population Q;
步骤6.2,基于新种群Q,采用步骤3.3更新理想点Z*和最差点Znad;Step 6.2, based on the new population Q, adopt step 3.3 to update the ideal point Z * and the worst point Z nad ;
步骤6.3,采用步骤3.4归一化新种群Q中所有个体;Step 6.3, use step 3.4 to normalize all individuals in the new population Q;
步骤6.4,基于步骤5.1.2(e)对种群Pg中个体排名后的非支配层F1,F2,…,Fr为基础,采用步骤5.1.2(b)对新种群Q中所有个体进行非支配排序,更新非支配层F1,F2,…,Fr中的个体,通过Q中未排名个体与非支配层F1,F2,…,Fr中已排名个体比较支配关系,能有效提高算法的效率;Step 6.4, based on step 5.1.2 ( e ), the non-dominated layers F 1 , F 2 , . Individuals perform non-dominated sorting, update the individuals in the non-dominated layers F 1 , F 2 ,..., Fr , and compare the dominance of the unranked individuals in Q with the ranked individuals in the non-dominated layers F 1 , F 2 ,..., Fr relationship, which can effectively improve the efficiency of the algorithm;
步骤6.5,执行步骤6.4后,实际是将种群Pg和种群Q组合得到组合种群R=Pg∪Q并更新非支配层F1,F2,…,Fr,其中组合种群R的规模为2N;In step 6.5, after step 6.4 is executed, the population P g and the population Q are actually combined to obtain a combined population R=P g ∪Q and update the non-dominated layers F 1 , F 2 ,...,F r , where the scale of the combined population R is 2N;
步骤6.6,更新子种群SP1,SP2,...,SPN:采用步骤4.2个体分配方法,将新种群Q中的个体分配给子种群SPi,i∈{1,2,...,N}。Step 6.6, update the subpopulations SP 1 , SP 2 ,..., SP N : adopt the individual assignment method of step 4.2, assign the individuals in the new population Q to the sub population SP i , i∈{1,2,... ,N}.
步骤7,对组合种群R执行环境选择,更新下一代种群Pg=g+1:环境选择过程是从R中的2N个体选择性能优异的N个个体作为下一代的父代种群,环境选择策略包括局部环境选择策略和全局环境选择策略;Step 7: Perform environmental selection on the combined population R, and update the next generation population P g=g+1 : The process of environmental selection is to select N individuals with excellent performance from 2N individuals in R as the parent population of the next generation. The environmental selection strategy Including local environment selection strategy and global environment selection strategy;
步骤7.1,局部环境选择策略:Step 7.1, local environment selection strategy:
步骤7.1.1,根据步骤6.4更新的子种群SP1,SP2,...,SPN,首先计算每个子种群SPi中个体的目标向量F(Xi)到参考向量Wi的欧氏距离即目标向量F(Xi)到参考向量Wi的垂直距离,其中||F(Xi)||表示目标向量F(Xi)的模长,||Wi||表示参考向量Wi的模长,<F(Xi),Wi>表示个体的目标向量F(Xi)和参考向量Wi之间的夹角,sin<F(Xi),Wi>表示夹角<F(Xi),Wi>的正弦值;Step 7.1.1, according to the updated sub-populations SP 1 , SP 2 ,..., SP N in step 6.4, first calculate the Euclidean relationship between the target vector F(X i ) of the individual in each sub-population SP i to the reference vector Wi distance That is, the vertical distance from the target vector F(X i ) to the reference vector Wi, where ||F(X i )|| represents the modulo length of the target vector F(X i ) , and ||W i || represents the reference vector Wi The modulo length of , <F(X i ), Wi > represents the angle between the individual target vector F(X i ) and the reference vector Wi, sin<F(X i ) , Wi > represents the angle< F(X i ) , the sine of Wi >;
步骤7.1.2,计算每个子种群SPi中个体的目标向量F(Xi)的位置到构建参考向量Wi的参考点的距离其中||F(Xi)-Wi||表示向量(F(Xi)-Wi)的模长,即目标向量F(Xi)的位置到参考向量Wi的参考点的距离,如果子种群SPi中某个体位于构建的超平面L之下,即该个体支配第i个参考点,此时为负;Step 7.1.2, calculate the distance from the position of the target vector F(X i ) of the individual in each subpopulation SP i to the reference point for constructing the reference vector Wi where ||F(X i )-W i || represents the modular length of the vector (F(X i )-W i ), that is, the distance from the position of the target vector F(X i ) to the reference point of the reference vector Wi , If an individual in the subpopulation SP i is located under the constructed hyperplane L, that is, the individual dominates the i-th reference point, then is negative;
步骤7.1.3,在每个子种群SPi中,综合两个距离和选择个体,选择标准为表示在每个子种群SPi中选择两个距离之和最小的前min(2,|SPi|)两个个体。但在执行步骤6.6个体分配时,每个子种群SPi中可能没有个体、只有一个个体或有多个个体,如果子种群SPi中没有个体,不进行选择;如果子种群SPi中只有一个个体,则选择该个体;否则选择两个距离和之和最小的前两个个体;Step 7.1.3, in each subpopulation SP i , synthesize the two distances and Select individuals, the selection criteria are means choosing two distances in each subpopulation SP i The first min(2, |SP i |) two individuals with the smallest sum. However, when performing step 6.6 individual allocation, there may be no individual, only one individual or multiple individuals in each sub-population SP i . If there is no individual in the sub-population SP i , no selection is made; if there is only one individual in the sub-population SP i , select the individual; otherwise, select two distances and The first two individuals with the smallest sum;
步骤7.2,全局环境选择策略:Step 7.2, Global Environment Selection Policy:
步骤7.2.1,全局环境选择策略是对执行局部环境选择策略后得到的所有个体基于非支配排名进行删减,选择N个个体进入下一代种群。用表示执行局部环境选择策略后非支配层中的个体数,如果所有前r个非支配层中的个体数量之和大于种群规模N,而前r-1个非支配层中的个体数量之和小于种群规模N,即且则执行全局环境选择策略从第r非支配层中选择个个体进入下一代种群;Step 7.2.1, the global environment selection strategy is to delete all individuals obtained after executing the local environment selection strategy based on the non-dominant ranking, and select N individuals to enter the next generation population. use Represents the non-dominated layer after executing the local environment selection strategy If the sum of the number of individuals in all the first r non-dominated layers is greater than the population size N, and the sum of the number of individuals in the first r-1 non-dominated layers is less than the population size N, that is and Then execute the global environment selection strategy from the rth non-dominated layer choose individuals into the next generation;
步骤7.2.2,计算非支配层中相邻个体的欧式距离,若第i个个体和第j个个体相邻,则第i个个体和第j个个体的欧式距离为K且i≠j,令表示非支配层中个体的数量;Step 7.2.2, Calculate the non-dominated layer The Euclidean distance of adjacent individuals in the K and i≠j, let represents the non-dominated layer the number of individuals in the
步骤7.2.3,计算非支配层中所有相邻个体的平均距离并执行全局选择。Step 7.2.3, Calculate the non-dominated layer The average distance of all adjacent individuals in and perform a global selection.
(a)如果相邻距离大于平均距离的个体数量大于选择相邻距离最大的前个个体进入下一代种群;(a) If the adjacent distance greater than average distance The number of individuals is greater than select neighbor distance biggest ex individuals into the next generation;
(b)如果相邻距离大于平均距离的个体数量为K′且首先选择相邻距离大于平均距离的K′个个体进入下一代种群;(b) If the adjacent distance greater than average distance The number of individuals is K' and First select the adjacent distance greater than average distance K' individuals enter the next generation population;
(c)然后从相邻距离小于平均距离的个体中选择K″个个体进入下一代种群,其中选择过程如下:(c) Then from the adjacent distance less than average distance Select K″ individuals from the individuals to enter the next generation population, where The selection process is as follows:
1)对相邻距离小于平均距离的个体按照某一目标进行升序排序,首先选择排序中的第一个个体进入下一代种群,因为往往排序后的第一个个体是极值点所对应的目标向量,对维护种群多样性具有重要的意义,然后计算即排序后的第i个个体和第(i+s)个个体的距离,初始s=2;1) For the adjacent distance less than average distance The individuals are sorted in ascending order according to a certain target, and the first individual in the sorting is selected to enter the next generation population, because the first individual after sorting is often the target vector corresponding to the extreme point, which is important for maintaining the diversity of the population. meaning, then calculate That is, the distance between the i-th individual and the (i+s)-th individual after sorting, the initial s=2;
2)如果选择第(i+s)个个体Xi+s进入下一代种群;2) If Select the (i+s)th individual Xi +s to enter the next generation population;
3)如果执行s=s+1,再比较和的大小,直到然后选择第(i+s)个个体Xi+s进入下一代种群;3) If Execute s=s+1, and then compare and size until Then select the (i+s)th individual Xi +s to enter the next generation population;
4)然后以第(i+s)个个体Xi+s作为初始个体,并令i=i+s,按照升序排序的顺序计算第i个个体和第(i+s)个个体之间的欧式距离,直到选择的个体数量达到K″,其中表示相邻距离大于平均距离的所有相邻距离的最小值,δ是控制选择范围的参数。4) Then take the (i+s) th individual X i+s as the initial individual, and let i=i+s, calculate the relationship between the i th individual and the (i+s) th individual in ascending order. Euclidean distance until the number of selected individuals reaches K″, where Indicates the adjacent distance greater than average distance The minimum value of all adjacent distances of , δ is a parameter that controls the selection range.
步骤8,代数g≤Gmax,循环执行步骤4-步骤7;否则,算法终止并输出高维多目标优化问题的Pareto解集。Step 8, the algebra g≤G max , execute step 4-step 7 in a loop; otherwise, the algorithm terminates and outputs the Pareto solution set of the high-dimensional multi-objective optimization problem.
上面结合附图对本发明的具体实施方式作了详细说明,但是本发明并不限于上述实施方式,在本领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下做出各种变化。The specific embodiments of the present invention have been described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned embodiments, and within the scope of knowledge possessed by those of ordinary skill in the art, it can also be done without departing from the purpose of the present invention. various changes.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010145618.2A CN111369000A (en) | 2020-03-05 | 2020-03-05 | High-dimensional multi-target evolution method based on decomposition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010145618.2A CN111369000A (en) | 2020-03-05 | 2020-03-05 | High-dimensional multi-target evolution method based on decomposition |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111369000A true CN111369000A (en) | 2020-07-03 |
Family
ID=71211705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010145618.2A Pending CN111369000A (en) | 2020-03-05 | 2020-03-05 | High-dimensional multi-target evolution method based on decomposition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111369000A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112487493A (en) * | 2020-11-25 | 2021-03-12 | 电子科技大学 | Safety strategy scheduling optimization method based on genetic algorithm |
CN113094973A (en) * | 2021-03-18 | 2021-07-09 | 西北工业大学 | Civil aircraft demand optimization method based on multi-objective optimization algorithm |
CN113705109A (en) * | 2021-09-02 | 2021-11-26 | 中国人民解放军战略支援部队航天工程大学 | Hybrid preference model-based evolutionary high-dimensional multi-objective optimization method and system |
CN114156915A (en) * | 2021-12-16 | 2022-03-08 | 西安博展电力技术有限公司 | Multi-objective optimization method for three-phase imbalance of transformer area |
-
2020
- 2020-03-05 CN CN202010145618.2A patent/CN111369000A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112487493A (en) * | 2020-11-25 | 2021-03-12 | 电子科技大学 | Safety strategy scheduling optimization method based on genetic algorithm |
CN113094973A (en) * | 2021-03-18 | 2021-07-09 | 西北工业大学 | Civil aircraft demand optimization method based on multi-objective optimization algorithm |
CN113705109A (en) * | 2021-09-02 | 2021-11-26 | 中国人民解放军战略支援部队航天工程大学 | Hybrid preference model-based evolutionary high-dimensional multi-objective optimization method and system |
CN114156915A (en) * | 2021-12-16 | 2022-03-08 | 西安博展电力技术有限公司 | Multi-objective optimization method for three-phase imbalance of transformer area |
CN114156915B (en) * | 2021-12-16 | 2023-12-08 | 西安博展电力技术有限公司 | Multi-objective optimization method for three-phase unbalance of transformer area |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111369000A (en) | High-dimensional multi-target evolution method based on decomposition | |
Liang et al. | A dynamic multiobjective evolutionary algorithm based on decision variable classification | |
Lin et al. | A hybrid evolutionary immune algorithm for multiobjective optimization problems | |
Li et al. | A survey on firefly algorithms | |
Cai et al. | Cooperative coevolution with knowledge-based dynamic variable decomposition for bilevel multiobjective optimization | |
CN107045569B (en) | Gear reducer optimization design method based on clustering multi-target distribution estimation algorithm | |
CN111461286B (en) | Spark parameter automatic optimization system and method based on evolutionary neural network | |
Baykasoğlu et al. | Discovering task assignment rules for assembly line balancing via genetic programming | |
Tian et al. | A dynamic job-shop scheduling model based on deep learning. | |
CN107894710B (en) | Principal component analysis modeling method for temperature of cracking reaction furnace | |
Su et al. | Comparing the performance of evolutionary algorithms for sparse multi-objective optimization via a comprehensive indicator [research frontier] | |
CN113705109A (en) | Hybrid preference model-based evolutionary high-dimensional multi-objective optimization method and system | |
Castillo et al. | Comparing evolutionary hybrid systems for design and optimization of multilayer perceptron structure along training parameters | |
CN119003184B (en) | An intelligent computing resource scheduling method based on cloud-edge collaboration | |
CN113515097B (en) | Two-target single machine batch scheduling method based on deep reinforcement learning | |
CN115481727A (en) | Intention recognition neural network generation and optimization method based on evolutionary computation | |
CN110070177A (en) | Community structure detection method in a kind of nonoverlapping network and overlapping network | |
CN110490234A (en) | The construction method and classification method of classifier based on Cluster Classification associative mechanism | |
CN106022464A (en) | Cluster-based high-dimensional multi-objective evolution method | |
CN114546609A (en) | DNN inference task batch scheduling method facing heterogeneous cluster | |
CN111352650B (en) | A method and system for multi-objective optimization of software modularization based on INSGA-II | |
CN115220477B (en) | A method for forming a heterogeneous UAV alliance based on quantum genetic algorithm | |
CN115293430A (en) | Unmanned node cooperation method and system based on cooperative coevolution algorithm | |
CN113094973B (en) | Civil aircraft demand optimization method based on multi-objective optimization algorithm | |
CN115049006A (en) | Communication signal identification method and system based on self-adaptive feedforward neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200703 |
|
WD01 | Invention patent application deemed withdrawn after publication |