# A Tent Marine Predators Algorithm with Estimation Distribution Algorithm and Gaussian Random Walk for Continuous Optimization Problems

Authors: Chang-Jian Sun; Fang Gao
Journal: Computational Intelligence and Neuroscience
 (2021)

---

## Abstract

The marine predators algorithm (MPA) is a novel population-based optimization method that has been widely used in real-world optimization applications. However, MPA can easily fall into a local optimum because of the lack of population diversity in the late stage of optimization. To overcome this shortcoming, this paper proposes an MPA variant with a hybrid estimation distribution algorithm (EDA) and a Gaussian random walk strategy, namely, HEGMPA. The initial population is constructed using cubic mapping to enhance the diversity of individuals in the population. Then, EDA is adapted into MPA to modify the evolutionary direction using the population distribution information, thus improving the convergence performance of the algorithm. In addition, a Gaussian random walk strategy with medium solution is used to help the algorithm get rid of stagnation. The proposed algorithm is verified by simulation using the CEC2014 test suite. Simulation results show that the performance of HEGMPA is more competitive than other comparative algorithms, with significant improvements in terms of convergence accuracy and convergence speed.


---

## Body

## 1. Introduction

Solving optimization problems in engineering and scientific research is a common problem. An optimization problem is the process of finding the best value of a decision variable that satisfies the maximum or minimum objective value without violating the constraints. Traditional gradient-based deterministic algorithms show difficulty in solving practical problems [1]. With the development of science and technology today, the optimization problems we encounter are becoming more and more complex. These real-world optimization problems often involve many decision variables, complex nonlinear constraints and nonconvexity, dynamic objective functions, and expensive computational costs [2, 3]. Although these algorithms achieve faster processing speeds, they can easily fall into local optima. In addition, the performance of the algorithms depends heavily on the characteristics of the problem and the initial parameter values. However, metaheuristic algorithms, which do not depend on the characteristics of the problem, are simple in structure, flexible, and do not rely on gradient information and have therefore received widespread attention and flourished among scholars. As a result, it is widely used to solve various optimization problems, such as task planning [4, 5], feature selection [6, 7], parameter optimization [8, 9], and image segmentation [10, 11].Over the past decades, many metaheuristic algorithms have been proposed. These algorithms can be divided into three categories: evolution-based algorithms, physics-based algorithms, and swarm-based algorithms. Evolutionary-based algorithms are a class of algorithms that simulate the laws of evolution in nature. Genetic algorithm (GA) [12] is a widely used evolution-based algorithm proposed by Holland. It updates populations by simulating the natural law of superiority and inferiority. With the popularity of GA and GA variants, more and more evolutionary-based algorithms have been proposed, including differential evolution (DE) [13], genetic programming (GP) [14], and evolutionary strategy (ES) [15]. In addition to these evolutionary algorithms, new evolutionary-based algorithms have recently been proposed, such as the artificial algae algorithm (AAA) [16] and monkey king evolutionary (MKE) [17]. Physics-based algorithms simulate the laws of physics in nature or in the universe. Inspired by the phenomenon of annealing in metallurgy, simulated annealing (SA) [18] is one of the best-known physics-based algorithms. Other physics-based algorithms have been proposed, including the gravitational search algorithm (GSA) [19], nuclear reaction optimization (NRO) [20], water cycle algorithm (WCA) [21], and sine cosine algorithm (SCA) [22]. Population-based algorithms simulate the social behaviour of species such as self-organisation and division of labour. Particle swarm optimization (PSO) [23] and ant colony optimization (ACO) [24] are two classical swarm-based algorithms. Inspired by these two algorithms, an increasing number of scholars have studied this topic and proposed different swarm-based algorithms such as grey wolf optimizer (GWO) [25], whale optimization algorithm (WOA) [26], sparrow search algorithm (SSA) [27], firefly algorithm (FA) [28], artificial bee colony algorithm (ABC) [29], and tuna swarm optimization (TSO) [30].The marine predators algorithm (MPA) is a novel population-based natural heuristic optimization algorithm proposed by Faramarzi et al. [31], which is mainly inspired by the different foraging strategies of marine predators and the optimal encounter rate strategies between predators and prey. Simulation results in the literature [31] show that MPA has better performance compared to GA, PSO, GSA, CS, SSA, and CMA-ES and thus has been widely used to tackle many practical engineering problems such as photovoltaics [32, 33], power systems [34], image classification [35], and task scheduling [36].Although MPA has been applied in several fields, there is less analysis and improvement on the shortcomings of MPA. MPA mainly searches near the optimal individuals when performing population position update, without using the effective information of more individuals. The insufficient diversity leads the MPA into a local optimum. The FADs process is designed to enhance the diversity of the population, but it does not determine the superiority of the offspring and the parent, which is not conducive to the optimization and convergence of the algorithm to a certain extent.Currently, there are three main approaches to improve the performance of natural heuristic optimization algorithms. The first is parameter tuning. Tang et al. [37] used chaos mapping to optimise key parameters of sparrow search algorithm. Ewees and Elaziz [38] investigated the effect of different chaotic mapping tools on the parameter settings of the algorithm. The second approach is to design different search operators. Zhang et al. [39] used a triangular variational strategy and a logarithmic spiral strategy to improve the development and exploration performance of the algorithm. Nor et al. [40] proposed an adaptive switching particle swarm algorithm based on a hybrid update sequence. The third approach is to introduce other techniques. The fractional order is an effective tool that has been used in other areas [41, 42]. Deep neural networks can also be combined [43, 44]. In addition, traditional gradient-based methods can be combined with metaheuristic algorithms. Inspired by these ideas, this paper proposes a hybrid MPA combined with the estimation of distribution algorithm for improving the basic MPA performance. And, we use Tent mapping and Gaussian random walk to further improve performance. The performance of HEGMPA was evaluated on the CEC2014 test suite and compared with five advanced algorithms. The superiority of the proposed algorithm is verified by numerical analysis, convergence analysis, stability analysis, and statistical analysis.The left part of this paper is organized as follows: A review of the MPA is presented in Section2. Section 3 shows a detailed description of the proposed algorithm. In Section 4, the effectiveness of the proposed improvement strategy is verified using CEC2014 test suite. Finally, we summarize this work in Section 4 and present directions for future research.


## 2. Marine Predators Algorithm (MPA)

In this section, the procedure of the basic MPA is presented. MPA is a novel swarm-based metaheuristic algorithm mainly inspired by the different foraging strategies of marine predators and the optimal encounter rate strategy between the predator and prey.Similar to most metaheuristics, the initial solution of MPA is distributed as evenly as possible in the search space. The initialization formula is as follows:(1)X1=Xmin+r1×Xmax−Xmin,where Xmin and Xmax denote the upper and lower bounds of the population variables, respectively. r1∈0,1 is a random vector obeying a uniform distribution.The MPA search process is divided into three phases based on different speed ratios: (1) a high-speed phase, where the prey speed is faster than the predator speed; (2) a unit speed ratio phase, where the prey speed and the predator speed are similar; and (3) a low-speed phase, where the prey speed is slower than the predator speed. In each stage, the movement of the predator and prey in nature is imitated separately.Phase 1.
The high-speed phase occurs at the beginning of the iteration, when the prey obeys Brownian motion and the predator performs mainly exploratory behaviour. The mathematical model for this phase is shown as follows:(2)while iter<13itermax,stepsizei⟶=RB⟶⊗Elitei⟶−RB⟶⊗Preyi⟶,i=1,…,n,(3)Preyi⟶=Preyi⟶+P⋅R⟶⊗stepsizei⟶,where RB⟶ is a random vector that follows a normal distribution based on Brownian motion. P is a constant taking the value 5. R⟶∈0,1 is a uniformly distributed random vector. iter denotes the number of current iterations. itermax denotes the maximum number of iterations.Phase 2.
In the second stage, both exploitation and exploration are required, so the stock is divided into two parts. One part is used for exploitation, and the other for exploration. The prey is used for the exploitation process and the predator for the exploration process. The mathematical model of this stage is described as follows:(4)while13itermax≤iter<23itermax.
The first part of the population carries out exploitation behaviour.(5)stepsizei⟶=RL⟶⊗Elitei⟶−RL⟶⊗Preyi⟶,i=1,…,n,(6)Preyi⟶=Preyi⟶+P⋅R⟶⊗stepsizei⟶,where RL⟶ is a random vector obeying a Lévy distribution.
The second part of the population performs exploratory behaviour.(7)stepsizei⟶=RB⟶⊗RB⟶⊗Elitei⟶−Preyi⟶,i=1,…,n,(8)Preyi⟶=Elitei⟶+P⋅CF⊗stepsizei⟶,where CF=1−iter/itermax2iter/itermax is an adaptive parameter that controls the predator step size.Phase 3.
As the last phase, the exploitation process is mainly carried out and the mathematical model of this phase is described as follows:(9)while iter>23itermax,stepsizei⟶=RL⟶⊗RL⟶⊗Elitei⟶−Preyi⟶,(10)Preyi⟶=Elitei⟶+P⋅CF⊗stepsizei⟶.
In addition, environmental issues can cause changes in predator behaviour, and fish aggregating devices (FADs) are a factor that affects predator behaviour and are seen as a local optimum in this search area, assuming that the local optimum can be jumped out of by longer steps. The effect of FADs can be expressed mathematically as follows:(11)Preyi⟶=Preyi⟶+CFXmin⟶+R⟶⊗Xmax⟶−Xmin⟶⊗U⟶,ifr≤FADs,Preyi⟶+FADs1−r+rPreyr1⟶−Preyr2⟶,ifr>FADs,where FADs=0.2 denotes the probability that FADs affect the optimization process. U⟶ is a binary vector including 0 or 1. When a random vector from 0 to 1 is generated and is less than 0.2, the array is changed to 0, and vice versa. r∈0,1 is a uniformly distributed random number. Preyr1⟶ and Preyr2⟶ are two randomly selected individuals. The pseudo-code for the MPA is shown in Algorithm 1 and Figure 1.
Algorithm 1: Pseudo-code of MPA.
(1)
Initialize search agents (Prey) populations(2)
While termination criteria are not met(3)
Calculate the fitness, construct the Elite matrix, and accomplish memory saving(4)
if iter < itermax/3(5)
Update prey based on equations (2) and (3)(6)
else if itermax/3 < iter < 2 × itermax/3(7)
For the first half of the populations (i = 1, …, NP/2)(8)
Update prey based on equation (6)(9)
For the other half of the populations(10)
Update prey based on equation (8)(11)
else if iter > 2 × itermax/3(12)
Update prey based on equation (10)(13)
end if(14)
Accomplish memory saving and Elite update(15)
Applying FADs effect and update based on equation (11)(16)
end whileFigure 1
Flow chart of MPA.


## 3. The Proposed MPA Variant

The basic MPA uses only the best individuals for iterative search, not making full use of valid information from the remaining individuals, resulting in reduced population diversity. The FADs process is performed at each iteration, which increases the computational cost. We use three strategies to improve the performance of the algorithm. Firstly, we take advantage of the good traversal and randomness of chaotic mapping to generate the initial solution of the population and increase the population diversity. Secondly, we use EDA to sample the dominant population information and correct the evolutionary direction. A Gaussian wandering strategy is used to enhance the population diversity when the algorithm stalls, helping the algorithm to jump out of the local optimum. Finally, a greedy strategy is used to ensure that the algorithm converges efficiently.


### 3.1. Population Initialization Based on Cubic Mapping

The initial population of most current intelligent optimization algorithms is randomly generated in the search space, and the quality of the initialized population has a great impact on the efficiency of the optimization algorithm. A uniformly distributed population is conducive to expanding the search range and thus improving the convergence speed and accuracy of the algorithm.MPA, like other intelligent algorithms, suffers from a reduction in population diversity late in the iteration when solving complex problems, which can easily fall into local optima leading to premature maturity resulting in poor convergence accuracy. To improve its global search capability and avoid the reduction of population diversity in the postiteration period, the chaos operator is used to initialize the population, considering that it has the characteristics of randomness and regularity and can traverse all states within a certain range without repetition, so the cubic mapping chaos operator is used. Figure2 shows the effect of cubic mapping and logistic mapping.Figure 2
Mapping contrast diagram. (a) Logistic mapping values. (b) Cubic mapping values.
(a)(b)The cubic mapping formula is shown as follows:(12)yn+1=4yn3−3yn,−1<yn<1,yn≠0,n=0,1,2,….The cubic mapping is used to initialize the prey population by generating a random vector of −1 to 1 in each dimension as the first individual, then iterating over each dimension of the first individual to obtain the remainingM − 1 individuals using equation (12), and finally mapping the values of the variables generated by the cubic mapping onto the prey individuals using(13)Preyi,j=Xmin+Xmax−Xmin×yij+12.


### 3.2. Estimation of Distribution Algorithm

The estimation of distribution algorithm is an algorithm that uses probability models to represent relationships between individuals. EDA has been employed for hybridization with other algorithms and has achieved better results [45, 46]. It uses the current dominant population to calculate a probability distribution model and generates a new population of children based on the probability distribution model sampling, thus iterating continuously to eventually obtain the optimal solution. In this paper, the distribution model is estimated using a weighted maximum likelihood estimation method and the top one-half population with better performance is taken as the dominant population. The mathematical model of the algorithm is described as follows:(14)Preymean⟶=∑i=1NP/2ωi×Preyi⟶,(15)ωi=lnNP/2+0.5−lni∑i=1NP/2lnNP/2+0.5−lni,(16)Covi=1NP/2∑i=1NP/2Preyi⟶−Preymean⟶×Preyi⟶−Preymean⟶T,(17)Preyi⟶=GaussianPreymean⟶,Covi+rand×Preymean⟶−Preyi⟶,where Preymean⟶ denotes the weighted mean of the dominant population. NP is the population size. ωi denotes the weight coefficients in the dominant population in the descending order of fitness values. Cov is the weighted covariance matrix of the dominant population.


### 3.3. Medium Solution Gaussian Random Walk

A random walk strategy is used to help the algorithm jump out of stagnation and enhance its exploration capabilities when it falls into a local optimum late in the iteration. A stalled algorithm is considered to have stalled if the average fitness of the top half of the dominant population does not change in two consecutive iterations, and the random walk strategy is then used to update the population. The random walk strategy is a probabilistic model that simulates the random movement of organisms in nature and is widely used in the design and improvement of various optimization algorithms. In this paper, we propose a Gaussian random walk strategy for constructing new offspring using a medium population.As the vector of differences between dominant and intermediate populations can improve the diversity of populations, information on intermediate populations is considered in this paper. The sampling points are related to the relative positions of the medium and dominant populations, extending the search range and providing a strong exploration capability. The mathematical model of the strategy is described as follows:(18)Preyi⟶=GaussianPreyi⟶,σ+rand×Preyr4best⟶−rand×Preyr3medium⟶,σ=Preyr4best⟶−Preyr3medium⟶,where Preybest⟶ and Preymedium⟶ represent randomly selected individuals from the dominant and intermediate populations, respectively.At the end of each iteration, HEGMPA used a greedy strategy to retain the best NP individuals in the parent and offspring, thus forming a new population, which facilitated the global convergence ability of HEGMPA. In summary, the flow chart of the improved algorithm proposed in this paper is shown in the following. The pseudo-code for the HEGMPA is shown in Algorithm2.Algorithm 2: Pseudo-code of HEGMPA.
(1)
Initialize search agents (Prey) populations(2)
While termination criteria are not met(3)
Calculate the fitness, construct the Elite matrix and accomplish memory saving(4)
if stagnation(5)
Update prey based on equation (18)(4)
else if rand < 0.5(6)
if iter < itermax/3(7)
Update prey based on equations (2) and (3)(8)
else if itermax/3 < iter < 2 × itermax/3(9)
For the first half of the populations (i = 1, …, NP/2)(10)
Update prey based on equation (6)(11)
For the other half of the populations(12)
Update prey based on equation (8)(13)
else if iter > 2 × itermax/3(14)
Update prey based on equation (10)(15)
end if(16)
else(17)
Update prey based on equation (17)(18)
Accomplish memory saving and Elite update(19)
end while


## 3.1. Population Initialization Based on Cubic Mapping

The initial population of most current intelligent optimization algorithms is randomly generated in the search space, and the quality of the initialized population has a great impact on the efficiency of the optimization algorithm. A uniformly distributed population is conducive to expanding the search range and thus improving the convergence speed and accuracy of the algorithm.MPA, like other intelligent algorithms, suffers from a reduction in population diversity late in the iteration when solving complex problems, which can easily fall into local optima leading to premature maturity resulting in poor convergence accuracy. To improve its global search capability and avoid the reduction of population diversity in the postiteration period, the chaos operator is used to initialize the population, considering that it has the characteristics of randomness and regularity and can traverse all states within a certain range without repetition, so the cubic mapping chaos operator is used. Figure2 shows the effect of cubic mapping and logistic mapping.Figure 2
Mapping contrast diagram. (a) Logistic mapping values. (b) Cubic mapping values.
(a)(b)The cubic mapping formula is shown as follows:(12)yn+1=4yn3−3yn,−1<yn<1,yn≠0,n=0,1,2,….The cubic mapping is used to initialize the prey population by generating a random vector of −1 to 1 in each dimension as the first individual, then iterating over each dimension of the first individual to obtain the remainingM − 1 individuals using equation (12), and finally mapping the values of the variables generated by the cubic mapping onto the prey individuals using(13)Preyi,j=Xmin+Xmax−Xmin×yij+12.


## 3.2. Estimation of Distribution Algorithm

The estimation of distribution algorithm is an algorithm that uses probability models to represent relationships between individuals. EDA has been employed for hybridization with other algorithms and has achieved better results [45, 46]. It uses the current dominant population to calculate a probability distribution model and generates a new population of children based on the probability distribution model sampling, thus iterating continuously to eventually obtain the optimal solution. In this paper, the distribution model is estimated using a weighted maximum likelihood estimation method and the top one-half population with better performance is taken as the dominant population. The mathematical model of the algorithm is described as follows:(14)Preymean⟶=∑i=1NP/2ωi×Preyi⟶,(15)ωi=lnNP/2+0.5−lni∑i=1NP/2lnNP/2+0.5−lni,(16)Covi=1NP/2∑i=1NP/2Preyi⟶−Preymean⟶×Preyi⟶−Preymean⟶T,(17)Preyi⟶=GaussianPreymean⟶,Covi+rand×Preymean⟶−Preyi⟶,where Preymean⟶ denotes the weighted mean of the dominant population. NP is the population size. ωi denotes the weight coefficients in the dominant population in the descending order of fitness values. Cov is the weighted covariance matrix of the dominant population.


## 3.3. Medium Solution Gaussian Random Walk

A random walk strategy is used to help the algorithm jump out of stagnation and enhance its exploration capabilities when it falls into a local optimum late in the iteration. A stalled algorithm is considered to have stalled if the average fitness of the top half of the dominant population does not change in two consecutive iterations, and the random walk strategy is then used to update the population. The random walk strategy is a probabilistic model that simulates the random movement of organisms in nature and is widely used in the design and improvement of various optimization algorithms. In this paper, we propose a Gaussian random walk strategy for constructing new offspring using a medium population.As the vector of differences between dominant and intermediate populations can improve the diversity of populations, information on intermediate populations is considered in this paper. The sampling points are related to the relative positions of the medium and dominant populations, extending the search range and providing a strong exploration capability. The mathematical model of the strategy is described as follows:(18)Preyi⟶=GaussianPreyi⟶,σ+rand×Preyr4best⟶−rand×Preyr3medium⟶,σ=Preyr4best⟶−Preyr3medium⟶,where Preybest⟶ and Preymedium⟶ represent randomly selected individuals from the dominant and intermediate populations, respectively.At the end of each iteration, HEGMPA used a greedy strategy to retain the best NP individuals in the parent and offspring, thus forming a new population, which facilitated the global convergence ability of HEGMPA. In summary, the flow chart of the improved algorithm proposed in this paper is shown in the following. The pseudo-code for the HEGMPA is shown in Algorithm2.Algorithm 2: Pseudo-code of HEGMPA.
(1)
Initialize search agents (Prey) populations(2)
While termination criteria are not met(3)
Calculate the fitness, construct the Elite matrix and accomplish memory saving(4)
if stagnation(5)
Update prey based on equation (18)(4)
else if rand < 0.5(6)
if iter < itermax/3(7)
Update prey based on equations (2) and (3)(8)
else if itermax/3 < iter < 2 × itermax/3(9)
For the first half of the populations (i = 1, …, NP/2)(10)
Update prey based on equation (6)(11)
For the other half of the populations(12)
Update prey based on equation (8)(13)
else if iter > 2 × itermax/3(14)
Update prey based on equation (10)(15)
end if(16)
else(17)
Update prey based on equation (17)(18)
Accomplish memory saving and Elite update(19)
end while


## 4. Simulation Experiments and Analysis of Results

To comprehensively validate the performance of the improved algorithms, we first verify the effectiveness of different improvement strategies and then verify the superiority and competitiveness of the improved algorithms by comparing them with recently proposed ones.The CEC2014 test suite contains 30 test functions, which can be divided into four categories of test functions according to different characteristics: F1–F3 for single-peaked functions, F4–F16 for multipeaked functions, F17–F22 for mixed functions, and F23–F30 for combined functions. The definitions and optimal values of the functions are shown in Table1. In the CEC2014 test, the maximum number of iterations is 600 and the population size is 500. All algorithms were run independently 51 times to record statistical values. The program was run on a MATLAB 2016b platform.Table 1
Descriptions of CEC2014 test suite.
TypeNo.Function nameFi∗=Fix∗Unimodal functions1Rotated high conditioned elliptic function1002Rotated bent cigar function2003Rotated discus function300Multimodal functions4Shifted and rotated Rosenbrock’s function4005Shifted and rotated Ackley’s function5006Shifted and rotated Weierstrass function6007Shifted and rotated Griewank’s function7008Shifted Rastrigin’s function8009Shifted and rotated Rastrigin’s function90010Shifted Schwefel’s function100011Shifted and rotated Schwefel’s function110012Shifted and rotated Katsuura function120013Shifted and rotated HappyCat function130014Shifted and rotated HGBat function140015Shifted and rotated expanded Griewank’s plus Rosenbrock’s function150016Shifted and rotated expanded Schaffer’s F6 function1600Hybrid functions17Hybrid function 1 (N = 3)170018Hybrid function 2 (N = 3)180019Hybrid function 3 (N = 4)190020Hybrid function 4 (N = 4)200021Hybrid function 5 (N = 5)210022Hybrid function 6 (N = 5)2200Composite functions23Composition function 1 (N = 5)230024Composition function 2 (N = 3)240025Composition function 3 (N = 3)250026Composition function 4 (N = 5)260027Composition function 5 (N = 5)270028Composition function 6 (N = 5)280029Composition function 7 (N = 3)290030Composition function 8 (N = 3)3000Search range: [−100,100]D


### 4.1. Comparison of HEGMPA Improvement Strategies

HEGMPA was compared with MPA-1 using cubic mapping to initialize the population, MPA-2 with fused EDA, MPA-3 using a moderately solved Gaussian random wandering strategy, and basic MPA to verify the effectiveness of the different improvement strategies. Table2 records the mean error, standard deviation, and ranking of the different algorithms for solving the test functions. The last column shows the average ranking of each algorithm.Table 2
Statistics of the results of five algorithms in CEC2014 30D testing.
FunctionMPAMPA-1MPA-2MPA-3HEGMPAMeanStdRankMeanStdRankMeanStdRankMeanStdRankMeanStdRankF16.02E + 073.69E + 0755.08E + 073.45E + 0740.00E + 000.00E + 0011.44E + 078.57E + 0630.00E + 000.00E + 001F23.86E + 093.19E + 0953.67E + 092.61E + 0940.00E + 000.00E + 0019.32E + 075.60E + 0830.00E + 000.00E + 001F33.72E + 041.14E + 0453.20E + 041.03E + 0440.00E + 000.00E + 0014.84E + 033.14E + 0330.00E + 000.00E + 001F44.10E + 021.63E + 0244.24E + 021.61E + 0252.01E − 149.15E − 1411.56E + 023.80E + 0136.02E − 141.94E − 132F52.00E + 014.53E − 0242.00E + 014.77E − 0252.00E + 011.70E − 0222.00E + 013.82E − 0232.00E + 015.64E − 031F62.58E + 012.53E + 0052.50E + 012.65E + 0042.79E − 059.58E − 0511.57E + 012.23E + 0033.00E − 022.10E − 012F73.21E + 012.01E + 0152.99E + 011.87E + 0140.00E + 000.00E + 0016.45E − 014.73E − 0130.00E + 000.00E + 001F81.27E + 022.53E + 0151.22E + 022.78E + 0141.38E + 015.45E + 0021.52E + 017.02E + 0031.35E + 015.94E + 001F91.62E + 022.59E + 0151.56E + 023.04E + 0143.49E + 018.50E + 0011.12E + 021.66E + 0133.74E + 011.09E + 012F102.09E + 036.43E + 0251.83E + 034.49E + 0243.53E + 021.80E + 0222.99E + 021.82E + 0213.79E + 021.87E + 023F113.34E + 035.12E + 0253.17E + 035.23E + 0242.45E + 035.18E + 0222.16E + 034.71E + 0212.46E + 034.13E + 023F121.76E − 017.58E − 0241.84E − 019.38E − 0251.13E − 027.21E − 0316.78E − 023.21E − 0231.36E − 021.04E − 022F139.15E − 013.99E − 0149.32E − 013.70E − 0151.68E − 013.62E − 0224.33E − 018.89E − 0231.66E − 013.27E − 021F145.12E + 006.14E + 0054.23E + 005.98E + 0042.18E − 013.74E − 0222.64E − 017.52E − 0232.05E − 014.06E − 021F151.73E + 032.53E + 0351.25E + 031.78E + 0343.01E + 007.14E − 0111.11E + 014.99E + 0033.06E + 008.33E − 012F161.17E + 015.54E − 0141.18E + 014.79E − 0159.98E + 005.98E − 0121.05E + 014.45E − 0139.75E + 005.74E − 011F171.05E + 068.70E + 0541.24E + 061.13E + 0651.58E + 021.35E + 0222.32E + 051.36E + 0531.51E + 021.16E + 021F186.31E + 036.69E + 0355.34E + 034.39E + 0342.20E + 017.42E + 0021.20E + 034.22E + 0232.18E + 016.38E + 001F193.77E + 012.06E + 0153.50E + 012.08E + 0142.11E + 006.50E − 0121.63E + 011.28E + 0132.09E + 006.36E − 011F201.09E + 046.82E + 0351.07E + 046.90E + 0346.96E + 002.48E + 0024.58E + 033.85E + 0336.79E + 002.45E + 001F212.94E + 052.69E + 0543.15E + 052.92E + 0558.89E + 011.01E + 0219.14E + 044.73E + 0431.08E + 021.32E + 022F224.90E + 021.89E + 0245.08E + 022.00E + 0251.99E + 029.35E + 0123.76E + 021.40E + 0231.58E + 023.03E + 011F233.54E + 021.45E + 0143.56E + 021.77E + 0153.02E + 023.75E + 0123.17E + 021.25E + 0032.75E + 025.56E + 011F242.70E + 029.95E + 0052.57E + 029.11E + 0042.00E + 022.26E − 0712.00E + 024.02E − 0532.00E + 022.56E − 072F252.16E + 024.76E + 0052.16E + 023.91E + 0042.02E + 027.02E − 0122.00E + 022.85E − 1312.02E + 025.08E − 013F261.01E + 022.88E − 0121.03E + 021.41E + 0131.00E + 022.98E − 0211.06E + 022.37E + 0141.14E + 023.47E + 015F274.38E + 022.12E + 0144.49E + 023.29E + 0153.29E + 024.60E + 0124.06E + 022.70E + 0033.08E + 023.37E + 011F281.32E + 032.27E + 0251.30E + 032.15E + 0247.82E + 021.45E + 0221.13E + 033.09E + 0237.37E + 021.70E + 021F291.48E + 044.26E + 0344.52E + 052.23E + 0651.23E + 022.63E + 0122.52E + 031.02E + 0331.21E + 022.49E + 011F302.99E + 042.69E + 0443.12E + 042.62E + 0454.14E + 022.97E + 0126.65E + 032.77E + 0334.12E + 024.33E + 011Average rank4.504.371.602.831.56From Table2, HEGMPA with a full search strategy has the best search performance, while the basic MPA ranks last. Specifically, for unimodal test functions F1–F3, MPA-2, which only incorporates the EDA algorithm, performs similarly to HEGMPA in unimodal functions and far outperforms the other compared algorithms, indicating that incorporating the EDA strategy can effectively improve the development capability of the algorithm. For the multimodal functions F4–F16, HEGMPA and EDA-2 also ranked in the top two positions, while MPA was the least effective, suggesting that using dominant population information to generate offspring is beneficial in enhancing the diversity of individuals in the population. For the combinatorial functions F17–F30, HEGMPA only underperformed MPA-2 on F21, F24, and F26, indicating that the Tent chaotic mapping and moderately solved Gaussian random walk strategies can improve the algorithm’s performance in solving complex combinatorial functions and effectively help the algorithm to jump out of the local optimum when the algorithm stalls. In summary, the improvement strategy proposed in this paper can effectively improve the MPA optimality finding performance.


### 4.2. An Analysis of HEGMPA Compared with Other Algorithms

To further illustrate the superiority of the improved algorithms, five algorithms, TLMPA, VCS [47], MMPA [48], CPIJADE [49], and HFPSO [50], are selected for comparison with HEGMPA. CPIJADE is an improved JADE algorithm using a new framework. HFPSO is an improved particle swarm algorithm mixed with the firefly algorithm. To ensure fairness, the parameters of each algorithm are referred to the original literature, as shown in Table 3. In the experiments, NP = 500, dim = 30, and the maximum number of evaluations is 300,000. Table 4 records the average error and ranking of each algorithm in each test function for 51 independent runs.Table 3
Algorithm parameter setting.
AlgorithmParameter settingTLMPAr3∈0,1,r4∈0,1,r5∈0,1VCSλ=0.5,σ=0.3HFPSOc1=c2=1.49445,a=0.2,B0=2γ=1,wi=0.9,wf=0.5MMPAjr=0.3,w=10CPI-JADECr=0.5,F=0.5,c=0.1,p=0.5Table 4
Statistics of the results of six algorithms in CEC2014 30D testing.
FunctionTLMPAVCSHFPSOMMPACPIJADEHEGMPAMeanRankMeanRankMeanRankMeanRankMeanRankMeanRankF19.88E − 0336.12E + 0668.59E + 0548.82E + 0551.10E − 0420.00E + 001F23.18E − 0434.90E + 0561.76E + 0354.96E + 0241.57E − 0920.00E + 001F31.27E − 0532.77E + 0361.94E + 0253.50E + 0045.74E − 1120.00E + 001F45.62E − 0424.61E + 0144.83E + 0155.78E + 0166.21E − 0131.56E − 141F52.09E + 0162.07E + 0142.01E + 0122.09E + 0152.06E + 0132.00E + 011F61.09E − 0121.59E + 0158.20E + 0031.73E + 0161.24E + 0141.98E − 051F71.60E − 0936.85E − 0161.30E − 0241.62E − 0250.00E + 0010.00E + 001F84.11E + 0135.81E + 0155.64E + 0147.35E + 0162.83E + 0121.43E + 011F94.71E + 0121.26E + 0267.58E + 0138.49E + 0157.93E + 0143.60E + 011F101.75E + 0342.09E + 0351.04E + 0322.93E + 0361.17E + 0334.03E + 021F112.90E + 0334.13E + 0352.73E + 0323.48E + 0344.14E + 0362.49E + 031F121.42E + 0051.23E − 0122.81E − 0131.82E + 0069.10E − 0141.36E − 021F132.49E − 0124.03E − 0162.88E − 0143.65E − 0152.51E − 0131.60E − 011F142.52E − 0143.07E − 0163.07E − 0152.35E − 0122.39E − 0132.05E − 011F153.82E + 0021.15E + 0164.25E + 0037.97E + 0048.72E + 0053.01E + 001F161.01E + 0121.16E + 0151.08E + 0131.16E + 0161.13E + 0149.84E + 001F172.56E + 0223.83E + 0561.73E + 0555.10E + 0347.58E + 0231.25E + 021F183.95E + 0121.50E + 0463.67E + 0352.44E + 0244.25E + 0132.26E + 011F192.75E + 0021.32E + 0161.01E + 0141.07E + 0154.48E + 0032.10E + 001F201.80E + 0135.96E + 0368.32E + 0251.78E + 0241.67E + 0125.90E + 001F212.51E + 0221.58E + 0568.22E + 0452.78E + 0344.21E + 0239.34E + 011F221.99E + 0233.14E + 0262.91E + 0252.13E + 0241.07E + 0211.74E + 022F232.00E + 0232.00E + 0213.14E + 0252.00E + 0213.15E + 0262.81E + 024F242.00E + 0242.00E + 0212.23E + 0262.00E + 0222.22E + 0252.00E + 023F252.02E + 0232.00E + 0212.04E + 0262.00E + 0212.03E + 0252.02E + 024F261.00E + 0221.00E + 0251.02E + 0261.00E + 0241.00E + 0231.00E + 021F273.65E + 0252.16E + 0224.65E + 0262.08E + 0213.59E + 0243.25E + 023F285.51E + 0242.21E + 0224.09E + 0232.00E + 0218.44E + 0267.87E + 025F291.41E + 0222.07E + 0235.31E + 0242.64E + 0467.16E + 0251.16E + 021F304.34E + 0224.72E + 0237.67E + 0241.95E + 0369.30E + 0254.15E + 021Average rank2.934.564.24.23.51.5The analysis in Table4 shows that for single-peaked test functions F1–F3, HEGMPA outperforms all the comparative algorithms and can consistently find the optimal values of these three test functions, demonstrating the advantage of HEGMPA in solving pathological functions and once again verifying that the improved strategy can effectively improve the development capability of the algorithm. For the multipeaked test functions F4–F16, HEGMPA also outperforms all the comparative algorithms, indicating that the improved algorithms can maintain good enough population diversity to avoid falling into local optima. For complex combinatorial functions, each algorithm has its own advantages and disadvantages. HEGMPA obtains optimal solutions on F17–F22, F26, and F29–F30. VCS achieves better solutions on F23–F25. MMPA outperforms the other comparative algorithms on F23, F25, and F27–F28. CPIJADE performs best on F22. F17–F30 are more complex combinatorial test functions, and HEGMPA achieves the best results on eight of them, providing better evidence of HEGMPA’s potential to solve complex optimization problems in the real world.To further illustrate the convergence performance of the algorithms, Figure3 shows the average error convergence curves of the six algorithms for solving the CEC2014 test set. HEGMPA has better convergence accuracy and faster convergence on F1–F4, F6–F7, F13, and F16–F21. In solving F5, F8–F10, and F12, HEGMPA converges faster and with better convergence accuracy in the later part of the iteration, although the convergence speed is slower in the early part of the iteration. In summary, HEGMPA outperforms the comparison algorithms in terms of convergence accuracy and convergence speed.Figure 3
Convergence curves of CEC2014. (a) F1–F5. (b) F6–F10. (c) F11–F15. (d) F16–F20. (e) F21–F25. (f) F26–F30.
(a)(b)(c)(d)(e)(f)To analyse the distributional properties of the solutions solved by the improved algorithms, box plots were drawn based on the results of 51 independent solutions for each algorithm, as shown in Figure4. For each algorithm, the centre marker of each box indicates the median of the results of 51 solved functions, the bottom and top edges of the box indicate first- and third-degree points, and the symbol “+” indicates bad values that are not inside the box. As can be seen from Figure 4, HEGMPA has no outliers when solving 17 of the test functions (F1–F3, F7–F9, F11, F13–F15, F18, F21, F23–F24, F26–F27, and F29), indicating that the distribution solved by HEGMPA is very concentrated; meanwhile, for the other test functions where bad values exist, the HEGMPA has a small median, indicating that the quality of HEGMPA’s solutions is relatively better. Therefore, the improved algorithm proposed in this paper has a strong robustness.Figure 4
Box diagram of CEC2014. (a) F1–F5. (b) F6–F10. (c) F11–F15. (d) F16–F20. (e) F21–F25. (f) F26–F30.
(a)(b)(c)(d)(e)(f)To avoid chance in testing, this paper uses the Wilcoxon signed-rank test to verify whether the improved algorithms are statistically significantly different from the comparison algorithms. Table5 presents the results of the Wilcoxon signed-rank sum test for each algorithm and HEGMPA. In the table, “+” indicates that HEGMPA outperforms the comparison algorithm in terms of optimization results, “−” indicates poorer results, “=” indicates similar results, and the symbol “R+” is a positive rank value indicating the extent to which HEGMPA is better than the comparison algorithm and “R−” indicates the opposite result. As can be seen in Table 4, HEGMPA outperformed the basic MPA in at least 23 of the 30 tested functions due to all comparison algorithms and in all tested functions, which statistically validates the excellent performance of the improved algorithm.Table 5
Wilcoxon signed-rank sum test results for CEC2014.
No.MPATLMPAVCSP valueR+R−WinP valueR+R−WinP valueR+R−WinF15.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F25.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F35.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F45.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F55.46E − 1013251+5.15E − 1013260+5.15E − 1013260+F65.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F75.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F85.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F95.15E − 1013260+1.00E − 041078248+5.15E − 1013260+F105.15E − 1013260+5.46E − 1013251+5.15E − 1013260+F115.15E − 1013260+8.47E − 041019307+1.87E − 09130422+F125.15E − 1013260+5.15E − 1013260+7.99E − 03380946−F135.15E − 1013260+3.94E − 09129135+5.15E − 1013260+F145.15E − 1013260+6.77E − 071193133+4.17E − 09129036+F155.15E − 1013260+3.95E − 041041285+5.15E − 1013260+F165.15E − 1013260+5.35E − 02869457=5.15E − 1013260+F175.15E − 1013260+3.45E − 03975351+5.15E − 1013260+F185.15E − 1013260+5.35E − 051094232+5.15E − 1013260+F195.15E − 1013260+7.45E − 061141185+5.15E − 1013260+F205.15E − 1013260+3.20E − 08125373+5.15E − 1013260+F215.15E − 1013260+7.34E − 051086240+5.15E − 1013260+F225.15E − 1013260+1.29E − 01825501=3.56E − 08125175+F235.15E − 1013260+3.58E − 071201206−1.97E − 090666−F245.15E − 1013260+5.15E − 1013260+5.15E − 1001326−F255.15E − 1013260+1.15E − 01495831=1.63E − 0901176−F265.15E − 1013260+1.14E − 08127254+5.15E − 1013260+F275.15E − 1013260+1.32E − 061179147+1.42E − 08501225−F285.15E − 1013260+7.94E − 052421084−5.46E − 1011325−F295.15E − 1013260+7.94E − 051084242+5.15E − 1013260+F305.15E − 1013260+1.29E − 01825501=1.74E − 01808518=+/−/=30/0/024/2/423/6/1No.HFPSOMMPACPI-JADEP valueR+R−WinP valueR+R−WinP valueR+R−WinF15.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F25.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F35.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F45.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F57.80E − 1013197+5.15E − 1013260+5.15E − 1013260+F65.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F75.10E − 1013260+5.15E − 1013260+1.00E+0000=F85.15E − 1013260+5.15E − 1013260+5.80E − 1013242+F95.80E − 1013242+5.80E − 1013242+5.15E − 1013260+F101.32E − 09131016+5.15E − 1013260+5.15E − 1013260+F113.49E − 02888438+2.32E − 08125967+5.15E − 1013260+F125.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F131.18E − 09131214+5.15E − 1013260+8.77E − 1013179+F143.82E − 041042284+2.76E − 041051275+7.78E − 061140186+F156.24E − 061145181+5.15E − 1013260+5.15E − 1013260+F162.41E − 071214112+5.15E − 1013260+5.15E − 1013260+F175.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F185.15E − 1013260+5.15E − 1013260+5.80E − 1013242+F195.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F205.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F215.15E − 1013260+5.15E − 1013260+1.25E − 09131115+F224.94E − 09128739+1.27E − 02929397+1.31E − 071001226−F239.78E − 01660666=1.97E − 090666−6.10E − 051200+F245.15E − 1013260+5.15E − 1001326−5.15E − 1013260+F257.50E − 01629697=1.63E − 0901176−1.98E − 03333993−F261.25E − 09131115+5.15E − 1013260+6.53E − 1013224+F275.80E − 1013242+7.35E − 1061320−1.92E − 051119207+F287.35E − 1061320−5.15E − 1001326−2.06E − 041059267+F295.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F301.67E − 09130620+5.15E − 1013260+5.15E − 1013260++/−/=27/1/225/5/027/2/1The computational efficiency of the algorithm is also another important aspect in evaluating the performance of the algorithm. Table6 lists the average time taken by each algorithm in solving the test function, and the last column lists the average ranking of each algorithm. We can learn that HEGMPA takes more time to compute, ranking only fourth, while MPA ranks third, due to the increased computational cost caused by the introduction of EDA, and the computation of the covariance matrix based on the Gaussian distribution model increases the computational time taken by the improved algorithm. Although the introduction of the improved strategy leads to an increase in the computational time consumed by the basic MPA, the performance improvement it brings is significant and therefore the computational time consumed by the HEGMPA proposed in this paper is acceptable.Table 6
Time cost of seven algorithms in CEC2014 30D testing.
MPATLMPAVCSHFPSOMMPACPIJADEHEGMPAF12.80E + 002.19E + 002.52E + 001.32E + 002.71E + 013.51E + 003.24E + 00F22.25E + 001.69E + 001.97E + 008.31E-012.58E + 013.09E + 002.63E + 00F32.26E + 001.73E + 001.94E + 008.23E-012.65E + 013.15E + 002.68E + 00F42.26E + 001.74E + 001.97E + 008.22E-012.75E + 013.18E + 002.61E + 00F52.57E + 001.83E + 002.92E + 001.10E + 002.69E + 013.11E + 002.94E + 00F62.69E + 012.78E + 013.25E + 012.52E + 016.61E + 012.83E + 012.74E + 01F72.59E + 001.95E + 002.25E + 001.08E + 002.61E + 013.40E + 002.91E + 00F82.12E + 001.49E + 001.80E + 006.31E-012.54E + 012.64E + 002.40E + 00F92.54E + 001.99E + 002.17E + 001.06E + 002.73E + 013.12E + 002.87E + 00F102.90E + 001.87E + 002.28E + 001.03E + 002.66E + 013.03E + 002.73E + 00F113.28E + 002.35E + 003.18E + 001.58E + 002.79E + 013.52E + 003.15E + 00F127.98E + 008.13E + 006.31E + 006.52E + 003.65E + 019.59E + 008.32E + 00F132.28E + 001.54E + 001.93E + 008.16E-012.65E + 012.87E + 002.62E + 00F142.26E + 001.43E + 001.91E + 007.92E-012.74E + 012.84E + 002.59E + 00F152.60E + 002.05E + 002.25E + 001.11E + 002.62E + 013.22E + 002.99E + 00F162.62E + 002.18E + 002.46E + 001.16E + 002.61E + 013.24E + 003.24E + 00F173.02E + 001.99E + 002.57E + 001.25E + 002.63E + 013.50E + 003.17E + 00F182.41E + 001.41E + 002.13E + 009.30E-012.58E + 013.14E + 002.85E + 00F197.42E + 007.55E + 007.28E + 005.93E + 003.36E + 018.91E + 007.88E + 00F202.47E + 001.56E + 002.44E + 001.02E + 002.61E + 013.17E + 002.83E + 00F212.57E + 001.75E + 002.44E + 001.11E + 002.64E + 013.31E + 002.94E + 00F223.19E + 002.78E + 003.15E + 001.67E + 002.70E + 014.06E + 003.55E + 00F234.76E + 004.47E + 004.46E + 003.27E + 002.97E + 016.25E + 005.16E + 00F244.60E + 003.32E + 003.29E + 002.11E + 002.78E + 014.51E + 006.73E + 00F255.49E + 004.42E + 004.23E + 003.10E + 002.95E + 015.87E + 004.93E + 00F263.10E + 013.09E + 014.76E + 012.86E + 017.00E + 013.17E + 013.08E + 01F273.01E + 013.10E + 014.45E + 012.88E + 016.96E + 013.15E + 013.06E + 01F285.96E + 006.00E + 006.32E + 004.39E + 003.09E + 017.00E + 006.34E + 00F299.24E + 009.67E + 001.31E + 017.47E + 003.62E + 011.06E + 019.45E + 00F304.68E + 004.66E + 005.09E + 003.18E + 002.94E + 015.76E + 005.06E + 00Average rank3.732.503.361.037.005.764.60


## 4.1. Comparison of HEGMPA Improvement Strategies

HEGMPA was compared with MPA-1 using cubic mapping to initialize the population, MPA-2 with fused EDA, MPA-3 using a moderately solved Gaussian random wandering strategy, and basic MPA to verify the effectiveness of the different improvement strategies. Table2 records the mean error, standard deviation, and ranking of the different algorithms for solving the test functions. The last column shows the average ranking of each algorithm.Table 2
Statistics of the results of five algorithms in CEC2014 30D testing.
FunctionMPAMPA-1MPA-2MPA-3HEGMPAMeanStdRankMeanStdRankMeanStdRankMeanStdRankMeanStdRankF16.02E + 073.69E + 0755.08E + 073.45E + 0740.00E + 000.00E + 0011.44E + 078.57E + 0630.00E + 000.00E + 001F23.86E + 093.19E + 0953.67E + 092.61E + 0940.00E + 000.00E + 0019.32E + 075.60E + 0830.00E + 000.00E + 001F33.72E + 041.14E + 0453.20E + 041.03E + 0440.00E + 000.00E + 0014.84E + 033.14E + 0330.00E + 000.00E + 001F44.10E + 021.63E + 0244.24E + 021.61E + 0252.01E − 149.15E − 1411.56E + 023.80E + 0136.02E − 141.94E − 132F52.00E + 014.53E − 0242.00E + 014.77E − 0252.00E + 011.70E − 0222.00E + 013.82E − 0232.00E + 015.64E − 031F62.58E + 012.53E + 0052.50E + 012.65E + 0042.79E − 059.58E − 0511.57E + 012.23E + 0033.00E − 022.10E − 012F73.21E + 012.01E + 0152.99E + 011.87E + 0140.00E + 000.00E + 0016.45E − 014.73E − 0130.00E + 000.00E + 001F81.27E + 022.53E + 0151.22E + 022.78E + 0141.38E + 015.45E + 0021.52E + 017.02E + 0031.35E + 015.94E + 001F91.62E + 022.59E + 0151.56E + 023.04E + 0143.49E + 018.50E + 0011.12E + 021.66E + 0133.74E + 011.09E + 012F102.09E + 036.43E + 0251.83E + 034.49E + 0243.53E + 021.80E + 0222.99E + 021.82E + 0213.79E + 021.87E + 023F113.34E + 035.12E + 0253.17E + 035.23E + 0242.45E + 035.18E + 0222.16E + 034.71E + 0212.46E + 034.13E + 023F121.76E − 017.58E − 0241.84E − 019.38E − 0251.13E − 027.21E − 0316.78E − 023.21E − 0231.36E − 021.04E − 022F139.15E − 013.99E − 0149.32E − 013.70E − 0151.68E − 013.62E − 0224.33E − 018.89E − 0231.66E − 013.27E − 021F145.12E + 006.14E + 0054.23E + 005.98E + 0042.18E − 013.74E − 0222.64E − 017.52E − 0232.05E − 014.06E − 021F151.73E + 032.53E + 0351.25E + 031.78E + 0343.01E + 007.14E − 0111.11E + 014.99E + 0033.06E + 008.33E − 012F161.17E + 015.54E − 0141.18E + 014.79E − 0159.98E + 005.98E − 0121.05E + 014.45E − 0139.75E + 005.74E − 011F171.05E + 068.70E + 0541.24E + 061.13E + 0651.58E + 021.35E + 0222.32E + 051.36E + 0531.51E + 021.16E + 021F186.31E + 036.69E + 0355.34E + 034.39E + 0342.20E + 017.42E + 0021.20E + 034.22E + 0232.18E + 016.38E + 001F193.77E + 012.06E + 0153.50E + 012.08E + 0142.11E + 006.50E − 0121.63E + 011.28E + 0132.09E + 006.36E − 011F201.09E + 046.82E + 0351.07E + 046.90E + 0346.96E + 002.48E + 0024.58E + 033.85E + 0336.79E + 002.45E + 001F212.94E + 052.69E + 0543.15E + 052.92E + 0558.89E + 011.01E + 0219.14E + 044.73E + 0431.08E + 021.32E + 022F224.90E + 021.89E + 0245.08E + 022.00E + 0251.99E + 029.35E + 0123.76E + 021.40E + 0231.58E + 023.03E + 011F233.54E + 021.45E + 0143.56E + 021.77E + 0153.02E + 023.75E + 0123.17E + 021.25E + 0032.75E + 025.56E + 011F242.70E + 029.95E + 0052.57E + 029.11E + 0042.00E + 022.26E − 0712.00E + 024.02E − 0532.00E + 022.56E − 072F252.16E + 024.76E + 0052.16E + 023.91E + 0042.02E + 027.02E − 0122.00E + 022.85E − 1312.02E + 025.08E − 013F261.01E + 022.88E − 0121.03E + 021.41E + 0131.00E + 022.98E − 0211.06E + 022.37E + 0141.14E + 023.47E + 015F274.38E + 022.12E + 0144.49E + 023.29E + 0153.29E + 024.60E + 0124.06E + 022.70E + 0033.08E + 023.37E + 011F281.32E + 032.27E + 0251.30E + 032.15E + 0247.82E + 021.45E + 0221.13E + 033.09E + 0237.37E + 021.70E + 021F291.48E + 044.26E + 0344.52E + 052.23E + 0651.23E + 022.63E + 0122.52E + 031.02E + 0331.21E + 022.49E + 011F302.99E + 042.69E + 0443.12E + 042.62E + 0454.14E + 022.97E + 0126.65E + 032.77E + 0334.12E + 024.33E + 011Average rank4.504.371.602.831.56From Table2, HEGMPA with a full search strategy has the best search performance, while the basic MPA ranks last. Specifically, for unimodal test functions F1–F3, MPA-2, which only incorporates the EDA algorithm, performs similarly to HEGMPA in unimodal functions and far outperforms the other compared algorithms, indicating that incorporating the EDA strategy can effectively improve the development capability of the algorithm. For the multimodal functions F4–F16, HEGMPA and EDA-2 also ranked in the top two positions, while MPA was the least effective, suggesting that using dominant population information to generate offspring is beneficial in enhancing the diversity of individuals in the population. For the combinatorial functions F17–F30, HEGMPA only underperformed MPA-2 on F21, F24, and F26, indicating that the Tent chaotic mapping and moderately solved Gaussian random walk strategies can improve the algorithm’s performance in solving complex combinatorial functions and effectively help the algorithm to jump out of the local optimum when the algorithm stalls. In summary, the improvement strategy proposed in this paper can effectively improve the MPA optimality finding performance.


## 4.2. An Analysis of HEGMPA Compared with Other Algorithms

To further illustrate the superiority of the improved algorithms, five algorithms, TLMPA, VCS [47], MMPA [48], CPIJADE [49], and HFPSO [50], are selected for comparison with HEGMPA. CPIJADE is an improved JADE algorithm using a new framework. HFPSO is an improved particle swarm algorithm mixed with the firefly algorithm. To ensure fairness, the parameters of each algorithm are referred to the original literature, as shown in Table 3. In the experiments, NP = 500, dim = 30, and the maximum number of evaluations is 300,000. Table 4 records the average error and ranking of each algorithm in each test function for 51 independent runs.Table 3
Algorithm parameter setting.
AlgorithmParameter settingTLMPAr3∈0,1,r4∈0,1,r5∈0,1VCSλ=0.5,σ=0.3HFPSOc1=c2=1.49445,a=0.2,B0=2γ=1,wi=0.9,wf=0.5MMPAjr=0.3,w=10CPI-JADECr=0.5,F=0.5,c=0.1,p=0.5Table 4
Statistics of the results of six algorithms in CEC2014 30D testing.
FunctionTLMPAVCSHFPSOMMPACPIJADEHEGMPAMeanRankMeanRankMeanRankMeanRankMeanRankMeanRankF19.88E − 0336.12E + 0668.59E + 0548.82E + 0551.10E − 0420.00E + 001F23.18E − 0434.90E + 0561.76E + 0354.96E + 0241.57E − 0920.00E + 001F31.27E − 0532.77E + 0361.94E + 0253.50E + 0045.74E − 1120.00E + 001F45.62E − 0424.61E + 0144.83E + 0155.78E + 0166.21E − 0131.56E − 141F52.09E + 0162.07E + 0142.01E + 0122.09E + 0152.06E + 0132.00E + 011F61.09E − 0121.59E + 0158.20E + 0031.73E + 0161.24E + 0141.98E − 051F71.60E − 0936.85E − 0161.30E − 0241.62E − 0250.00E + 0010.00E + 001F84.11E + 0135.81E + 0155.64E + 0147.35E + 0162.83E + 0121.43E + 011F94.71E + 0121.26E + 0267.58E + 0138.49E + 0157.93E + 0143.60E + 011F101.75E + 0342.09E + 0351.04E + 0322.93E + 0361.17E + 0334.03E + 021F112.90E + 0334.13E + 0352.73E + 0323.48E + 0344.14E + 0362.49E + 031F121.42E + 0051.23E − 0122.81E − 0131.82E + 0069.10E − 0141.36E − 021F132.49E − 0124.03E − 0162.88E − 0143.65E − 0152.51E − 0131.60E − 011F142.52E − 0143.07E − 0163.07E − 0152.35E − 0122.39E − 0132.05E − 011F153.82E + 0021.15E + 0164.25E + 0037.97E + 0048.72E + 0053.01E + 001F161.01E + 0121.16E + 0151.08E + 0131.16E + 0161.13E + 0149.84E + 001F172.56E + 0223.83E + 0561.73E + 0555.10E + 0347.58E + 0231.25E + 021F183.95E + 0121.50E + 0463.67E + 0352.44E + 0244.25E + 0132.26E + 011F192.75E + 0021.32E + 0161.01E + 0141.07E + 0154.48E + 0032.10E + 001F201.80E + 0135.96E + 0368.32E + 0251.78E + 0241.67E + 0125.90E + 001F212.51E + 0221.58E + 0568.22E + 0452.78E + 0344.21E + 0239.34E + 011F221.99E + 0233.14E + 0262.91E + 0252.13E + 0241.07E + 0211.74E + 022F232.00E + 0232.00E + 0213.14E + 0252.00E + 0213.15E + 0262.81E + 024F242.00E + 0242.00E + 0212.23E + 0262.00E + 0222.22E + 0252.00E + 023F252.02E + 0232.00E + 0212.04E + 0262.00E + 0212.03E + 0252.02E + 024F261.00E + 0221.00E + 0251.02E + 0261.00E + 0241.00E + 0231.00E + 021F273.65E + 0252.16E + 0224.65E + 0262.08E + 0213.59E + 0243.25E + 023F285.51E + 0242.21E + 0224.09E + 0232.00E + 0218.44E + 0267.87E + 025F291.41E + 0222.07E + 0235.31E + 0242.64E + 0467.16E + 0251.16E + 021F304.34E + 0224.72E + 0237.67E + 0241.95E + 0369.30E + 0254.15E + 021Average rank2.934.564.24.23.51.5The analysis in Table4 shows that for single-peaked test functions F1–F3, HEGMPA outperforms all the comparative algorithms and can consistently find the optimal values of these three test functions, demonstrating the advantage of HEGMPA in solving pathological functions and once again verifying that the improved strategy can effectively improve the development capability of the algorithm. For the multipeaked test functions F4–F16, HEGMPA also outperforms all the comparative algorithms, indicating that the improved algorithms can maintain good enough population diversity to avoid falling into local optima. For complex combinatorial functions, each algorithm has its own advantages and disadvantages. HEGMPA obtains optimal solutions on F17–F22, F26, and F29–F30. VCS achieves better solutions on F23–F25. MMPA outperforms the other comparative algorithms on F23, F25, and F27–F28. CPIJADE performs best on F22. F17–F30 are more complex combinatorial test functions, and HEGMPA achieves the best results on eight of them, providing better evidence of HEGMPA’s potential to solve complex optimization problems in the real world.To further illustrate the convergence performance of the algorithms, Figure3 shows the average error convergence curves of the six algorithms for solving the CEC2014 test set. HEGMPA has better convergence accuracy and faster convergence on F1–F4, F6–F7, F13, and F16–F21. In solving F5, F8–F10, and F12, HEGMPA converges faster and with better convergence accuracy in the later part of the iteration, although the convergence speed is slower in the early part of the iteration. In summary, HEGMPA outperforms the comparison algorithms in terms of convergence accuracy and convergence speed.Figure 3
Convergence curves of CEC2014. (a) F1–F5. (b) F6–F10. (c) F11–F15. (d) F16–F20. (e) F21–F25. (f) F26–F30.
(a)(b)(c)(d)(e)(f)To analyse the distributional properties of the solutions solved by the improved algorithms, box plots were drawn based on the results of 51 independent solutions for each algorithm, as shown in Figure4. For each algorithm, the centre marker of each box indicates the median of the results of 51 solved functions, the bottom and top edges of the box indicate first- and third-degree points, and the symbol “+” indicates bad values that are not inside the box. As can be seen from Figure 4, HEGMPA has no outliers when solving 17 of the test functions (F1–F3, F7–F9, F11, F13–F15, F18, F21, F23–F24, F26–F27, and F29), indicating that the distribution solved by HEGMPA is very concentrated; meanwhile, for the other test functions where bad values exist, the HEGMPA has a small median, indicating that the quality of HEGMPA’s solutions is relatively better. Therefore, the improved algorithm proposed in this paper has a strong robustness.Figure 4
Box diagram of CEC2014. (a) F1–F5. (b) F6–F10. (c) F11–F15. (d) F16–F20. (e) F21–F25. (f) F26–F30.
(a)(b)(c)(d)(e)(f)To avoid chance in testing, this paper uses the Wilcoxon signed-rank test to verify whether the improved algorithms are statistically significantly different from the comparison algorithms. Table5 presents the results of the Wilcoxon signed-rank sum test for each algorithm and HEGMPA. In the table, “+” indicates that HEGMPA outperforms the comparison algorithm in terms of optimization results, “−” indicates poorer results, “=” indicates similar results, and the symbol “R+” is a positive rank value indicating the extent to which HEGMPA is better than the comparison algorithm and “R−” indicates the opposite result. As can be seen in Table 4, HEGMPA outperformed the basic MPA in at least 23 of the 30 tested functions due to all comparison algorithms and in all tested functions, which statistically validates the excellent performance of the improved algorithm.Table 5
Wilcoxon signed-rank sum test results for CEC2014.
No.MPATLMPAVCSP valueR+R−WinP valueR+R−WinP valueR+R−WinF15.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F25.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F35.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F45.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F55.46E − 1013251+5.15E − 1013260+5.15E − 1013260+F65.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F75.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F85.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F95.15E − 1013260+1.00E − 041078248+5.15E − 1013260+F105.15E − 1013260+5.46E − 1013251+5.15E − 1013260+F115.15E − 1013260+8.47E − 041019307+1.87E − 09130422+F125.15E − 1013260+5.15E − 1013260+7.99E − 03380946−F135.15E − 1013260+3.94E − 09129135+5.15E − 1013260+F145.15E − 1013260+6.77E − 071193133+4.17E − 09129036+F155.15E − 1013260+3.95E − 041041285+5.15E − 1013260+F165.15E − 1013260+5.35E − 02869457=5.15E − 1013260+F175.15E − 1013260+3.45E − 03975351+5.15E − 1013260+F185.15E − 1013260+5.35E − 051094232+5.15E − 1013260+F195.15E − 1013260+7.45E − 061141185+5.15E − 1013260+F205.15E − 1013260+3.20E − 08125373+5.15E − 1013260+F215.15E − 1013260+7.34E − 051086240+5.15E − 1013260+F225.15E − 1013260+1.29E − 01825501=3.56E − 08125175+F235.15E − 1013260+3.58E − 071201206−1.97E − 090666−F245.15E − 1013260+5.15E − 1013260+5.15E − 1001326−F255.15E − 1013260+1.15E − 01495831=1.63E − 0901176−F265.15E − 1013260+1.14E − 08127254+5.15E − 1013260+F275.15E − 1013260+1.32E − 061179147+1.42E − 08501225−F285.15E − 1013260+7.94E − 052421084−5.46E − 1011325−F295.15E − 1013260+7.94E − 051084242+5.15E − 1013260+F305.15E − 1013260+1.29E − 01825501=1.74E − 01808518=+/−/=30/0/024/2/423/6/1No.HFPSOMMPACPI-JADEP valueR+R−WinP valueR+R−WinP valueR+R−WinF15.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F25.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F35.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F45.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F57.80E − 1013197+5.15E − 1013260+5.15E − 1013260+F65.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F75.10E − 1013260+5.15E − 1013260+1.00E+0000=F85.15E − 1013260+5.15E − 1013260+5.80E − 1013242+F95.80E − 1013242+5.80E − 1013242+5.15E − 1013260+F101.32E − 09131016+5.15E − 1013260+5.15E − 1013260+F113.49E − 02888438+2.32E − 08125967+5.15E − 1013260+F125.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F131.18E − 09131214+5.15E − 1013260+8.77E − 1013179+F143.82E − 041042284+2.76E − 041051275+7.78E − 061140186+F156.24E − 061145181+5.15E − 1013260+5.15E − 1013260+F162.41E − 071214112+5.15E − 1013260+5.15E − 1013260+F175.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F185.15E − 1013260+5.15E − 1013260+5.80E − 1013242+F195.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F205.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F215.15E − 1013260+5.15E − 1013260+1.25E − 09131115+F224.94E − 09128739+1.27E − 02929397+1.31E − 071001226−F239.78E − 01660666=1.97E − 090666−6.10E − 051200+F245.15E − 1013260+5.15E − 1001326−5.15E − 1013260+F257.50E − 01629697=1.63E − 0901176−1.98E − 03333993−F261.25E − 09131115+5.15E − 1013260+6.53E − 1013224+F275.80E − 1013242+7.35E − 1061320−1.92E − 051119207+F287.35E − 1061320−5.15E − 1001326−2.06E − 041059267+F295.15E − 1013260+5.15E − 1013260+5.15E − 1013260+F301.67E − 09130620+5.15E − 1013260+5.15E − 1013260++/−/=27/1/225/5/027/2/1The computational efficiency of the algorithm is also another important aspect in evaluating the performance of the algorithm. Table6 lists the average time taken by each algorithm in solving the test function, and the last column lists the average ranking of each algorithm. We can learn that HEGMPA takes more time to compute, ranking only fourth, while MPA ranks third, due to the increased computational cost caused by the introduction of EDA, and the computation of the covariance matrix based on the Gaussian distribution model increases the computational time taken by the improved algorithm. Although the introduction of the improved strategy leads to an increase in the computational time consumed by the basic MPA, the performance improvement it brings is significant and therefore the computational time consumed by the HEGMPA proposed in this paper is acceptable.Table 6
Time cost of seven algorithms in CEC2014 30D testing.
MPATLMPAVCSHFPSOMMPACPIJADEHEGMPAF12.80E + 002.19E + 002.52E + 001.32E + 002.71E + 013.51E + 003.24E + 00F22.25E + 001.69E + 001.97E + 008.31E-012.58E + 013.09E + 002.63E + 00F32.26E + 001.73E + 001.94E + 008.23E-012.65E + 013.15E + 002.68E + 00F42.26E + 001.74E + 001.97E + 008.22E-012.75E + 013.18E + 002.61E + 00F52.57E + 001.83E + 002.92E + 001.10E + 002.69E + 013.11E + 002.94E + 00F62.69E + 012.78E + 013.25E + 012.52E + 016.61E + 012.83E + 012.74E + 01F72.59E + 001.95E + 002.25E + 001.08E + 002.61E + 013.40E + 002.91E + 00F82.12E + 001.49E + 001.80E + 006.31E-012.54E + 012.64E + 002.40E + 00F92.54E + 001.99E + 002.17E + 001.06E + 002.73E + 013.12E + 002.87E + 00F102.90E + 001.87E + 002.28E + 001.03E + 002.66E + 013.03E + 002.73E + 00F113.28E + 002.35E + 003.18E + 001.58E + 002.79E + 013.52E + 003.15E + 00F127.98E + 008.13E + 006.31E + 006.52E + 003.65E + 019.59E + 008.32E + 00F132.28E + 001.54E + 001.93E + 008.16E-012.65E + 012.87E + 002.62E + 00F142.26E + 001.43E + 001.91E + 007.92E-012.74E + 012.84E + 002.59E + 00F152.60E + 002.05E + 002.25E + 001.11E + 002.62E + 013.22E + 002.99E + 00F162.62E + 002.18E + 002.46E + 001.16E + 002.61E + 013.24E + 003.24E + 00F173.02E + 001.99E + 002.57E + 001.25E + 002.63E + 013.50E + 003.17E + 00F182.41E + 001.41E + 002.13E + 009.30E-012.58E + 013.14E + 002.85E + 00F197.42E + 007.55E + 007.28E + 005.93E + 003.36E + 018.91E + 007.88E + 00F202.47E + 001.56E + 002.44E + 001.02E + 002.61E + 013.17E + 002.83E + 00F212.57E + 001.75E + 002.44E + 001.11E + 002.64E + 013.31E + 002.94E + 00F223.19E + 002.78E + 003.15E + 001.67E + 002.70E + 014.06E + 003.55E + 00F234.76E + 004.47E + 004.46E + 003.27E + 002.97E + 016.25E + 005.16E + 00F244.60E + 003.32E + 003.29E + 002.11E + 002.78E + 014.51E + 006.73E + 00F255.49E + 004.42E + 004.23E + 003.10E + 002.95E + 015.87E + 004.93E + 00F263.10E + 013.09E + 014.76E + 012.86E + 017.00E + 013.17E + 013.08E + 01F273.01E + 013.10E + 014.45E + 012.88E + 016.96E + 013.15E + 013.06E + 01F285.96E + 006.00E + 006.32E + 004.39E + 003.09E + 017.00E + 006.34E + 00F299.24E + 009.67E + 001.31E + 017.47E + 003.62E + 011.06E + 019.45E + 00F304.68E + 004.66E + 005.09E + 003.18E + 002.94E + 015.76E + 005.06E + 00Average rank3.732.503.361.037.005.764.60


## 5. Conclusions

In this paper, we propose a variant of MPA, called HEGMPA. The performance of the algorithm is improved using Tent mapping, distribution estimation strategy, and Gaussian random walk. To evaluate the effectiveness of the improved strategy and the superiority of HEGMPA, it was validated using the CEC2014 test suite. It was compared with five state-of-the-art algorithms through numerical analysis, convergence analysis, stability analysis, and statistical tests. The simulation results show that the HEGMPA algorithm balances development and exploration and is competitive with other algorithms. On the other hand, there is still room for improvement in HEGMPA. The effect of initialization of small populations needs to be investigated. The calculation of the covariance matrix increases the computational cost. Therefore, how to reduce the computational cost while maintaining performance is an issue that needs to be further investigated.In future work, we plan to further apply HEGMPA to medical image recognition detection. In addition, we plan to develop a multiobjective version of HEGMPA to address optimization problems in other domains.



---

*Source: 7695596-2021-12-28.xml*