Literature DB >> 32612648

A Hybrid Pathfinder Optimizer for Unconstrained and Constrained Optimization Problems.

Xiangbo Qi1, Zhonghu Yuan1, Yan Song2.   

Abstract

Hybridization of metaheuristic algorithms with local search has been investigated in many studies. This paper proposes a hybrid pathfinder algorithm (HPFA), which incorporates the mutation operator in differential evolution (DE) into the pathfinder algorithm (PFA). The proposed algorithm combines the searching ability of both PFA and DE. With a test on a set of twenty-four unconstrained benchmark functions including both unimodal continuous functions, multimodal continuous functions, and composition functions, HPFA is proved to have significant improvement over the pathfinder algorithm and the other comparison algorithms. Then HPFA is used for data clustering, constrained problems, and engineering design problems. The experimental results show that the proposed HPFA got better results than the other comparison algorithms and is a competitive approach for solving partitioning clustering, constrained problems, and engineering design problems.
Copyright © 2020 Xiangbo Qi et al.

Entities:  

Mesh:

Year:  2020        PMID: 32612648      PMCID: PMC7275966          DOI: 10.1155/2020/5787642

Source DB:  PubMed          Journal:  Comput Intell Neurosci


1. Introduction

The main characteristics of metaheuristic algorithm are that there are few parameters and operators. It is easy to apply them to actual problems. Every metaheuristic algorithm has its advantages and disadvantages. For instance, artificial bee colony (ABC) algorithm is a relatively new metaheuristic algorithm inspired by the foraging behaviors of honey bee colony [1]. Because ABC is easy to implement, has few control parameters, and possesses better optimizing performance [2], ABC has been successfully applied to solve optimization problems [3, 4]. However, with the increase of the dimensionality of the search space, ABC has a poor convergence behavior. The reason for that is because the ABC algorithm relies on the exchange of information between individuals. But each individual exchanges information on only one dimension with a random neighbor in each searching process. Yang carries out a critical analysis of the ABC algorithm by analyzing the way to mimic evolutionary operators [5]. In essence, operators in ABC belong to the mutation operator. So ABC shows a slower convergence speed. Like ABC algorithm, artificial butterfly optimization (ABO) algorithm is also an algorithm to simulate biological phenomena. The ABO algorithm simulates mate-finding strategy of some butterfly species and is tested on various benchmarks [6]. However, “No free lunch” theorems [7] suggest that one algorithm could not possibly show the best performance for all problems. Many strategies including improving existing algorithms or studying new algorithms can get better optimization effects. These strategies include opposition-based learning, chaotic theory, topological structure-based method, and hybridizing strategy. The strategy of hybridizing heterogeneous biological-inspired algorithms is a good way to balance the exploration and exploitation [8]. In order to add the diversity of the bat swarm, a hybrid HS/BA method adding pitch adjustment operation in HS to the BA method is proposed [9]. The hybridization of nature-inspired algorithms evolved as a solution necessary in overcoming certain shortcomings observed during the use of classical algorithms [10]. Good convergence requires clever exploitation at the right time and at the right place, which is still an open problem [11]. Pathfinder algorithm (PFA) is a relatively new metaheuristic algorithm inspired by the collective movement of animal group and mimics the leadership hierarchy of swarms to find best food area or prey [12]. PFA provides superior performance in some optimization problems. However, when the dimension of a problem is extremely increased, the performance of this method decreases because PFA mainly relies on mathematical formulas. The strategy of hybridizing heterogeneous biological-inspired algorithms can avoid the shortcomings of single algorithm because of increasing the individual information exchange. The differential evolution (DE) algorithm which is proposed by Storn and Price [13] performs very well in convergence [14]. In particular, DE has a good performance on searching the local optima and good robustness [15]. In view of the fast convergence speed of DE, the mutation operator in DE is incorporated into the PFA. Then, a hybrid pathfinder algorithm is proposed in this paper. The rest of the paper is organized as follows. Section 2 will introduce the canonical PFA. Section 3 will present HPFA in detail. Section 4 will give the details of the experiment for unconstrained problems. The experiment results are also presented and discussed in this section. Section 5 introduces the data clustering problem and how the HPFA is used for clustering. Section 6 will give the details of the experiment for constrained problems. Section 7 will give the details of the experiment for engineering design problems. Section 8 gives the conclusions.

2. The Canonical Pathfinder Algorithm

The canonical PFA mimics the leadership hierarchy of animal group to find best prey. In the PFA, the individual with the best fitness is called pathfinder. The rest members of the swarm which are called followers in this paper follow the pathfinder. The PFA includes three phases: initialization phase, pathfinder's phase, and followers' phase. In the initialization phase, the algorithm randomly produces a number of positions according to equation (1) in the search range. After that, the fitness values of the positions are calculated. The individual with the best fitness is selected as the pathfinder:where i∈ [1, 2,…, SN] and j ∈   [1, 2,…, D]. SN is the number of swarm. D is the number of parameters of the optimization problem. xmin is the lower boundary value of the jth parameter and xmax is the upper boundary value of the jth parameter. In the pathfinder's phase, the position of the pathfinder is updated using equation (2). A greedy selection strategy is employed by comparing the fitness value of the new position of the pathfinder and the old one:where x is the position vector of the pathfinder, k is the current iteration, and r3 is a random vector uniformly generated in the range of [0, 1]. A is generated using the following equation:where u2 is a random vector range in [−1, 1], k is the current iteration, and E is the maximum number of iterations. In the followers' phase, the position of each follower is updated using equation (4). A greedy selection strategy is employed by comparing the fitness value of the new position of the follower and the old one. If the fitness of the follower with the best fitness is better than that of the pathfinder, the pathfinder is replaced with the follower:where x is the position vector of the ith follower, x is the position vector of the jth follower, k is the current iteration, and E is the maximum number of iterations. r1 and r2 are random values generated in the range of [0,1]. α and β are random values generated in the range of [1, 2], and D is the distance between the ith follower and the jth follower. The termination condition of the PFA may be the maximum cycles or the maximum function evaluation.

3. The Hybrid Pathfinder Algorithm

The commonly used hybrid methods mainly include series and parallel. The series method refers to the optimization operation for all members of swarm in the evolution of each generation. The series method is used in the proposed hybrid algorithm. In DE, the differential mutation operator is the main operation. In view of the fast convergence speed of DE, the mutation operator in DE is incorporated into the PFA to form a new hybrid pathfinder algorithm (HPFA). In HPFA, the rest parts are the same as the canonical PFA except a mutation phase is added after the followers' phase. The pseudocode of HPFA is listed in Algorithm 1. The steps of the mutation phase are given below. For each follower x in the swarm, do the following steps:
Algorithm 1

Pseudocode of HPFA.

Step 1: select three different followers x, x, and x from the followers. The three values r, p, and q are not equal to i. Step 2: for each dimension in D, produce a new position vector depending on CR. CR is a probability in the range of [0, 1]. The new position vector is produced according to equation (8). The new position vector v is determined by changing one dimension of x and is set to its boundary value if exceeding its predetermined boundaries: where i, r, p, q are four different integers generated by random permutation, F is the differential weight in the range of [0, 2]. j is a randomly selected dimension index between [1, D]. Step 3: calculate the fitness of the new position vector. Step 4: a greedy selection strategy is employed by comparing the fitness value of the new position vector and the original one. If the fitness of the new position vector is better than the original one, it will replace the original one. Otherwise, the original one does not make any change.

4. Unconstrained Benchmark Problems

For the ease of visualization, we have implemented all algorithms using Matlab for various test functions. In order to compare the different algorithms fairly, we use a number of function evaluations (FEs) as a measure criterion in this paper.

4.1. Benchmark Functions

Evolutionary algorithms are usually experimentally assessed through various test problems because an analytical assessment of their behavior is very complex [16]. The twenty-four benchmark functions are widely adopted by other researchers to test their algorithms in many works [2, 17, 18]. In this paper, all functions used their standard ranges. These benchmark functions totaling twelve diverse and difficult minimization problems comprise unimodal continuous functions (f1 − f8), multimodal continuous functions (f9 − f16), and composition functions (f17 − f24). The formulas of these functions are presented in Table 1. Functions f13 − f16 are four rotated functions employed in Liang's work [19]. In the rotated functions, a rotated variable y, which is produced by the original variable x left multiplied an orthogonal matrix, is used to calculate the fitness (instead of x). The orthogonal matrix is generated according to Salomon's method [20]. Functions f17 − f24 are eight composition functions.
Table 1

Benchmark functions.

NameFunctionLimits
Sphere (f1) f 1=∑i=1Dxi2[−5.12, 5.12]D
Rosenbrock (f2) f 2=∑i=1D(100(xi2xi+1)2+(1 − xi)2)[−15,15]D
Quadric (f3) f 3=∑i=1D(∑j=1ixj)2[−10,10]D
Sinproblem (f4) f m=10 sin2πx1+∑i=1D−1(xi − 1)2(1+10 sin2πxi+1)[−10,10]D
f 4=π/D{fm+(xD − 1)2}
Sumsquares (f5) f 5=∑i=1Dixi2[−10,10]D
Zakharov (f6) f 6=∑i=1Dxi2+(∑i=1D0.5ixi)2+(∑i=1D0.5ixi)4[−5,10]D
Powers (f7) f 7=∑i=1D|xi|i+1[−1,1]D
Schwefel2.22 (f8) f 8=∑i=1D|xi|+∏i=1D|xi|[−10,10]D
Rastrigin (f9) f 9=∑i=1D(xi2 − 10 cos(2πxi)+10)[−15,15]D
Schwefel (f10) f10=D·418.9829+i=1Dxisinxi [−500,500]D
Ackley (f11) fm=20+e20exp0.21/Di=1Dxi2 [−32.768, 32.768]D
f 11=fm − exp((1/D)∑i=1Dcos(2πxi))
Griewank (f12) f12=1/4000i=1Dxi2i=1Dcosxi/i+1 [−600,600]D
Rot_rastrigin (f13) f 13=f5(y), y=M × x[−15,15]D
Rot_schwefel (f14) f 14=f6(y), y=M × x[−500,500]D
Rot_ackley (f15) f 15=f7(y), y=M × x[−32.768, 32.768]D
Rot_griewank (f16) f 16=f8(y), y=M × x[−600,600]D
Composition Function 1 (n = 5, rotated) (f17)[−100,100]D
Composition Function 2 (n = 3, unrotated) (f18)[−100,100]D
Composition Function 3 (n = 3, rotated) (f19)[−100,100]D
Composition Function 4 (n = 3, rotated) (f20)[−100,100]D
Composition Function 5 (n = 3, rotated) (f21)[−100,100]D
Composition Function 6 (n = 5, rotated) (f22)[−100,100]D
Composition Function 7 (n = 5, rotated) (f23)[−100,100]D
Composition Function 8 (n = 5, rotated) (f24)[−100,100]D
These composition functions were specifically designed for the competition and comprise the sum of three of five unimodal and/or multimodal functions, leading to very challenging properties: multimodal, nonseparable, asymmetrical, and with different properties around different local optima.

4.2. Parameter Study

The choice of parameters can have an effect on the performance of an algorithm. QPSO has demonstrated the high potential for setting parameters of optimization methods [21]. Computational intelligence methods have demonstrated their ability to monitor complex large scale systems, but the selection of optimal parameters for efficient operation is very challenging [22]. The parameter CR and parameter F are two parameters in HPFA. In order to analyze the impact of the two parameters, we do the following experiments. In all experiments, the population size of all algorithms was 100. The maximum evaluation count on dimensions 20 is 100,000. Four continuous benchmark functions, Sphere 20D, Zakharov 20D, Sumsquares 20D, and Quadric 20D are employed to investigate the impact of parameter CR and parameter F. Set CRratioe and F equal to different values and all the functions run 20 sample times. It is worth noting that the interval of CRratioe and F is continuous and has numerous values. Here, three different values of the two parameters are used. The experimental results in terms of mean values and standard deviation of the optimal solutions over 30 runs are listed in Tables 2–5. From the results, we can find that HPFA with CRratioe equal to 0.9 and F equal to 0.1 performs best on all four functions. According to the results, we chose CR equal to 0.9 and F equal to 0.1 for the next experiments.
Table 2

Results of HPFA on Sphere with different CR  and F.

CR F MeanStdBestWorst
0.10.11.804934E − 414.306427E − 412.744826E − 451.913165E − 40
0.50.16.469129E − 529.396465E − 523.918891E − 543.663762E − 51
0.9 0.1 2.675215E − 56 7.790529E − 56 1.508425E − 58 3.537206E − 55
0.10.54.133484E − 379.188120E − 372.575105E − 393.202340E − 36
0.50.54.453667E − 397.464029E − 396.254230E − 422.303252E − 38
0.90.53.829022E − 386.050527E − 384.375602E − 412.285076E − 37
0.10.71.657355E − 353.454283E − 358.047479E − 391.298767E − 34
0.50.71.317298E − 324.014582E − 322.297207E − 361.744416E − 31
0.90.73.390563E − 311.259625E − 303.333444E − 345.672141E − 30

Values in bold represent the best results.

Table 3

Results of HPFA on Zakharov with different CR  and F.

CRFMeanStdBestWorst
0.10.18.997799E − 051.962703E − 048.098559E − 068.982455E − 04
0.50.14.735121E − 066.379299E − 062.419542E − 082.150716E − 05
0.9 0.1 1.525978E − 07 2.914531E − 07 1.794753E − 09 1.294071E − 06
0.10.51.221220E − 041.087968E − 046.458847E − 063.542003E − 04
0.50.56.305502E − 046.049323E − 045.763775E − 052.276017E − 03
0.90.55.562315E − 044.954291E − 044.126934E − 051.797681E − 03
0.10.78.458769E − 048.987164E − 045.839103E − 053.582266E − 03
0.50.72.174830E − 032.124124E − 032.583813E − 047.311997E − 03
0.90.72.343529E − 033.139729E − 032.687660E − 041.161894E − 02

Values in bold represent the best results.

Table 4

Results of HPFA on Sumsquares with different CR and F.

CR F MeanStdBestWorst
0.10.12.730851E − 395.758742E − 392.924781E − 432.605756E − 38
0.50.12.770970E − 499.552035E − 491.926855E − 524.282311E − 48
0.9 0.1 3.816930E − 53 1.447266E − 52 1.874149E − 56 6.516979E − 52
0.10.55.870955E − 359.623223E − 352.036393E − 393.519882E − 34
0.50.57.252112E − 371.091354E − 366.302606E − 403.513496E − 36
0.90.51.835751E − 355.192652E − 356.229899E − 392.334590E − 34
0.10.73.693683E − 321.376861E − 317.899420E − 376.173252E − 31
0.50.71.028391E − 301.761916E − 308.740890E − 346.752688E − 30
0.90.76.655358E − 301.166885E − 291.417114E − 334.895754E − 29

Values in bold represent the best results.

Table 5

Results of HPFA on Quadric with different CR and F.

CR F MeanStdBestWorst
0.10.12.843327E − 063.049119E − 061.156593E − 071.152089E − 05
0.50.14.829416E − 077.158196E − 071.046789E − 083.167360E − 06
0.9 0.1 1.872879E − 08 2.807535E − 08 4.203582E − 10 1.287137E − 07
0.10.58.270814E − 068.651775E − 061.341972E − 063.780385E − 05
0.50.52.117334E − 053.313434E − 053.112510E − 071.115489E − 04
0.90.54.016124E − 066.668875E − 061.364465E − 073.043102E − 05
0.10.71.837195E − 053.350088E − 052.420329E − 071.536438E − 04
0.50.73.035135E − 054.375764E − 053.853599E − 071.721490E − 04
0.90.73.848983E − 054.027965E − 051.977449E − 061.598706E − 04

Values in bold represent the best results.

4.3. Comparison with Other Algorithms

In order to compare the performance of HPFA, PFA [12], differential evolution (DE) [13], canonical PSO with constriction factor (PSO) [23], and cooperative PSO (CPSO) [24] were employed for comparison. PSO is a classical population-based paradigm simulating the foraging behavior of social animals. CPSO is a cooperative PSO model, cooperatively coevolving multiple PSO subpopulations. In addition, a set of twelve well-known benchmark functions were used in this experiment.

4.3.1. Experiment Sets

The population size of all algorithms was 100. The maximum evaluation count on dimensions 30 is 100,000. In order to do meaningful statistical analysis, each algorithm runs for 30 times and takes the mean value and the standard deviation value as the final result. For the specific parameters for comparison algorithms, we follow parameter settings of the original literature studies. For CPSO and PSO, the learning rates C1 and C2 were both set as 2.05. The constriction factor X = 0.729. The split factor for CPSO is equal to the dimensions. In DE, single-point crossover is employed, the crossover rate is 0.95, and F is 0.1. All algorithms were implemented in Matlab R2010a using a computer with Intel Core i5-2450M CPU, 2.5 GHz, 2 GB RAM. The operating system of the computer is Windows7.

4.3.2. Experimental Results and Analysis

The experimental results, including the mean and the standard deviation of the function values obtained by the five algorithms with 30 dimensions, are listed in Table 6. The best values obtained on each function are marked as bold. Rank represents the performance order of the five algorithms on each benchmark function. It is obvious that HPFA performed best on most functions. The mean best function value profiles of the five algorithms with 30 dimensions are shown in Figure 1.
Table 6

Result comparison of different optimal algorithms with a dimension of 30.

FunctionHPFAPFACPSOPSODE
f 1 Mean 2.87789E − 39 9.96648E − 351.03012E − 051.10504E − 052.63694E − 09
Std 4.69565E − 39 2.46385E − 341.23861E − 057.87840E − 067.52717E − 10
Best 6.43021E − 42 1.33831E − 382.30640E − 061.11744E − 061.49876E − 09
Worst 2.06766E − 38 1.17598E − 336.50238E − 052.92489E − 054.95148E − 09
Rank 1 2453
f 2 Mean2.91086E + 011.80802E + 01 1.39096E + 01 2.97779E + 014.07529E + 01
Std2.07275E + 015.62894E + 00 2.53192E + 01 1.24243E + 011.34505E + 01
Best1.55315E + 013.11018E − 01 2.62037E − 01 2.26400E + 012.89945E + 01
Worst7.62099E + 012.68566E + 01 7.22219E + 01 9.48405E + 019.28212E + 01
Rank32 1 45
f 3 Mean1.75728E − 02 6.04205E − 04 7.34680E + 013.49305E − 021.62253E + 02
Std1.15332E − 02 4.59306E − 04 3.63038E + 012.55524E − 022.26821E + 01
Best3.93048E − 03 9.02740E − 05 2.52930E + 018.92958E − 031.06934E + 02
Worst4.89242E − 02 1.80294E − 03 1.78108E + 021.21832E − 011.98620E + 02
Rank2 1 435
f 4 Mean 1.59636E − 32 8.29261E − 025.94602E − 046.83859E − 014.51854E − 08
Std 6.25035E − 34 1.73018E − 014.23066E − 047.90339E − 011.41403E − 08
Best 1.57055E − 32 6.08824E − 321.81251E − 045.30289E − 042.13220E − 08
Worst 1.82870E − 32 6.21900E − 011.61115E − 032.64677E + 008.21182E − 08
Rank 1 4352
f 5 Mean 2.15329E − 36 3.79305E − 316.94271E − 042.70777E − 031.41395E − 07
Std 6.51598E − 36 1.29899E − 304.38126E − 041.78871E − 033.74697E − 08
Best 1.20023E − 38 3.34744E − 351.99516E − 044.14323E − 046.89551E − 08
Worst 3.44935E − 35 6.72983E − 301.99485E − 037.01576E − 032.30300E − 07
Rank 1 2453
f 6 Mean1.16026E + 00 1.84604E − 01 3.04128E + 024.64371E + 011.49977E + 02
Std5.79662E − 01 1.98144E − 01 7.54896E + 017.99384E + 012.08215E + 01
Best1.65827E − 01 6.50787E − 03 1.79068E + 021.29523E − 021.18058E + 02
Worst2.50218E + 00 8.10651E − 01 4.89106E + 023.09935E + 021.91642E + 02
Rank2 1 534
f 7 Mean1.14655E − 113.49179E − 103.65726E − 091.26347E − 16 1.47712E − 35
Std2.19632E − 113.45822E − 106.05869E − 092.33999E − 16 2.28754E − 35
Best2.82583E − 183.13738E − 111.06366E − 126.12039E − 19 3.24107E − 37
Worst8.56564E − 111.35814E − 092.62745E − 081.05378E − 15 1.04388E − 34
Rank3452 1
f 8 Mean 2.81761E − 22 1.00686E − 172.11152E − 022.62070E − 019.04675E − 05
Std 3.17278E − 22 2.17703E − 175.45981E − 032.26377E − 011.35825E − 05
Best 1.44549E − 23 3.75280E − 191.30870E − 026.06860E − 026.44440E − 05
Worst 1.34912E − 21 1.18525E − 163.44021E − 021.12460E + 001.17674E − 04
Rank 1 2453
f 9 Mean3.11760E + 007.85020E + 01 1.67718E − 02 6.84768E + 011.17019E − 01
Std1.80524E + 002.52468E + 01 8.68494E − 03 1.56707E + 017.47997E − 02
Best8.90905E − 052.98487E + 01 8.97848E − 03 3.18446E + 011.33573E − 02
Worst6.96471E + 001.51233E + 02 4.38635E − 02 9.68780E + 013.11367E − 01
Rank35 1 42
f 10 Mean1.30333E + 023.70867E + 03 4.19844E − 03 6.11047E + 037.89627E + 00
Std1.65718E + 027.73401E + 02 1.59645E − 03 7.25163E + 023.00488E + 01
Best3.81827E − 042.27312E + 03 1.74911E − 03 4.38253E + 033.82429E − 04
Worst5.92192E + 025.17192E + 03 8.19982E − 03 7.32447E + 031.18439E + 02
Rank34 1 52
f 11 Mean 7.87518E − 15 3.66167E − 011.85383E − 022.10399E + 002.98635E − 04
Std 6.48634E − 16 7.03922E − 014.72574E − 034.45303E − 014.19896E − 05
Best 4.44089E − 15 7.99361E − 151.02247E − 021.15607E + 002.35379E − 04
Worst 7.99361E − 15 2.40831E + 002.85422E − 023.46435E + 004.22172E − 04
Rank 1 4352
f 12 Mean7.39604E − 046.89544E − 032.54495E − 023.42781E − 02 1.79665E − 05
Std2.25674E − 037.89942E − 034.01058E − 021.67595E − 02 1.46270E − 05
Best0.00000E + 000.00000E + 002.25373E − 031.14047E − 02 4.39881E − 06
Worst7.39604E − 032.70370E − 021.59378E − 019.13585E − 02 6.22646E − 05
Rank2345 1
f 13 Mean 2.95051E + 01 8.19844E + 011.48734E + 028.36924E + 011.33984E + 02
Std 1.17090E + 01 3.17715E + 013.99671E + 011.83198E + 018.84993E + 00
Best 1.29345E + 01 4.07933E + 018.25970E + 015.27381E + 011.11286E + 02
Worst 5.73477E + 01 1.90036E + 022.31836E + 021.38309E + 021.47944E + 02
Rank 1 2534
f 14 Mean 2.34246E + 03 2.66915E + 034.34728E + 035.88264E + 033.56508E + 03
Std 6.89972E + 02 7.51855E + 027.16422E + 028.71985E + 023.36531E + 02
Best 1.08765E + 03 1.48280E + 033.13281E + 034.61162E + 032.74852E + 03
Worst 3.75773E + 03 4.16221E + 035.66909E + 037.97547E + 034.12042E + 03
Rank 1 2453
f 15 Mean 7.75676E − 15 1.08189E + 004.92103E + 002.63458E + 001.30715E − 01
Std 9.01352E − 16 8.67751E − 016.37440E + 006.36446E − 018.99981E − 02
Best 4.44089E − 15 7.99361E − 154.19255E − 021.34065E + 003.94788E − 02
Worst 7.99361E − 15 2.57954E + 001.93777E + 014.46577E + 004.41820E − 01
Rank 1 3542
f 16 Mean 1.31463E − 03 7.79994E − 035.19982E − 023.83314E − 021.03911E − 02
Std 3.46976E − 03 8.35854E − 034.49126E − 022.35712E − 026.99527E − 03
Best 0.00000E + 00 0.00000E + 005.47885E − 036.25370E − 031.97137E − 03
Worst 1.23210E − 02 2.70517E − 021.76100E − 011.15044E − 012.79564E − 02
Rank 1 2543
f 17 Mean9.94354E + 029.97257E + 02 9.87240E + 02 9.98219E + 021.02307E + 03
Std6.45565E + 017.93940E + 01 8.18461E + 01 8.71585E + 019.06629E + 01
Best9.00000E + 029.00000E + 02 8.02234E + 02 8.02117E + 029.00224E + 02
Worst1.14354E + 031.14354E + 03 1.14355E + 03 1.14355E + 031.15475E + 03
Rank23 1 45
f 18 Mean2.16969E + 034.27549E + 03 9.23935E + 02 5.68722E + 031.75920E + 03
Std5.31124E + 026.06241E + 02 6.72922E + 01 8.46528E + 022.19741E + 02
Best1.52934E + 033.04609E + 03 8.00563E + 02 3.78428E + 031.38322E + 03
Worst3.71231E + 035.73560E + 03 1.03826E + 03 7.46332E + 032.24557E + 03
Rank34 1 52
f 19 Mean6.49831E + 03 5.86482E + 03 7.17359E + 036.28350E + 037.96975E + 03
Std8.70510E + 02 5.57598E + 02 9.53474E + 027.93415E + 024.27488E + 02
Best4.52076E + 03 4.60223E + 03 5.58118E + 034.29488E + 037.13518E + 03
Worst7.85971E + 03 6.85501E + 03 8.76360E + 037.70667E + 038.76090E + 03
Rank3 1 425
f 20 Mean 1.24508E + 03 1.26066E + 031.31885E + 031.29748E + 031.28362E + 03
Std 8.94977E + 00 1.29159E + 011.40407E + 011.35512E + 014.72764E + 00
Best 1.22474E + 03 1.23950E + 031.28952E + 031.27569E + 031.27268E + 03
Worst 1.26015E + 03 1.29628E + 031.35574E + 031.31989E + 031.29134E + 03
Rank 1 2543
f 21 Mean 1.35640E + 03 1.37460E + 031.43436E + 031.42631E + 031.39210E + 03
Std 7.04293E + 00 1.08266E + 011.53275E + 011.47903E + 014.02294E + 00
Best 1.33796E + 03 1.35580E + 031.40858E + 031.40163E + 031.38252E + 03
Worst 1.36691E + 03 1.39966E + 031.47166E + 031.45863E + 031.39765E + 03
Rank 1 2543
f 22 Mean1.47852E + 031.49776E + 031.55974E + 031.50353E + 03 1.40407E + 03
Std6.98737E + 017.59405E + 018.14332E + 018.63327E + 01 9.84591E − 01
Best1.40006E + 031.40007E + 031.40033E + 031.40002E + 03 1.40219E + 03
Worst1.54609E + 031.57282E + 031.61942E + 031.58723E + 03 1.40652E + 03
Rank2354 1
f 23 Mean 2.02871E + 03 2.17259E + 032.65148E + 032.39185E + 032.41610E + 03
Std 7.62593E + 01 1.12942E + 021.02039E + 021.10303E + 025.57424E + 01
Best 1.88030E + 03 1.97638E + 032.34650E + 032.16373E + 032.20448E + 03
Worst 2.16629E + 03 2.41923E + 032.79679E + 032.60090E + 032.49332E + 03
Rank 1 2534
f 24 Mean 1.70000E + 03 1.78188E + 033.65173E + 033.10618E + 031.70163E + 03
Std 3.32458E − 13 3.11801E + 021.46943E + 031.25346E + 033.11041E + 00
Best 1.70000E + 03 1.70000E + 031.70448E + 031.50128E + 031.70046E + 03
Worst 1.70000E + 03 2.97117E + 037.92326E + 034.85875E + 031.71777E + 03
Rank 1 3542
Figure 1

The mean best function value profiles of HPFA, PFA, DE, PSO, and CPSO. (a) (f1), (b) (f2), (c) (f3), (d) (f4), (e) (f5), (f) (f6), (g) (f7), (h) (f8), (i) (f9), (j) (f10), (k) (f11), (l) (f12), (m) (f13), (n) (f14), (o) (f15), (p) (f16), (q) (f17), (r) (f18), (s) (f19), (t) (f20), (u) (f21), (v) (f22), (w) (f23), and (x) (f24).

(1) Continuous Unimodal Functions. On Sphere function, the performance order for the five intelligent algorithms is HPFA > PFA > DE > CPSO > PSO. The result achieved by HPFA was improved continually and got the best value, seen from Figure 1(a). The performance of DE, PSO, and CPSO deteriorates in optimizing this function. HPFA has very strong solving performance on Sphere function. HPFA and these three algorithms differ by about 30 orders of magnitude of solution quality. On Sinproblem function, the performance order for the six intelligent algorithms is HPFA > DE > CPSO > PFA > PSO. The performance of HPFA is much similar to it on Sphere. The result achieved by HPFA was improved continually. PFA and PSO converged very fast at the beginning and then trapped in local minimum. CPSO and DE converged continually, but the speed of convergence was slow, seen from Figure 1(d). The performance of PFA, PSO, CPSO, and DE deteriorates in optimizing this function. On Sumsquares function, the performance order for the five intelligent algorithms is HPFA > PFA > DE > CPSO > PSO. The performance of HPFA is much similar to it on Sphere and Sinproblem. The result achieved by HPFA was improved continually. DE converged slowly, seen from Figure 1(e). The performance of PSO and CPSO deteriorates in optimizing this function. On Schwefel2.22 function, the performance order for the five intelligent algorithms is HPFA > PFA > DE > CPSO > PSO. The performance of PSO and CPSO deteriorates in optimizing this function. The result achieved by PFA and HPFA was improved continually. Finally, HPFA got better results than PFA, seen from Figure 1(h). (2) Continuous Multimodal Functions. On Ackley function, the performance order for the five intelligent algorithms is HPFA > DE > CPSO > PFA > PSO. The Ackley function poses a risk for optimization algorithms, so many algorithms are trapped in one of its many local minima. The Ackley function is widely used for testing optimization algorithms. The performance of DE, PSO, CPSO, and PFA deteriorates in optimizing this function. HPFA has a much stronger global searching ability, seen from Figure 1(k). The solution of HPFA is about 11 orders higher than that of DE. The multimodal functions f13–f16 are regarded as the most difficult functions to optimize since the number of local minima increases exponentially as the function dimension increases. On Rot_rastrigin function, the performance order for the five intelligent algorithms is HPFA > PFA > PSO > DE > CPSO. The result achieved by HPFA was improved continually and got the best result, seen from Figure 1(m). PFA and PSO converged to a local minimum value at about 40,000 FEs. CPSO and DE perform worse than PSO and PFA. On Rot_schwefel function, the performance order for the five intelligent algorithms is HPFA > PFA > DE > CPSO > PSO. CPSO and PSO converged fast at first, but it becomes trapped in a local minimum very soon. DE converged continually, but the speed of convergence was slow. Finally, HPFA got better results than PFA, seen from Figure 1(n). On Rot_ackley function, the performance order for the five intelligent algorithms is HPFA > DE > PFA > PSO > CPSO. The solution of HPFA is about 14 orders higher than that of DE. At the very beginning, PFA, CPSO, DE, and PSO converged very fast and then trapped in local minimum. The result achieved by HPFA was improved continually and got the best result, seen from Figure 1(o). On Rot_griewank function, the performance order for the five intelligent algorithms is HPFA > PFA > DE > PSO > CPSO. CPSO, PSO, and DE converged very slowly. HPFA and PFA converged continually and then trapped in local minimum, but HPFA performed better than PFA, seen from Figure 1(p). (3) Composition Function. On Composition Function 4, Composition Function 5, Composition Function 7, and Composition Function 8, HPFA got the best result. From the above analysis, we can observe that the ability of exploiting the optimum of HPFA is very strong. HPFA seemed to have the ability of continual improving especially on Sphere, Sinproblem, Sumsquares, Schwefel2.22, Ackley, Rotated Rastrigin, Rotated Schwefel, Rotated Ackley, and Rotated Griewank.

4.4. Statistical Analysis

It is obvious that HPFA got the best ranking with a dimension of 30. Statistical evaluation of experimental results has been considered an essential part of validation of new intelligent methods. The Iman–Davenport and Holm tests are nonparametric statistical methods and used to analyze the behaviors of evolutionary algorithms in many recent works. The Iman–Davenport and Holm tests are used in this section. Details of the two statistical methods are introduced in reference [25]. The results of the Iman–Davenport test are shown in Table 6. The values are distributed according to F-distribution with 4 and 92 degrees of freedom. The critical values are looked up in the F-distribution table with a level of 0.05. As can be seen in Table 7, the Iman–Davenport values are larger than their critical values, which means that significant differences exist among the rankings of the algorithms.
Table 7

Results of the Iman–Davenport test.

DimensionIman–DavenportCritical value α = 0.05Significant differences?
3011.8632.45∼2.52Yes
Holm test was employed as a post hoc procedure. HPFA was chosen as the control algorithm. The results of Holm tests are given in Table 8. The α/i values listed in the tables are with a level of 0.05.
Table 8

Comparison (Holm's test) of HPFA with the remaining algorithms.

Algorithm z p value α/iSignificant differences?
PSO5.11213.1863E − 70.0125Yes
CPSO4.38171.1771E − 50.0167Yes
DE2.64730.008110.025Yes
PFA2.00830.04460.05Yes
HPFA got the best ranking and is the control algorithm. As seen in Table 8, the p values of PSO, CPSO, DE, and PFA are smaller than their α/i values, which means that equality hypotheses are rejected and significant differences exist between these five algorithms and the control algorithm.

4.5. Algorithm Complexity Analysis

In many heuristic algorithms, most of the computation is spent on fitness evaluation in each generation. The computation cost of one individual is associated with the test function complexity. It is very difficult to give a brief analysis in terms of time for all algorithms. Through directly evaluating the algorithmic time response on different benchmark functions (f1−f24), the total computing time for 30 sample runs of all algorithms is given in Figure 2. From the results, it is observed that CPSO takes the most computing time in all compared algorithms. PSO takes the least computing time in all compared algorithms. In summary, it is concluded that, compared with other algorithms, HPFA requires less computing time to achieve better results.
Figure 2

Computing time of all algorithms on different problems.

5. Application to Data Clustering

Data clustering is a kind of typical unsupervised learning, which is used to divide the samples of unknown categories. Clustering algorithm is widely used in banking, retail, insurance, medical, military, and other fields. Many clustering algorithms including hierarchical methods, partitioning methods, and density-based methods are proposed. In this paper, we mainly focus on partitioning clustering. Given a set of n data objects and the number of clusters w to be formed, the partitioning method divides the set of objects into w parts. Each partition represents a cluster. The final clustering will optimize a partition criterion, so that the objects in a cluster are similar, while the objects in different clusters are not. Generally, the total mean square quantization error (MSE) is used as the standard measure function for partitioning. Let X=(x1, x2,…, x) be a set of n data and C=(c, c,…, c) be a set of w clusters. The following equation gives the definition of MSE. Minimizing this objective function is known to be an NP-hard problem (even for K = 2) [26]:where w is the number of clusters i ∈ [1, n]. c denotes a clustering center. n denotes the size of the dataset. Each data object x in the dataset has p features. x − c denotes the Euclidean distance between x and c.

5.1. The HPFA Algorithm for Data Clustering

In HPFA for clustering, each individual denotes a set of cluster centers according to equation (11). According to equation (12), each artificial butterfly can be decoded to a cluster center:where w is the number of clusters and p is the number of features of the data clustering problem: According to equation (9), the fitness of each individual can be calculated. Algorithm 2 gives the main steps of the fitness function.
Algorithm 2

Pseudocode of fitness calculation.

5.2. Experiment Sets

To verify the performance of the HPFA algorithm for data clustering, PFA, CPSO, and PSO are used to compare on several datasets, including Glass, Wine, Iris, and LD. These datasets are selected from the UCI machine learning repository [27]. In order to provide meaningful statistical analyses, each algorithm is run 30 times independently. The experimental results include the mean value and the standard deviation value. The population size of the four algorithms is set to 20. The maximum number of evaluations is 10000. Parameters for HPFA, PFA, CPSO, and PSO are the same with ones in Section 4.

5.3. Results and Analysis

Table 9 gives the results obtained by HPFA, PFA, CPSO, and PSO. Figure 3 shows the mean minimum total within-cluster variance profiles of HPFA, PFA, CPSO, and PSO.
Table 9

Mean total within-cluster variances of HPFA, PFA, CPSO, and PSO algorithms.

DatasetsHPFAPFAPSOCPSO
GlassMean 235.67 238.84510.582438.13
Std 15.06 13.3558.7586.37
Rank 1 234
WineMean 16293.27 16293.4418345.0117754.60
Std 0.86 0.831017.121011.00
Rank 1 243
IrisMean 97.64 97.69159.33161.88
Std 4.36 5.6618.2517.21
Rank 1 234
LDMean 9851.84 9851.8713760.0215357.00
Std 0.19 0.171457.211667.36
Rank 1 234
Figure 3

The mean minimum total within-cluster variance profiles of HPFA, PFA, CPSO, and PSO. (a) Glass data, (b) Wine data, (c) Iris data, and (d) LD data.

The Glass dataset consists of 214 instances characterized by nine attributes. There are two categories in the data. As seen from Figure 3(a), CPSO converged quickly from the beginning and trapped a local minimum. HPFA and PFA converged continually. The Wine dataset consists of 178 objects characterized by thirteen features. There are three categories in the data. As seen from Figure 3(b), CPSO and PSO converged quickly from the beginning and trapped a local minimum. PFA and HPFA converged continually before about 1000 FEs. The Iris dataset consists of 150 objects characterized by four features. There are three categories in the data. As seen from Figure 3(c), CPSO converged more quickly and trapped a local minimum obviously. PSO converged slowly. The LD dataset consists of 345 objects characterized by six features. There are two categories. With the LD dataset, CPSO trapped a local minimum obviously at the very beginning. PSO converged slowly, but PSO got better results than CPSO, as seen from Figure 3(d). The performance of HPFA and PFA is much similar to Wine, Iris, and LD, but HPFA got the best result. Experimental results given in Table 9 show that HPFA outperforms the other clustering algorithms in terms of the quality of the solutions for four datasets including Glass, Wine, Iris, and LD.

6. Constrained Benchmark Problems

Experimental sets are as follows: the population size was 100 for HPFA. In order to do meaningful statistical analyses, each algorithm runs 25 times and takes the mean value and the standard deviation value as the final result. “FEs,” “SD,” and “NA” stand for number of function evaluations, standard deviation, and not available, respectively. The mathematical formulations for constrained benchmark functions (problems 1–4) are given in Appendixes A–D.

6.1. Constrained Problem 1

In order to compare the performance of HPFA on constrained problem 1 (see Appendix A), WCA [28], IGA [29], PSO [30], CPSO-GD [31], and CDE [32] were employed for comparison. Table 10 gives the best results obtained by HPFA, WCA, and IGA. Table 11 gives the comparison of statistical results obtained from various algorithms for constrained problem 1. As shown in Table 11, in terms of the number of function evaluations, HPFA shows superiority to other algorithms.
Table 10

Comparison of the best solution obtained from the previous algorithms for constrained problem 1.

DVIGAWCAHPFAOptimal solution
x 1 2.3304992.3342382.3307042.330499
x 2 1.9513721.9502491.9530731.951372
x 3 −0.477541−0.474707−0.476937−0.477541
x 4 4.3657264.3668544.3616834.365726
x 5 −0.624487−0.619911−0.627155−0.624487
x 6 1.0381311.030E + 001.0374941.038131
x 7 1.5942271.595E + 001.5936951.594227
g1(x)4.46000E − 051.00000E − 13−1.00000E − 044.46000E − 05
g2(x)−252.561723252.569346−252.5623252.561723
g3(x)−144.878190144.897817−144.8705−144.87819
g4(x)7.63000E − 062.2E − 12−0.00117.63000E − 06
f (x)680.630060680.631178680.631176680.630057
Table 11

Comparison of statistical results obtained from various algorithms for constrained problem 1.

MethodsMeanSDBestWorstFEs
HPFA680.63381.835611E − 03680.6312680.6376100000
WCA680.64431.140000E − 02680.6311680.6738110050
PSO680.97105.100000E − 01680.6345684.5289140100
CPSO-GD680.78101.484000E − 01680.6780681.3710NA
CDE681.5030NA680.7710685.1440248000

6.2. Constrained Problem 2

In order to compare the performance of HPFA on constrained problem 2 (see Appendix B), WCA [28], PSO [30], PSO-DE [30], GA1 [33], HPSO [34], and DE [35] were employed for comparison. Table 12 gives the best results obtained by GA1, WCA, and HPFA. Table 13 gives the comparison of statistical results obtained from various algorithms for constrained problem 2. As shown in Table 13, HPFA offered the best solution quality in less number of function evaluations for this problem. The proposed HPFA reached the best solution (−30665.5386) in 15,000 function evaluations.
Table 12

Comparison of the best solution obtained from the previous algorithms for constrained problem 2.

DVGA1WCAHPFAOptimal solution
x 1 78.04950078.00000078.00000078.000000
x 2 33.00700033.00000033.00000033.000000
x 3 27.08100029.99525629.99525629.995260
x 4 45.00000045.00000045.00000045.000000
x 5 44.94000036.77581236.77581336.775810
g1(x)1.284E + 00−1.960E − 120−9.7100E − 04
g2(x)−93.283813−91.999999−92.000000−92.000000
g3(x)−9.592143−11.159499−11.159500−11.100000
g4(x)−10.407856−8.840500−8.840500−8.870000
g5(x)−4.998088−5.000000−5.000000−5.000000
g6(x)1.910000000E − 03009.27E − 09
f(x)−31020.859000−30665.538600−30665.538600−30665.539000
Table 13

Comparison of statistical results obtained from various algorithms for constrained problem 2.

MethodsMeanSDBestWorstFEs
HPFA−30665.53806.365971E − 04−30665.5386−30665.535415000
WCA−30665.52702.180000E − 02−30665.5386−30665.457018850
PSO−30570.92868.100000E + 01−30663.8563−30252.325870100
HPSO−30665.53901.700000E − 06−30665.5390−30665.539081000
PSO-DE−30665.53878.300000E − 10−30665.5387−30665.538770100
DE−30665.53605.067000E − 03−30665.5390−30665.5090240000

6.3. Constrained Problem 3

In order to compare the performance of HPFA on constrained problem 3 (see Appendix C), WCA [28], PSO [30], PSO-DE [30], DE [35], and CULDE [36] were employed for comparison. Table 14 gives the best results obtained by GA1, WCA, and HPFA. Table 15 gives the comparison of statistical results obtained from various algorithms for constrained problem 3. As shown in Table 15, HPFA reached the best solution (−0.999989) in 100,000 function evaluations.
Table 14

Comparison of the best solution obtained from the previous algorithms for constrained problem 3.

DVCULDEWCAHPFAOptimal solution
x 1 0.3048870.3160110.3162090.316227
x 2 0.3299170.3164090.3159360.316227
x 3 0.3192600.3153920.3159730.316227
x 4 0.3280690.3158720.3163300.316227
x 5 0.3260230.3165700.3166880.316227
x 6 0.3027070.3162090.3159520.316227
x 7 0.3051040.3161370.3159590.316227
x 8 0.3153120.3167230.3159210.316227
x 9 0.3220470.3169240.3167520.316227
x 10 0.3090090.3160220.3165550.316227
h(x)9.910000000E − 040−6.86E − 070
f(x)−0.995413−0.999981−0.999989−1.000000
Table 15

Comparison of statistical results obtained from various algorithms for constrained problem 3.

MethodsMeanSDBestWorstFEs
HPFA−0.9999561.827886E − 05−0.999989−0.999918100000
WCA−0.9998061.910000E − 04−0.999981−0.999171103900
PSO−1.0048791.000000E + 00−1.004986−1.004269140100
PSO-DE−1.0050103.800000E − 12−1.005010−1.005010140100
DE−1.025200NA−1.025200−1.0252008000000

6.4. Constrained Problem 4

In order to compare the performance of HPFA on constrained problem 4 (see Appendix D), WCA [28], HPSO [34], PESO [37], and TLBO [38] were employed for comparison. Table 16 gives the best results obtained by WCA and HPFA. Table 17 gives the comparison of statistical results obtained from various algorithms for constrained problem 4. As shown in Table 17, HPFA reached the best solution (−1) in 5,000 function evaluations which is considerably less than other compared algorithms.
Table 16

Comparison of the best solution obtained from the previous algorithms for constrained problem 4.

DVWCAHPFAOptimal solution
x 1 5.0000005.0000005.000000
x 2 5.0000005.0000005.000000
x 3 5.0000005.0000005.000000
g1(x)47.93749647.93750147.937500
g2(x)26.93749726.93750126.937500
g3(x)11.93749811.93750111.937500
g4(x)2.9374992.9375002.937500
g5(x)−0.062500−0.062500−0.062500
g6(x)2.9375012.9375002.937500
g7(x)11.93750211.93749911.937500
g8(x)26.93750326.93749926.937500
g9(x)47.93750447.93749947.937500
f(x)−9.999990E − 01−1.0000000−1.000000
Table 17

Comparison of statistical results obtained from various algorithms for constrained problem 4.

MethodsMeanSDBestWorstFEs
HPFA−1.0000007.358561E − 15−1.000000−1.0000005000
WCA−0.9999992.510000E − 07−0.999999−0.9999986100
HPSO−1.0000001.600000E − 15−1.000000−1.00000081000
PESO−0.998875NA−1.000000−0.994000350000
TLBO−1.0000000.000000E + 00−1.000000−1.00000050000

7. Engineering Design Problems

7.1. Three-Bar Truss Design Problem

In order to compare the performance of HPFA on the three-bar truss design problem (see Appendix E), WCA [28] and PSO-DE [30] were employed for comparison. Table 18 gives the best results obtained by PSO-DE, WCA, and HPFA. The comparison of obtained statistical results for HPFA with previous studies including WCA and PSO-DE is presented in Table 19. As shown in Table 19, HPFA obtained the best mean value in 10,000 function evaluations which is superior to PSO-DE.
Table 18

Comparison of the best solution obtained from the previous algorithms for the three-bar truss design problem.

DVPSO-DEWCAHPFA
x 1 0.7886750.7886510.788674
x 2 0.4082480.4083160.408251
g1(x)−5.290000E − 1103.981300E − 11
g2(x)−1.463747−1.464024−1.464098
g3(x)−0.536252−0.535975−0.535902
f(x)263.895843263.895843263.895843
Table 19

Comparison of statistical results obtained from various algorithms for the three-bar truss design problem.

MethodsMeanSDBestWorstFEs
HPFA263.8959422.300924E − 04263.895843263.89683310000
WCA263.8959038.710000E − 05263.895843263.8962015250
PSO-DE263.8958434.500000E − 10263.895843263.89584317600

7.2. Speed Reducer Design Problem

In order to compare the performance of HPFA on speed reducer design problem (see Appendix F), WCA [28], PSO-DE [30], and HEAA [39] were employed for comparison. Table 20 gives the best results obtained by HPFA, PSO-DE, WCA, and HEAA. The comparison of obtained statistical results for HPFA with previous studies including WCA, PSO-DE, and HEAA is presented in Table 21. As shown in Table 21, HPFA obtained the best mean value in 11,000 function evaluations which is superior to other considered algorithms.
Table 20

Comparison of the best solution obtained from the previous algorithms for the speed reducer problem.

DVWCAHPFAPSO-DEHEAA
x 1 3.5000003.5000003.5000003.500022
x 2 0.7000000.7000000.7000000.700000
x 3 17.00000017.00000117.00000017.000012
x 4 7.3000007.3000027.3000007.300427
x 5 7.7153197.7153217.8000007.715377
x 6 3.3502143.3502153.3502143.350230
x 7 5.2866545.2866555.2866835.286663
f(x)2994.4710662994.4717052996.3481672994.499107
Table 21

Comparison of statistical results obtained from various algorithms for the speed reducer problem.

MethodsMeanSDBestWorstFEs
HPFA2994.4730591.005309E − 032994.4717052994.47585511000
WCA2994.4743927.400000E − 032994.4710662994.50557815150
PSO-DE2996.3481746.400000E − 062996.3481672996.34820454350
HEAA2994.6133687.000000E − 022994.4991072994.75231140000

7.3. Pressure Vessel Design Problem

In order to compare the performance of HPFA on pressure vessel design problem (see Appendix G), WCA [28], PSO [31], CPSO [31],and GA3 [40] were employed for comparison. Table 22 gives the best results obtained by WCA, HPFA, CPSO, and GA3. The comparison of obtained statistical results for HPFA with previous studies including WCA, CPSO, and PSO is presented in Table 23. As shown in Table 23, HPFA obtained better mean value than PSO in 25,000 function evaluations.
Table 22

Comparison of the best solution obtained from the previous algorithms for the pressure vessel problem.

DVWCAHPFACPSOGA3
x 1 0.7781000.7785470.8125000.812500
x 2 0.3846000.3848280.4375000.437500
x 3 40.31960040.33824442.09130042.097400
x 4 -200.000000199.759935176.746500176.654000
g1(x)−2.950000E − 11−1.89E − 05−1.370000E − 06−2.010000E − 03
g2(x)−7.150000E − 11−1.15E − 06−3.590000E − 04−3.580000E − 02
g3(x)−1.350000E − 06−97.382360−118.768700−24.759300
g4(x)−40.000000−40.240060−63.253500−63.346000
f(x)5885.3327005886.4959466061.0777006059.946300
Table 23

Comparison of statistical results obtained from various algorithms for the pressure vessel problem.

MethodsMeanSDBestWorstFEs
HPFA6321.4805453.565060E + 025886.4959467106.96782725000
WCA6198.6172002.130490E + 025885.3327006590.21290027500
CPSO6147.1332008.645000E + 016061.0777006363.804100240000
PSO8756.6803001.492567E + 036693.72120014076.3240008000

7.4. Tension/Compression Spring Design Problem

In order to compare the performance of HPFA on tension/compression spring design problem (see Appendix H), WCA [28], CPSO [31], and GA3 [40] were employed for comparison. Table 24 gives the best results obtained by WCA, HPFA, CPSO, and GA3. The comparison of obtained statistical results for HPFA with previous studies including WCA, CPSO, and GA3 is presented in Table 25. As shown in Table 25, HPFA obtained the best mean value in 22,000 function evaluations which is superior to WCA, CPSO, and GA3.
Table 24

Comparison of the best solution obtained from the previous algorithms for the tension compression spring problem.

DVWCAHPFACPSOGA3
x 1 0.0516800.0515360.0517280.051989
x 2 0.3565220.3530350.3576440.363965
x 3 11.30041011.50894411.24454310.890522
g1(x)−1.650000E − 13−1.23442E − 05−8.250000E − 04−1.260000E − 03
g2(x)−7.900000E − 14−3.65699E − 05−2.520000E − 05−2.540000E − 05
g3(x)−4.053399−4.046190−4.051306−4.061337
g4(x)−0.727864−0.730286−0.727085−0.722697
f(x)0.0126650.0126670.0126740.012681
Table 25

Comparison of statistical results obtained from various algorithms for the tension compression spring problem.

MethodsMeanSDBestWorstFEs
HPFA0.0127277.707958E − 050.0126670.01301822000
WCA0.0127468.060000E − 050.0126650.01295211750
CPSO0.0127305.200000E − 040.0126740.012924240000
GA30.0127425.900000E − 050.0126810.01297380000

7.5. Welded Beam Design Problem

In order to compare the performance of HPFA on welded beam design problem (see Appendix I), WCA [28], CPSO [31], and GA3 [40] were employed for comparison. Table 26 gives the best results obtained by WCA, HPFA, CPSO, and GA3. The comparison of obtained statistical results for HPFA with previous studies including WCA, CPSO, and GA3 is presented in Table 27. As shown in Table 27, HPFA obtained the best mean value in 22,000 function evaluations which is superior to WCA, CPSO, and GA3.
Table 26

Comparison of the best solution obtained from the previous algorithms for the welded beam problem.

DVWCAHPFACPSOGA3
x 1 0.2057280.2057300.2023690.205986
x 2 3.4705223.4704903.5442143.471328
x 3 9.0366209.0366239.0482109.020224
x 4 0.2057290.2057300.2057230.206480
g1(x)−0.034128−0.004198−13.655547−0.103049
g2(x)−0.000035−0.004067−78.814077−0.231747
g3(x)−0.0000010.000000−0.003500−0.000050
g4(x)−3.432980−3.432983−3.424572−3.430044
g5(x)−0.080728−0.080730−0.077369−0.080986
g6(x)−0.235540−0.235540−0.235595−0.235514
g7(x)−0.013503−0.003946−4.472858−58.646888
f(x)1.7248561.7248531.7280241.728226
Table 27

Comparison of statistical results obtained from various algorithms for the welded beam problem.

MethodsMeanSDBestWorstFEs
HPFA1.7248891.027784E − E-041.7248531.72535422000
WCA1.7264274.290000E − 031.7248561.74469746450
CPSO1.7488311.290000E − 021.7280241.782143240000
GA31.7926547.470000E − 021.7282261.99340880000

8. Conclusion

The strategy of hybridizing heterogeneous biological-inspired algorithms can avoid the shortcomings of single algorithm because of increasing the individual information exchange. This paper proposed a hybrid pathfinder algorithm (HPFA), in which the mutation operator in DE is introduced. To validate the performance of HPFA, abundant experiments on twenty-four unconstrained benchmark functions compared with PFA, CPSO, PSO, and DE are carried out. The numerical experimental results show that HPFA has a good optimizing ability on most benchmark functions and outperforms the original PFA and the other comparison algorithms. Then HFPA is used for data clustering. Real datasets selected from the UCI machine learning repository are used. The experimental results show that the proposed HPFA got better results than the other comparison algorithms on the four datasets. Then HPFA is employed to solve four constrained benchmark problems and five engineering design problems. The experiment results show that HPFA obtained better solutions than the other comparison algorithms with less function evaluations on most problems. It proves that HPFA is an effective method for solving constrained problems. However, HPFA will still trap in local minimum on a few functions, which can be seen from the benchmark functions. Finding the features of functions which HPFA works not well on and improving the algorithm in solving these functions are the future work.
  2 in total

1.  Coevolutionary particle swarm optimization using Gaussian distribution for solving constrained optimization problems.

Authors:  Renato A Krohling; Leandro dos Santos Coelho
Journal:  IEEE Trans Syst Man Cybern B Cybern       Date:  2006-12

2.  Re-evaluating genetic algorithm performance under coordinate rotation of benchmark functions. A survey of some theoretical and practical aspects of genetic algorithms.

Authors:  R Salomon
Journal:  Biosystems       Date:  1996       Impact factor: 1.973

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.