当前位置:文档之家› 多目标进化算法总结

多目标进化算法总结

MOGAi x 是第t 代种群中个体,其rank 值定义为:()(,)1t i i rank x t p =+()t i p 为第t 代种群中所有支配i x 的个体数目适应值(fitness value )分配算法:1、 将所有个体依照rank 值大小排序分类;2、 利用插值函数给所有个体分配适应值(从rank1到rank *n N ≤),一般采用线性函数3、 适应值共享:rank 值相同的个体拥有相同的适应值,保证后期选择时同一rank 值的个体概率相同最后采用共享适应值随机选取的方法选择个体进入下一代一种改进的排序机制(ranking scheme ): 向量,1,(,,)a a a q y y y =⋅⋅⋅和,1,(,,)b b b q y y y =⋅⋅⋅比较 goal vector :()1,,q g g g =⋅⋅⋅ 分为以下三种情况: 1、()(),,1,,1; 1,,;1,,; a i i a j j k q i k j k q y g y g ∃=⋅⋅⋅-∀=⋅⋅⋅∀=+⋅⋅⋅>∧≤2、(),1,,; a i i i q y g ∀=⋅⋅⋅>当a y 支配b y 时,选择a y 3、(),1,,; a j j j q y g ∀=⋅⋅⋅≤ 当b y 支配a y 时,选择b y优点:算法思想容易,效率优良 缺点:算法容易受到小生境的大小影响 理论上给出了参数share σ的计算方法NPGA基本思想: 1、初始化种群Pop2、锦标赛选择机制:随机选取两个个体1x 和2x 和一个Pop 的 子集CS(Comparison Set)做参照系。

若1x 被CS 中不少于一 个个体支配,而2x 没有被CS 中任一个体支配,则选择2x 。

3、其他情况一律称为死结(Tie ),采用适应度共享机制选择。

个体适应度:i f小生境计数(Niche Count ):(),i j Popm Sh d i j ∈=⎡⎤⎣⎦∑共享函数:1-,()0,share shareshare d d Sh d d σσσ⎧≤⎪=⎨⎪>⎩共享适应度(the shared fitness ):iif m选择共享适应度较大的个体进入下一代优点:能够快速找到一些好的非支配最优解域 能够维持一个较长的种群更新期 缺点:需要设置共享参数需要选择一个适当的锦标赛机制限制了该算法的实际应用效果NPGA II基本思想: 1、初始化种群Pop2、Pareto 排序:非支配个体rank=0;其余个体 rank=支配该个体的个体数目3、锦标赛选择机制:种群中任选两个个体1x 和2x , 若()()12rank x rank x <,则选择1x ; 若是()()12rank x rank x =,称为死结(Tie ), 采用适应度共享机制选择。

小生境计数(Niche Count ):1 0 ij ij sharej Pop share i ij share d if d m if d σσσ∈⎧⎛⎫-<⎪ ⎪=⎨⎝⎭⎪≥⎩∑ 这里的Pop 只包含当前一代里的个体,在NPGA 中, 计算i m 公式中的Pop 包含当前一代以及已经产生的 属于下一代的所有个体最后,选择计数较小的个体进入下一代在计算Niched Count 之前还要对函数值进行标准化:',min,max ,mini i ii i O O O O O -=-NSGA和简单的遗传算法的不同点在于selection operator works , crossover and mutation operator 是一样的不一样的共享函数:()2,,,1-, 0, i j i j share i j share d if d Sh d otherwiseσσ⎧⎛⎫⎪< ⎪=⎨⎝⎭⎪⎩ ,i j d 表示个体i 和j 之间的距离share σ是共享参数,表示小生境的半径小生境计数(Niche Count ):(),i j currentfrontm Sh d i j ∈=⎡⎤⎣⎦∑共享适应值:idfm最后采用随机余数比例算法选择个体进行重新构造种群的基础优点:优化目标个数任选 非支配最优解分布均匀 允许存在多个不同的等效解 缺点:计算复杂度过高(()3O MN ) 不具有精英保留机制 需要预设共享参数share σNSGA II加入精英保留机制快速非支配排序方法(Fast Nondominated Sorting Approach ): 支配计数 p n :支配解p 的解数量 支配解集 p S :解p 支配的解集合1、计算出每一个解的p n 和p S ,第一级非支配解0p n =,单独放入一个集合;2、遍历成员q 和q S ,逐步递减q n ,如果可以减少为0,将p 放入单独的集合Q ,构成第二级非支配解;3、重复步骤2,直到所有成员全部分类完成。

Crowded-comparison Approach1、计算集合I 的长度,初始化;2、对每一个目标,利用目标值进行排序;3、赋予边界点(第一个和最后一个)最大值,确保它们不会被剔除;4、循环计算其他点的crowded distance.[][][][]()max mintan tan 1.1.dis ce dis ce m mI i m I i m I i I i f f +--=+-其中,I 为非支配集合,[].I i m 表示第m 个目标在第i 个个体处的目标值,max min /m m f f 分别表示第m 个目标的最大最小函数值值越小,越拥挤Crowded-Comparison Operator :nnij if ()rank rank i j < or()()()tan tan rankrank dis ce dis ce ij and i j =>Replace the sharing function approach in NSGA 可以一定程度上消除一下两点:(1)the sharing function 太过于依赖共享参数,不容易设定 (2)the sharing function 时间复杂度达到()2O N算法主循环:1、初始种群0P (size N =),并利用binary tournament selection, recombination and mutation operators 构建一个子代种群0Q (size N =);2、合并0P 和0Q ,记000R P Q =+第t 代:合并t P 和t Q ,记t t t R P Q =+对t R 进行非支配分类,结果记作()12,,F F F =⋅⋅⋅ 循环计算crowded distance of i F ,并入1t P +对当前i F 进行crowded distance 排序,选择前()1||t N P +-个成员并入1t P+,确保1||t P N +=利用binary tournament selection, recombination and mutation operators 构建1t Q + 进入下一次循环SPEACharacters:a) Storing nondominated solutions externally in a second, continuously updated populationb) Evaluating an individual's fitness dependent on the number of external nondominated points that dominate itc) Preserving population diversity using the Pareto dominance relationshipd) Incorporating a clustering procedure in order to reduce the nondominated set without destroying its characteristics Steps:1) Generate an initial population P and create the empty external nondominated set 'P . 2) Copy nondominated member of P to 'P .3) Remove solutions within 'P which are covered by any other member of 'P . 4) If the number of externally stored nondominated solutions exceeds a given maximum'N , prune 'P by means of clustering.5) Calculate the fitness of each individual in P as well as in 'P .6) Select individuals from 'P P (multiset union), until the mating pool is filled. In this study, binary tournament selection with replacement is used. 7) Apply problem-specific crossover and mutation operators as usual.8) If the maximum number of generations is reached, then stop, else go to Step 2.Fitness Assignment:1) 外部群落 'i P ∈赋值[)0,1i s ∈,称作strength , 和j P ∈的数量成正比, i j定义:1i ns N =+适应值i f =i s 2)当前群落 j P ∈[),1, 1,.j i i i i jf s where f N =+∈∑其中'i P ∈,适应值加1是为了确保外部群落的个体适应值优于当前群落 这里适应值越小,被选中的概率越大(small fitness values correspond to high reproduction probabilities )聚簇缩减:1)Initialize cluster set C; each external nondominated point 'i P ∈ constitutes a distinct cluster: {}{}iC i =.2) If ||'C N ≤, go to Step 5, else go to Step 3.3) Calculate the distance of all possible pairs of clusters. The distance d of two clusters12 c and c C ∈ is given as the average distance between pairs of individuals across thetwo clusters112212,121||||||||i c i c d i i c c ∈∈=-∑where the metric ||||• reflects the distance between two individuals 12 i and i (in this study an Euclidean metric on the objective space is used)4) Determine two clusters 12 c and c with minimal distance d; the chosen clusters amalgamate into a larger cluster: {}{}1212\,C C c c c c =⋃⋃. Go to Step 2.5) Compute the reduced nondominated set by selecting a representative individual percluster. We consider the centroid (the point with minimal average distance to all other points in the cluster) as representative solution.优点:SPEA IISPEA 可改进点: 1)Fitness Assignment当'P 成员只有一个时,P 中所有成员的适应值都是相同的。

相关主题