Literature DB >> 27123982

Lagrange Interpolation Learning Particle Swarm Optimization.

Zhang Kai1, Song Jinchun1, Ni Ke1, Li Song1.   

Abstract

In recent years, comprehensive learning particle swarm optimization (CLPSO) has attracted the attention of many scholars for using in solving multimodal problems, as it is excellent in preserving the particles' diversity and thus preventing premature convergence. However, CLPSO exhibits low solution accuracy. Aiming to address this issue, we proposed a novel algorithm called LILPSO. First, this algorithm introduced a Lagrange interpolation method to perform a local search for the global best point (gbest). Second, to gain a better exemplar, one gbest, another two particle's historical best points (pbest) are chosen to perform Lagrange interpolation, then to gain a new exemplar, which replaces the CLPSO's comparison method. The numerical experiments conducted on various functions demonstrate the superiority of this algorithm, and the two methods are proven to be efficient for accelerating the convergence without leading the particle to premature convergence.

Entities:  

Mesh:

Year:  2016        PMID: 27123982      PMCID: PMC4849747          DOI: 10.1371/journal.pone.0154191

Source DB:  PubMed          Journal:  PLoS One        ISSN: 1932-6203            Impact factor:   3.240


1. Introduction

In 1995, Kennedy and Elberhart, inspired by the foraging behaviour of birds, proposed the particle swarm optimization (PSO) algorithm [1], which has attracted attention in the academic circles and has demonstrated its superiority in solving practical problems. PSO is a type of evolutionary algorithm, which is similar to the simulated annealing (SA) [2] algorithm. PSO starts from a random solution, searches for the optimal solution in iterative manner, and then evaluates the quality of the solution based on the fitness. PSO follows the current optimal value to find the global optimum, so it is simpler than the genetic algorithm (GA) [3], without the need for the “cross” and “mutation” operations. However, PSO suffers two problems: premature and slow convergence at the late stage. In the past two decades, many researchers have focused on addressing these problems by introducing some methods and concepts. A concept of inertia weight was introduced and applied in the formula by Y.Shi and Eberhart, they set the weight from 0.9 to 0.4 to provide a balance between exploitation and exploration [4][5]; On the basis of that, later researchers developed adaptive inertia weight and coefficients [6][7]. To avoid the premature convergence of the particle swarm, Riget J and Vesterstrim Js proposed a concept of diversity: they set a lower bound of diversity to ensure the swarm has a good search ability [8]. A simulated annealing (SAPSO) idea was introduced to help a particle jump out of the local [9]. A grey relational analysis was introduced for changing the parameters of PSO to help improve the algorithm performance in [10]. A chaotic search idea to global search was proposed in [11], which was improved by introducing the sequence quadratic program (SQP) algorithm to accelerate convergence in [12]. The gradient search for accurate computation of the global minimum was proposed in [13]. Meanwhile, Some researchers focus on structural and heterogeneous factor, such as SIPSO [14], SFPSO [15] and LIPSO [16]. To solve the multimodal problems, J.J. Liang proposed the comprehensive learning particle swarm optimizer (CLPSO) [17]. Later, Liang and Suganthan [18] proposed an adaptive CLPSO with historical learning, for which the particles’ learning probabilities are adjusted adaptively. On the basis of that finding, researchers realised that CLPSO’s search method was quite efficient for finding the global optimum. However, CLPSO suffers a slow resolution. Aiming to this point, some improved CLPSO was proposed. An orthogonal experimental design was introduced in CLPSO to determine the best combination of learning from a particle’s personal best position or its neighbourhood’s historical best position [19]. Zheng et al. [20] proposed ACLPSO which adaptively sets the factors of the algorithm, i.e. the inertia weight and acceleration coefficient. Nasir [21] proposed a DNLPSO which used a learning strategy, whereby all other particles’ historical best information was used to update a particle’s velocity, as in CLPSO. However, in contrast to CLPSO, the exemplar particle was selected from a neighbourhood. The neighbourhoods were made dynamically in nature, i.e, they are reformed after certain intervals. Xiang Yu [22] introduced a kind of perturbation in to the iterative forms of the CLPSO. It determined the particles’ learning probabilities between it’s historical best values and the dimensional bounds. Because there is a bound for the perturbation, it will speed up the convergence. On the base of CLPSO, some multi-objective optimization problems can be solved by using Pareto dominance concept [23][24][25]. In this research, we proposed a novel improved algorithm, called LILPSO, which was based on CLPSO by introducing the Lagrange interpolation method. There are two main differences between LILPSO and CLPSO. First, When this algorithm performs as CLPSO’s search method for some times, it will introduce one Lagrange interpolation computation for each dimension of the best point (gbest). This is a local search method, and it will help accelerating the convergence. Second, CLPSO selects the better one of the other two particles’ historical optimum (pbest) as the exemplar at the d dimension. Compared with CLPSO, LILPSO selects three points, which are the i particles’ historical optimum, another random particles’ historical optimum and the global optimum (gbest), to perform the Lagrange interpolation, and then to obtain a parabola, whose optimum is the exemplar we expected. The remainder of this article is organized as follows: Section 2 provides related works regarding PSO and CLPSO, and discusses the Lagrange interpolation theory. In Section 3, the proposed LILPSO is discussed in sufficient detail. Section 4 provides the experimental results on different functions to prove the superiority of LILPSO. Section 5 presents the paper’s conclusions.

2. Related Works

2.1 PSO algorithm

Assuming the optimization problem is If the particle is denoted as X = (x, x, ⋯, x), Then the best position it experienced (the best fitness value) is P = (p, p, ⋯, p), also denoted by p, The index of the best position experienced in particle group represented by symbol g is denoted by Pg, or g. The speed of particle i is denoted by V = (v, v, ⋯, v), for each generation, its d dimension iteration functions are: Where, c1 and c2 are all positive constants, called learning factors; r1 and r2 are random numbers, which are from 0 to 1; v is the -dimension speed of each particle. The first part of the right of the equal sign in Eq 1 is caused by the particle previous velocity, is called “inertia” part. The second part is “cognition” part, which illustrates that the particle thinks itself, as well as influences the particle information itself of the next step. The third part is the “social” part, which illustrates the information shared and mutual cooperation, as well as the influences on the swarm information of the next step.

2.2 CLPSO algorithm

CLPSO iteration function is different from the standard PSO. where, , ω = 0.9 and ω = 0.4. p(t)′ is the exemplar of the i particle in the d dimension. If the i particle does not update its historical optimum (pbest) continuously and over the gap m (usually m = 7), then a random number from 0 to 1 will be generated; for each dimension, if this random number is less than pc(i)(Eq 5), then another two particles’ historical optimum values will be compared, with the better one chosen for the exemplar in the d dimension. If all the exemplars of a particle are its own pbest, then we will randomly choose one dimension to learn from another particle’s pbest’s corresponding dimension.

2.3 Lagrange interpolation

The theory of Lagrange interpolation is to use a polynomial to represent the relationship between a number of things. For example, when observing a physical quantity, if we gain some different values at different places, then a polynomial can be simulated by Lagrange interpolation method. The aim of this method is mainly used for data fitting in engineering experiments. It is a kind of curve smoothly fitting method. Generally, if the fitness y0, y1⋯y at n+1 points x0, x1⋯x of function y = f(x) are known, then a polynomial y = P(x) is considered, who occupies the n+1 points and whose number is no less than n. s.t.P(x) = y, k = 0, 1, 2⋯n If we want to estimate a point ξ, ξ ≠ x, i = 0, 1, 2⋯n, then the fitness of P(ξ) can be the approximate value of f(ξ) In this case, we obtain Where,, ξ is a parameter related with x, and ω(x) = (x − x0)(x − x1)⋯(x − x)

3. The proposed methods

3.1 Local search with Lagrange interpolation (LSLI)

The main idea of CLPSO’s search method is to make the particle experience all the local optima as much as possible. Hence, the Eq 3 of CLPSO cuts off the global optima part compared with the Eq 1 of PSO. Moreover, after learning from the other particle’s historical optima, CLPSO sets a gap value m to digest this information. It is no doubt that these procedure will slow the particle swarm convergence, but will be in favor of multimodal function solution. To accelerate the convergence, we decide to add a kind of local search into CLPSO. By far, there are some kinds of efficient technique, i.e. sub-gradient [26][27][28], perturbation, mutation or chaotic search with neighborhood [29][30][31][32][33][34][35]. The technique of sub-gradient can find the convergence direction easily. However, for the discontinuous and non-differentiable problems, the direction obtained will mislead the convergence. In addition, the step size is hard to decide. The technique of perturbation with neighborhood is not influenced by the form of the function. However, this method has no convergence direction, and usually needs many additional function evaluations (FEs). Hence, we adapt the local search technique of Lagrange interpolation to weaken these problems. For the j dimension of the gbest, we select three points to generate the information and perform Lagrange interpolation. One point is the gbest itself, another point and the last point are the perturbations nearby the gbest. The perturbation value is denoted by delta, shown in Eq 7. Where, v(i, j) is the particle’s speed who has the best fitness for each iteration; η is a very small coefficient. In this research, we set η = 0.5/N, N is the particle swarm size. In the j dimension space, the three points can generate a parabola by the Lagrange interpolation method, and the minimum point is desired. Eqs 9 and 10 is the Lagrange interpolation computation. Where, y0 = fitness(x0), y1 = fitness(x1), y2 = fitness(x2). Let I = (x0 − x1)(x1 − x2)(x2 − x0), after calculating, we obtain a quadratic polynomial. Fig 1 shows the different cases of the desired solution. When I ≠ 0, which means the three points are different, if a > 0, then two cases will happen: one is that the gbest is between x1 and x2, and another is that the gbest is on one side of x1 and x2. At this time, we will choose the minimum point -b/2a as the solution, then compare it with the gbest. If a < 0, then we will randomly generate a point near the smallest one by Eq 11. Where, xmin, x and xmax are the resort points of x0, x1 and x2 according to their fitness separately. If a = 0, then the three points form a line. If a = 0 and b = 0, this means y0 = y1 = y2, then we will randomly select a position from the area, denoted as x3 (Eq 12). Where, is the search center, and because −0.5 < rand − 0.5 < 0.5, the random search radius is from 0 to half of the area. If a = 0 and b! = 0, then the solution will be chosen by Eq 11. When I = 0, which means v(i, j) = 0, then the procedure will be terminated. The flowchart of Lagrange interpolation is shown in Fig 2.
Fig 1

ForI ≠ 0, the different cases of the solution.

Fig 2

The flowchart of LSLI.

Comparing with other local search techniques, Lagrange interpolation has three characteristics. First, this method has a very fast convergence speed, especially for uni-modal functions. For example, for the Sphere function computation, whose global optima is [0, 0]10, supposing that the gbest is [1, 1]10, and the delta is 2. After one Lagrange interpolation computation, we obtain the next gbest is [0, 0]10. Second, for each dimension Lagrange interpolation, it will cost three additional FEs, and for D dimension problem, the additional FEs of the gbest will be 3*D. Third, the behaviour of Lagrange interpolation is only a local search, it will not broken the diversity of the whole particle swarm, hence it will remain the CLPSO’s search ability for multi-modal functions.

3.2 Lagrange interpolation learning (LIL)

In CLPSO, if the i particle’s pbest does not update for a certain number of times, then another two particles’ pbest will be chosen for comparison, and the better one will be the exemplar. However, if the exemplar is still worse than the i particle’s pbest, then this particle will remain stagnant until the next flag(i)>m, with a large probability. Hence, the best manner to improve the search efficiency is to set the gbest as the exemplar. Nevertheless, the so-called gbest in the computation is not the real gbest rather, it can be a best one of many local optima that the program runs until now. If we set gbest as the exemplar directly, as in the traditional PSO, then a premature convergence will occur. To avoid both the particle’s stagnant nature and premature convergence, we ensure that the exemplar’s information has two characteristics. First, the fitness of the exemplar is at least better than the i particle’s pbest. Second, the information from the exemplar has a diversity that cannot lead all the particles to prematurely fly into a same area. Hence, we decide to select three points to generate the information mentioned above. One point is the i particle’s pbest itself, another point is gbest, and the last point is the rand particle’s pbest, except for the i particle. In the d dimension space, the three points can generate a parabola by the Lagrange interpolation method, and the minimum point is desired. Fig 3 shows the difference between CLPSO and LIL.
Fig 3

Selection of the exemplar dimensions for particle i.

(a)CLPSO (b)CLPSO-LIL.

Selection of the exemplar dimensions for particle i.

(a)CLPSO (b)CLPSO-LIL. This search behaviour has three strengths: First, the exemplar is the minimum from Lagrange interpolation with three points which are two pbests and one gbest, this process ensures the learning direction is always flying to a theoretical point which is better than gbest. Second, for most of the local search, additional time must be spent on computing the function evaluations (FEs) to obtain some key information, whereas LIL does not require any additional FEs. Third, after performing the LSLI mentioned in Section 3.1, we obtained a better gbest, then the LIL can share this information to other particles as soon as possible.

3.3 Parametric settings

To a convenient computation, we plan to run LSLI for N times, which is equal to the particle swarm size. However, To a fair comparison, noticing that there will be 3*D additional FEs for each LSLI, and we hope the total FEs of all compared algorithms are equal, thus we short the max iteration number (max_gen) to max_gen − 3 * D. The FEs cost in LSLI are 3*D*N, and FEs cost on other part are (max_gen − 3 * D)*N, plus them, we get the total FEs max_gen * N, which is the same with CLPSO. When to run LSLI? we set a gap g, g = floor(maxDT/N), where, maxDT = max_gen − 3 * D. Hence, when the particle swarm updates for g times by Eqs 3 and 4, LSLI will run for one time. In CLPSO, the learning probability pc(i) is set as Eq 5. In this research, we chose a linear probability form the Ref. [28] to increase the learning chance. To compare with OLPSO [36], in this algorithm, we chose both c1 and c2 to be 2, w0 = 0.9 and w1 = 0.4. The setting of the bounds of the search space and the velocity of any particle affect the search procedure; hence we chose the same velocity boundary setting as that used in most of the algorithms. Where, α = 0.2. The flow chart of LILPSO is shown in Fig 4.
Fig 4

The flowchart of LILPSO.

4. Numerical experiments

Seventeen functions are collected from [17][19][37][38][39], as presented in Table 1, where, F1, F3, F4 and F5 are uni-modal functions; Rosenbrock (F2) is a multi-modal function that has a narrow valley and hard to achieve the global optimum; F5 is a noisy function who has a discrete problem; un-rotated multi-modal functions include F6 F11; F12 and F13 are rotated multi-modal functions; F14 F16 are shifted rotated multimodal functions. The orthogonal matrix M is generated according to [38].
Table 1

Details of benchmarks.

NO.Func.nameExpressionBox constraintoptimum
F1Spheref(x)=i=1nxi2[−100, 50]D[0, 0]D
F2Rosenbrockf(x)=i=1n-1100(xi+1-xi2)2+(xi-1)2[−30, 30]D[0, 0]D
F3Stepf(x)=i=1n(xi+0.5)2[−100, 100]D[0, 0]D
F4Schwefel’s P2.22f(x)=i=1n|xi|+i=1n|xi|[−10, 10]D[0, 0]D
F5Noise Quadricf(x)=i=1nixi4+random(0,1)[−1.28, 1.28]D[0, 0]D
F6A generalized penalizedf(x)=πn(10sin2(πy1)+i=1n(yi-1)(1+10sin2(πyi+1))+(yn-1)2)+i=1nu(xi,10),yi=1+(xi+1)/4,u(xi,a)={100(xi-a)4,ifxi>a0,if-axia100(-xi-a)4ifxi<-a[−50, 50]D[0, 0]D
F7Another generalized penalizedf(x)=(sin2(3πx1)+(xn-1)2(1+sin2(2πxn)+i=1n-1(xi-1)2(1+sin3πxi))/10+i=1nu(xi,5)[−50, 50]D[0, 0]D
F8Ackleyf(x)=20+e-20*exp(-0.21ni=1nxi2)-exp(1ni=1ncos(2πxi))[−32, 32]D[0, 0]D
F9Rastriginf(x)=i=1nxi2-10cos2πxi+10[−5, 5]D[0, 0]D
F10Griewankf(x)=1+i=1n(xi-100)24000-i=1ncos(xi-100i)[−600, 200]D[0, 0]D
F11Schwefelf(x)=418.9829-i=1nxisin(|xi|)[−500, 500]D[420, 96]D
F12Ackley-Rotatedf12(y) = f8(y), y = Mx[−32, 32]D[0, 0]D
F13Rastrigin-Rotatedf13(y) = f9(y), y = Mx[−5, 5]D[0, 0]D
F14Griewank-Rotatedf14(y) = f10(y), y = Mx[−600, 200]D[0, 0]D
F15Ackley-Rotated-shiftedf15(y)=f8(y)+f_bias,y=M(x-o)[−32, 32]Do
F16Rastrigin-Rotated-shiftedf16(y)=f8(y)+f_bias,y=M(x-o)[−5, 5]Do
F17Griewank-Rotated-shiftedf17(y)=f10(y)+f_bias,y=M(x-o)[−600, 200]Do
Since some other algorithms, such as PSO-cf-local [36], UPSO [40], FIPS [41] and DMSPSO [42], are proven to be less superior to CLPSO in reference [19]; hence, in this research, we just need to compare LILCLPSO with CLPSO, ECLPSO, OLPSO and DNLPSO, whose iterative forms are presented in Table 2. The parametric setting of ECLPSO is the same as that of ECLPSO-4 in [22]. Because we do not know the exact orthogonal matrix for OLPSO, we introduce the result directly from the reference [19]. For DNLPSO, we don’t know the exact topology data, hence we introduce the result directly from the reference [26]. To proof the performance of LSLI and LIL, we test two algorithms, called LILPSO1 and LILPSO2, where, LILPSO1 just adapt LSLI technique, and LILPSO2 adapt both LSLI and LIL technique.
Table 2

Iterative forms of each algorithms.

AlgorithmIterative forms
CLPSO [10]vid(t + 1) = ωvid(t) + c1 r1(pid(t) − xid(t))
ECLPSO [33]vid(t+1)=ωvid(t)+c1r1(pid(t)+η(pd_low+pd_up2-pid(t))-xid(t))
OLPSO [38]vid(t + 1) = ωvid(t) + c1 r1(pid(t) − xid(t))
DNLPSO [31]vid(t + 1) = ωvid(t) + c1 r1(pid(t) − xid(t))+c2 r2(pgd(t) − xid(t))
LILPSOvid(t + 1) = ωvid(t) + c1 r1(pid(t) − xid(t))
For 10 D problems, the following parameters are used: particle number = 50, iteration number = 2000, and FEs = 100,000; for 30 D problems, the following parameters are used: particle number = 40, iteration number = 5000, and FEs = 200,000; for 50 D problems, the following parameters are used: particle number = 100, iteration number = 5000, and FEs = 500,000. For each function, each algorithm runs for 25 times, and the solutions are analysed using the two-tailed t-test, with the confidence level of 0.05, ‘+’, ‘-’ and ‘=’ denote that LILPSO is better, worse and equal to other algorithms statistically, respectively. Tables 3–8 list the results tested in 10D, 30D and 50D, respectively, and Fig 5(a)-5(f) show these algorithms’ convergence curves for some different functions.
Table 3

Results for D = 10, N = 50, FEs = 100,000.

FunctionAlgorithm
CLPSOECLPSODNLPSOLILPSO1LILPSO2
F1mean4.94E−191.78E−305.71E−1771.64E−581.11E−73
sd2.19E−372.34E−601.11E−1237.11E−1166.27E−146
ttest+++
F2mean1.26E+0011.86E−031.00E+003.28E−01
sd1.79E+003.80E−092.64E−026.32E−101.71E−01
ttest+++
F3mean2.05E−181.03E−300.00E+000.00E+000.00E+00
sd2.27E−369.88E−610.00E+000.00E+000.00E+00
ttest++==
F4mean1.50E−116.22E+001.96E−662.29E−131.50E−16
sd3.73E−235.67E+013.31E−541.54E−271.61E−33
ttest+++
F5mean5.00E−032.30E−035.21E−014.50E−031.40E−03
sd3.34E−061.74E−061.89E−013.40E−061.99E−07
ttest++++
F6mean2.20E−182.85E−294.71E−324.71E−324.71E−32
sd4.46E−367.99E−570.00E+000.00E+000.00E+00
ttest++==
F7mean2.02E−161.41E−271.35E−322.45E−321.35E−32
sd3.24E−325.91E−540.00E+001.44E−650.00E+00
ttest++==
F8mean1.94E−083.55E−153.26E−152.58E−111.84E−14
sd1.49E−164.21E−301.83E−153.02E−226.84E−28
ttest++=+
F15mean3.76E−022.31E+002.02E+016.27E−052.01E−08
sd4.01E−042.83E+014.04E−014.38E−092.26E−16
ttest++++
F16mean6.11E+007.09E+017.57E+002.71E+002.67E+00
sd7.02E+001.03E+024.70E+008.83E+006.65E+00
ttest++++
F17mean1.40E−011.84E+018.07E−031.52E−049.29E−02
sd3.10E−032.53E+021.14E−012.01E−081.09E−02
ttest++=
Table 8

results for D = 50, N = 100, FEs = 500,000.

FunctionAlgorithm
CLPSOECLPSOLILPSO1LILPSO2
F9mean1.22E−106.80E+010.00E+000.00E+00
sd7.80E−224.54E+020.00E+000.00E+00
ttest++=
F10mean2.56E−075.71E+020.00E+000.00E+00
sd1.34E−143.73E+040.00E+000.00E+00
ttest++=
F11mean6.59E−041.44E+046.36E−046.36E−04
sd1.11E−102.77E+062.53E−170.00E+00
ttest++=
F12mean8.12E+001.74E+017.88E−024.22E+00
sd9.58E−014.08E−011.50E−037.79E+01
ttest++
F13mean1.09E+024.89E+029.51E+011.12E+02
sd1.07E+029.71E+028.31E+012.64E+03
ttest=
F14mean2.54E+004.33E+022.28E−012.88E−01
sd9.47E−028.61E+013.30E−034.00E−02
ttest++
Fig 5

The comparison on convergence.

(a) Sphere (b) Rosenbrock (c) Noise Quadric (d) Penalized (e) Griewank (f) Schwefel.

The comparison on convergence.

(a) Sphere (b) Rosenbrock (c) Noise Quadric (d) Penalized (e) Griewank (f) Schwefel. For the uni-modal and low dimension problems, DNLPSO has the better performance relatively. For the noisy function F5, LILPSO has the better performance. For uni-modal function F3, DNLPSO and LILPSO have the equal solutions. Because DNLPSO’s iterative form contains the gbest part, it will have a fast convergence for uni-modal functions without a doubt. Besides, the neighbourhoods topology behaviour plays a role of decreasing the search space actually. However, for the high dimension problems, i.e. 50D, LILPSO has all the best solutions, which illustrates the Lagrange interpolation technique has a fast convergence performance for complex high dimension problems. For the multi-modal problems, DNLPSO is less superior to LILPSO for almost all the functions. Comparing OLPSO with LILPSO in 30D problems, for F2 and F8, LILPSO has the better solutions; for F6, F7, F9, F10 and F11, LILPSO has the equal solutions with OLPSO statistically, which illustrate that the Lagrange interpolation technique can help accelerating the pbest’s convergence when performing a local search. For F12, F13 and F14, OLPSO is superior to LILPSO, which illustrates that LSLI is restricted to rotated problems, although it is still better than CLPSO. Comparing LILPSO1 with LILPSO2, for the most problems, LILPSO2 is superior to LILPSO1, which illustrates that LIL can help sharing the LSLI’s information to accelerate the convergence. Meanwhile, unlike the gbest’s part of DNLPSO, LIL neither break the diversity of the particle, nor lead the particle to premature. However, for the rotated functions such as F13, F14, F16 and F17, the solutions of LILPSO1 are better than LILPSO2, which illustrates that LIL is not suitable for solving the rotated problems either. Comparing CLPSO with LILPSO, LILPSO has all the better solutions than CLPSO, which illustrates that the Lagrange interpolation is a stable and efficient local search technique. Comparing OLPSO with LILPSO, they both inherit the advantage of CLPSO in solving the multi-modal problems, nevertheless, LILPSO is obviously superior to OLPSO in solving the uni-modal problems. Moreover, OLPSO-L needs O(2log D + ND) memory space to store its algorithm related data structures, which means longer cost time for complex real world problems. In contrast, LILPSO just needs a small number of memory space to store some related variables, i.e. x0, y0, x1, y1, x2, y2, a, b and c.

5. Application for PID control

The fan speed system controlled by oil in air turbofan launch is taken for example. The transfer function model of the system is: PID discretion control equation is The objective function is: Where, |e(t)| is the error, t is the rise time, u(t) is the output of the controller, ω1, ω2, ω3 are the weight. To solve the problem of system overshoot, use the punish function, once the system overshoot happens, the objective function will be: Where, ω4 > >ω1, ey(t) = y(t) − y(t − 1), y(t) is the output of the object controlled. In this example, ω1 = 0.5, ω2 = 1, ω3 = 1, ω4 = 200, the range of Kp, Ki, Kd is respectively [0.2, 10], [1, 50], [1e-7, 1e-1], and the overshoot should be smaller than 20%. Hence, the problem is: The parameters are set as: swarm size N = 30, function evaluations FEs = 3000. The results are shown in Table 9. It illustrates that the results optimized by LILPSO2 have the smallest goal function value, and the mean error. Hence, LILPSO2 algorithm is more efficient.
Table 9

PID Results optimized by some algorithms.

VariablesCLPSO [10]ECLPSO [33]LILPSO2
Kp3.09342.7194.402
Ki17.236816.81724.58
Kd0.0426.13E−050.0964
overshoot10.79%11.75%9.90%
Mean error0.00990.01010.0079
T226122672218

6. Conclusions

In this study, we proposed a novel method known as LILPSO to improve upon the state-of-the-art CLPSO method. First, the Lagrange interpolation approach is introduced to perform a local search near the gbest, and help accelerating convergence. Second, this technique is introduced to replace the simple comparison used in CLPSO, to achieve a better exemplar. After performing numerical experiments, LILPSO was proven to be superior to CLPSO, ECLPSO, DNLPSO, OLPSO for most of the test functions considered. The Lagrange interpolation was proven to be an efficient local search approach except for rotated problems. The future work is to use this method into other fields.

The comparison results for CLPSO, ECLPSO, DNLPSO, LILPSO1 and LILPSO2.

(XLS) Click here for additional data file.
Table 4

Results for D = 10, N = 50, FEs = 100,000.

FunctionAlgorithm
CLPSOECLPSOLILPSO1LILPSO2
F9mean0.00E+000.00E+000.00E+000.00E+00
sd0.00E+000.00E+000.00E+000.00E+00
ttest===
F10mean7.92E−053.16E−011.26E−045.00E−03
sd4.09E−081.33E−026.90E−085.15E−05
ttest+
F11mean1.27E−041.78E+031.27E−041.27E−04
sd6.34E−263.26E+040.00E+000.00E+00
ttest=+=
F12mean3.08E−023.66E+002.46E−062.87E−08
sd1.38E−044.42E+012.33E−126.09E−16
ttest+++
F13mean6.41E+006.15E+011.35E+006.95E+00
sd4.49E+008.91E+012.16E+005.45E+01
ttest+
F14mean1.64E−011.06E+016.27E−055.34E−02
sd6.20E−031.08E+024.38E−095.80E−03
ttest+++
Table 5

Results for D = 30, N = 40, FEs = 200,000.

FunctionAlgorithm
CLPSOECLPSOOLPSO-GOLPSO-LLILPSO1LILPSO2
F1mean5.66E−151.32E−264.12E−541.11E−383.00E−664.19E−87
sd1.33E−291.63E−516.34E−541.28E−384.31E−1318.79E−173
ttest+++++
F2mean8.28E+001.00E+002.15E+011.26E+001.00E+001.00E+00
sd3.57E+010.00E+002.99E+011.40E+002.39E−131.90E−05
ttest+=++=
F4mean3.72E−097.41E+019.85E−307.67E−224.81E−134.86E−17
sd2.12E−181.33E+021.01E−295.63E−228.61E−271.83E−33
ttest+++
F5mean1.57E−026.40E−031.16E−021.64E−021.05E−028.10E−03
sd1.31E−055.48E−064.10E−033.25E−031.65E−054.53E−06
ttest+=+++
F6mean1.63E−156.81E−221.59E−321.57E−321.57E−321.57E−32
sd1.05E−306.94E−421.03E−332.79E−480.00E+000.00E+00
ttest++===
F7mean2.05E−125.83E−204.39E−041.57E−321.33E−311.35E−32
sd3.59E−245.47E−382.20E−032.79E−481.90E−620.00E+00
ttest+++=+
F8mean6.92E−072.20E−057.98E−154.14E−152.25E−112.84E−15
sd1.21E−139.75E−092.03E−150.00E+005.35E−222.52E−30
ttest+++++
F9mean1.77E−151.91E+002.17E+020.00E+000.00E+000.00E+00
sd0.00E+006.95E+011.07E+000.00E+000.00E+000.00E+00
ttest+++==
F10mean3.35E−101.88E+024.83E−030.00E+000.00E+000.00E+00
sd4.02E−191.15E+038.63E−030.00E+000.00E+000.00E+00
ttest+++==
F11mean3.81E−046.58E+033.84E+023.81E−042.36E+013.81E−04
sd3.41E−232.53E+052.17E+020.00E+002.80E+030.00E+00
ttest=++=+
F12mean3.36E+001.83E+017.69E−154.28E−156.40E−032.60E−03
sd5.73E−011.59E−011.78E−157.11E−166.49E−159.19E−06
ttest+++
F13mean3.92E+013.15E+024.60E+005.34E+012.92E+013.56E+01
sd5.80E+014.78E+021.28E+011.33E+019.63E+016.96E+02
ttest+++
F14mean1.06E+002.09E+021.68E−034.19E−087.69E−047.06E−02
sd2.10E−038.32E+014.13E−032.06E−078.66E−077.70E−03
ttest++
Table 6

Results for D = 30, N = 40, FEs = 200,000.

FunctionAlgorithm
CLPSOECLPSOLILPSO1LILPSO2
F3mean1.41E−141.13E−190.00E+000.00E+00
sd4.76E−292.53E−370.00E+000.00E+00
ttest++=
F15mean3.24E+001.87E+013.60E−031.10E−03
sd3.78E−012.50E−012.81E−052.60E−06
ttest+++
F16mean3.54E+013.53E+022.36E+014.66E+01
sd2.25E+018.27E+022.19E+017.91E+01
ttest+=
F17mean1.06E+002.15E+021.40E−023.46E−02
sd4.70E−038.67E+017.11E−044.20E−03
ttest++
Table 7

results for D = 50, N = 100, FEs = 500,000.

FunctionAlgorithm
CLPSOECLPSODNLPSOLILPSO1LILPSO2
F1mean1.07E−088.06E+039.44E−742.60E−574.77E−74
sd5.82E−181.26E+079.13E−321.22E−1135.61E−147
ttest++++
F2mean3.16E+011.08E+011.86E−031.00E+002.28E−01
sd2.04E+028.00E+022.64E−026.23E−141.89E−01
ttest+++
F3mean3.19E−082.03E+040.00E+000.00E+000.00E+00
sd4.15E−171.14E+080.00E+000.00E+000.00E+00
ttest++==
F4mean2.59E−051.27E+027.02E−098.85E−093.84E−13
sd2.80E−112.38E+022.29E−061.99E−185.09E−25
ttest++++
F5mean2.69E−021.97E−026.11E−011.32E−029.30E−03
sd1.64E−052.05E−052.20E−011.92E−068.08E−06
ttest++++
F6mean1.73E−091.35E+021.50E−321.28E−329.42E−33
sd3.25E−193.25E+050.00E+002.57E−660.00E+00
ttest++++
F7mean1.69E−061.92E+021.34E−328.75E−319.42E−33
sd2.23E−137.26E+050.00E+001.77E−600.00E+00
ttest++++
F8mean3.95E−041.58E+011.90E+018.13E−083.05E−14
sd1.20E−081.43E+010.00E+001.87E−151.55E−27
ttest++++
F15mean6.80E+001.81E+012.07E+011.86E−013.07E−01
sd2.47E−019.77E−021.13E−022.86E−023.61E−01
ttest+++
F16mean1.07E+021.65E+023.40E+018.83E+018.13E+01
sd5.02E+012.03E+028.03E+002.27E+021.22E+04
ttest++=
F17mean2.63E+004.40E+021.11E−022.75E−012.54E−01
sd1.61E−014.54E+011.12E−022.46E−024.04E−02
ttest++=
  5 in total

1.  Adaptive particle swarm optimization.

Authors:  Zhi-Hui Zhan; Jun Zhang; Yun Li; Henry Shu-Hung Chung
Journal:  IEEE Trans Syst Man Cybern B Cybern       Date:  2009-04-07

2.  Optimization by simulated annealing.

Authors:  S Kirkpatrick; C D Gelatt; M P Vecchi
Journal:  Science       Date:  1983-05-13       Impact factor: 47.728

3.  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

4.  Selectively-informed particle swarm optimization.

Authors:  Yang Gao; Wenbo Du; Gang Yan
Journal:  Sci Rep       Date:  2015-03-19       Impact factor: 4.379

5.  Particle swarm optimization with scale-free interactions.

Authors:  Chen Liu; Wen-Bo Du; Wen-Xu Wang
Journal:  PLoS One       Date:  2014-05-23       Impact factor: 3.240

  5 in total

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