Research Article | Open Access
Chun-Feng Wang, Kui Liu, "A Novel Particle Swarm Optimization Algorithm for Global Optimization", Computational Intelligence and Neuroscience, vol. 2016, Article ID 9482073, 9 pages, 2016. https://doi.org/10.1155/2016/9482073
A Novel Particle Swarm Optimization Algorithm for Global Optimization
Particle Swarm Optimization (PSO) is a recently developed optimization method, which has attracted interest of researchers in various areas due to its simplicity and effectiveness, and many variants have been proposed. In this paper, a novel Particle Swarm Optimization algorithm is presented, in which the information of the best neighbor of each particle and the best particle of the entire population in the current iteration is considered. Meanwhile, to avoid premature, an abandoned mechanism is used. Furthermore, for improving the global convergence speed of our algorithm, a chaotic search is adopted in the best solution of the current iteration. To verify the performance of our algorithm, standard test functions have been employed. The experimental results show that the algorithm is much more robust and efficient than some existing Particle Swarm Optimization algorithms.
This paper considers the following global optimization problem: where is a continuous variable vector with domain defined by the bound constraint , . The function is a continuous real-valued function.
Many real-world problems, such as engineering and related areas, can be reduced to formulation (1). This problem usually has many local optima, so it is difficult to find its global optimum. For solving such problem, researchers have presented many methods during the past years, which can be divided into two groups: deterministic and stochastic algorithms. Most deterministic algorithms usually effective for unimodal functions have one global optimum and need gradient information. However, stochastic algorithms do not require any properties of the objective function. Therefore, more attention has been paid to stochastic algorithms recently, and many effective algorithms have been presented, including Simulated Annealing (SA) , Genetic Algorithm (GA) [2, 3], Differential Evolution (DE) , Particle Swarm Optimization (PSO) , Ant Colony Optimization (ACO) , Artificial Bee Colony (ABC) , and Harmony Search (HS) .
Among these stochastic algorithms, PSO is a population-based and intelligent method, which is inspired by the emergent motion of a flock of birds searching for food . In PSO, a population of potential solutions is evolved through successive iterations. Since PSO algorithm has a number of desirable properties, including simplicity of implementation, scalability in dimension, and good empirical performance, it has been applied to solve many real-world problems, such as capacitor placement problem , short term load forecasting , soft sensor , the voltage stability of the electric power distribution systems [12, 13], the orbits of discrete chaotic dynamical systems towards desired target region , and the permutation flow-shop sequencing problem .
Although PSO algorithm has been applied successfully in solving many difficult optimization problems, it also has difficulties in keeping balance between exploration and exploitation when solving complex multimodal problems. In order to get a better performance for PSO algorithm, many variants of PSO have been developed. For example, by using random value of inertia weight, Eberhart and Shi proposed a modified PSO, which can track the optima in a dynamic environment . By utilizing the success rate of the particles, a new adaptive inertia weight strategy was presented . Through using Cauchy mutation, a hybrid PSO (HPSO) was developed . In , a hybrid PSO with a wavelet mutation (HWPSO) was given, in which the mutation incorporates with a wavelet function. To avoid premature convergence, a novel parameter automation strategy is proposed . Valdez et al. introduced an improved FPSO + FGA hybrid method by combining the advantages of PSO and GA . Based on mutation operator and different local search techniques, a superior solution guided PSO (SSG-PSO) was developed . By using the second personal best and the second global best particle, two modified PSO algorithms are presented . In order to avoid being trapped in local optima in the convergence process, some other improved PSO have been proposed, such as crossover , orthogonal learning strategy , chaos , and elitist learning strategy .
In this paper, by utilizing the information of the the best neighbor of each particle and the best particle of the entire population in the current iteration, a new Particle Swarm Optimization algorithm is proposed, which is named NPSO. To avoid premature, an abandoned mechanism is presented in our algorithm. Furthermore, for improving the global convergence speed, a chaotic search is implemented in the best solution of each iteration.
The remainder of this paper is organized as follows. Section 2 describes the original PSO. Then our proposed modifications to PSO are described in Section 3. Numerical results and discussions are presented in Section 4. Finally, some concluding remarks are provided in Section 5.
2. Particle Swarm Optimization (PSO)
Assume that the search space is -dimensional; denotes the size of the swarm population. In PSO, each particle has a position in the search space and a velocity to indicate its current state. A position denotes a feasible solution. The position and the velocity are updated by the best position encountered by the particle so far and the best position found by the entire population of particles according to the following equations: where and are two learning factors which control the influence of the social and cognitive components, are random numbers in the range , and is the inertia weight, which ensures the convergence of the PSO algorithm and is decreased linearly.
3. The Novel PSO Algorithm (NPSO)
In the original PSO, since each particle moves in the search space guided only by its historical best solution and the global best solution , it may get trapped in a local optimal solution when current global best solution in a local optimum and not easy for the particle escapes from it. To solve such problem, in this section, three improvement strategies are proposed.
3.1. The First Improvement Strategy
From (2), we observe that only the information of the historical best position of each particle and the global best position of all particles is utilized. As a matter of fact, the information of the best neighbor of the particle may provide a better guidance than . The details are given as follows.
Firstly, we explain how to define the neighbors and to determine the best neighbor of the particle . In order to define appropriate neighbors, different approaches could be used. In this paper, the neighbors of are defined by using the mean Euclidean distance between and the rest of solutions. Let be the Euclidean distance between and and let be the mean Euclidean distance for . Then can be computed as follows: By (3), if , then could be accepted as a neighbor of .
In addition, we can also use a more general and flexible definition to determine a neighbor of : If (4) is used, then a new parameter , which refers to the “neighbourhood radius,” will be added to the parameters of PSO. If , it turns to the standard PSO. With the value of increasing, the neighborhood of enlarges or its neighborhood shrinks as the value of decreases. Once the neighbors are determined, we select the best position among the neighbors of as the best neighbor .
After determining the the best neighbor , we give a new way moving for each particle. If , then set If , then set After that, moves to a new position by the following equation:
In our algorithm, it is obvious that before each particle moves, it first watches the region which is centered by itself, selects the best neighbour, and then uses (5)–(7) to generate the next position.
3.2. The Second Improvement Strategy
To avoid premature, in our algorithm, an abandoned mechanism is proposed.
Assume that “” is a predetermined number, which will be used to determine whether the position of the particle should be abandoned. At the beginning, set . With the implementation of the algorithm, if the position was not improved, then set ; else set . If the position can not be improved anymore when is achieved, that is, , then the position will be abandoned and a new position will replace it, which is generated by using the following equation: where is a random number in the range and is the inertia weight that controls the impact of the optimal solution at current iteration, which is increased linearly.
From (8), it can be seen that, in the early stage of the algorithm, will be generated with a large randomness and in the late stage, it will be generated near the global best position .
3.3. The Third Improvement Strategy
To improve the global convergence of NPSO, a chaotic search operator is adopted. Next, we give the details.
Let be the best solution of the current iteration. Firstly, utilize the following equation (9) to generate chaotic variable : where is the length of chaotic sequence and is a random number. Then map to a chaotic vector in the interval : where and are the lower bound and upper bound of variable , respectively. Finally, a new candidate solution is obtained by the following equation: where is a shrinking factor, which is defined as follows: where is the maximum number of iterations and is the number of iterations.
Based on the abovementioned explanation, the pseudocode of the NPSO algorithm is given in Algorithm 1.
4. Experimental Results and Discussion
4.1. Experiments 1
In this subsection, the performance of NPSO algorithm is compared to PSO algorithm by evaluating convergence and best solution found for 14 benchmark functions, where are shifted functions and are rotated functions. The characteristics, dimensions, initial range, and formulations of these functions are listed in Table 1. is for and for ; is the shifted global optimum; is the orthogonal matrix.
C: characteristic, U: unimodal, M: multimodal, N: nonseparable, and S: separable.|
The proposed algorithm NPSO and PSO are coded in Matlab 7.0, and the experiments’ platform is a personal computer with Pentium 4, 3.06 GHz CPU, 512 M memory, and Windows XP.
The parameters of algorithms are given as follows. The common parameters are the dimension , the population size , the maximum number of iterations , , , , and . NPSO settings are as follows: the length of chaotic sequence and the limit of a position abandoned are set to 5; . Each experiment is repeated 30 times independently. The global minimums (Min), maximum number of iterations (Max iteration), mean best values (Mean), and standard deviations (SD) are given in Table 2. To show the convergence speed of PSO and NPSO more clearly, the convergence graphs of PSO and NPSO are shown in Figure 1.
4.2. Experiments 2
Twelve benchmark functions are used for the comparison. The characteristics, dimensions, initial range, and formulations of these functions are listed in Table 3.