GO-V.ORG
As seen in

Particle swarm optimization

of a function In computational science, particle swarm optimization (PSO) is a computational method that optimizes a problem by iteratively trying to improve a population of candidate solutions with regard to a given measure of quality. It solves a problem through interactions among a population of candidate solutions, dubbed particles, moving the particles around in the search-space according to simple mathematical formulae that adjust each particle's position and velocity. Each particle's movement is influenced by its own best known position so far, and by the best known position in its topological neighborhood (which may include the entire population if so specified); vectors are updated... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

of a function In computational science, particle swarm optimization (PSO) is a computational method that optimizes a problem by iteratively trying to improve a population of candidate solutions with regard to a given measure of quality. It solves a problem through interactions among a population of candidate solutions, dubbed particles, moving the particles around in the search-space according to simple mathematical formulae that adjust each particle's position and velocity. Each particle's movement is influenced by its own best known position so far, and by the best known position in its topological neighborhood (which may include the entire population if so specified); vectors are updated as better positions are found. This is expected to move the swarm toward good solutions. PSO is originally attributed to Kennedy and Eberhart and was first intended for simulating social behaviour, as a stylized representation of the movement of organisms in a bird flock or fish school, or the evolution of attitudes in a human population. Simulation of principles of social behavior was observed to be capable of solving hard mathematical problems. The book by Kennedy and Eberhart describes many philosophical aspects of PSO and swarm intelligence. An extensive survey of PSO applications is made by Poli. In 2017, a comprehensive review on theoretical and experimental works on PSO was published by Bonyadi and Michalewicz. PSO is a metaheuristic as it makes few or no assumptions about the problem being optimized and can search very large spaces of candidate solutions. Also, PSO does not use the gradient of the problem being optimized, which means PSO does not require that the optimization problem be differentiable as is required by classic optimization methods such as gradient descent and quasi-newton methods. However, metaheuristics such as PSO do not guarantee an optimal solution is ever found. for each particle i = 1, ..., S do Initialize the particle's position with a uniformly distributed random vector: x i  ~ U(b lo , b up ) Initialize the particle's best known position to its initial position: p i  ← x i if f(p i ) i Initialize the particle's velocity: v i  ~ U(-|b up -b lo |, |b up -b lo |) while a termination criterion is not met do: for each particle i = 1, ..., S do for each dimension d = 1, ..., n do Pick random numbers: r p , r g ~ U(0,1) Update the particle's velocity: v i,d  ← w v i,d + φ p r p (p i,d -x i,d ) + φ g r g (g d -x i,d ) Update the particle's position: x i  ← x i + v i if f(x i ) i ) then Update the particle's best known position: p i  ← x i if f(p i ) i The values b lo and b up represent the lower and upper boundaries of the search-space respectively. The w parameter is the inertia weight. The parameters φ p and φ g are often called cognitive coefficient and social coefficient. The termination criterion can be the number of iterations performed, or a solution where the adequate objective function value is found. The parameters w, φ p , and φ g are selected by the practitioner and control the behaviour and efficacy of the PSO method (below). ==Neighbourhoods and topologies== The topology of the swarm defines the subset of particles with which each particle can exchange information. The basic version of the algorithm uses the global topology as the swarm communication structure. This topology allows all particles to communicate with all the other particles, thus the whole swarm share the same best position g from a single particle. However, this approach might lead the swarm to be trapped into a local minimum, thus different topologies have been used to control the flow of information among particles. For instance, in local topologies, particles only share information with a subset of particles. This subset can be a geometrical one – for example "the m nearest particles" – or, more often, a social one, i.e. a set of particles that is not depending on any distance. In such cases, the PSO variant is said to be local best (vs global best for the basic PSO). A commonly used swarm topology is the ring, in which each particle has just two neighbours, but there are many others. The topology is not necessarily static. In fact, since the topology is related to the diversity of communication of the particles, some efforts have been done to create adaptive topologies (SPSO, APSO, stochastic star, TRIBES, Cyber Swarm, and C-PSO ) By using the ring topology, PSO can attain generation-level parallelism, significantly enhancing the evolutionary speed. === Alleviate premature convergence=== Another research trend is to try to alleviate premature convergence (that is, optimization stagnation), e.g. by reversing or perturbing the movement of the PSO particles, another approach to deal with premature convergence is the use of multiple swarms (multi-swarm optimization). The multi-swarm approach can also be used to implement multi-objective optimization. Finally, there are developments in adapting the behavioural parameters of PSO during optimization. \vec x_i = G\left(\frac{\vec p_i+\vec g}{2},||\vec p_i-\vec g||\right) \,, where \vec x_i , \vec p_i are the position and the best position of the particle i ; \vec g is the global best position; G(\vec x,\sigma) is the normal distribution with the mean \vec x and standard deviation \sigma ; and where ||\dots|| signifies the norm of a vector. where \vec u is a random uniformly distributed vector, L is the typical length of the problem at hand, and \beta\sim 0.1-0.7 and \alpha\sim 0.1-0.5 are the parameters of the method. As a refinement of the method one can decrease \alpha with each iteration, \alpha_n=\alpha_0\gamma^n , where n is the number of the iteration and 0 is the decrease control parameter. ===Multi-objective optimization=== PSO has also been applied to multi-objective problems, in which the objective function comparison takes Pareto dominance into account when moving the PSO particles and non-dominated solutions are stored so as to approximate the pareto front. ===Binary, discrete, and combinatorial=== As the PSO equations given above work on real numbers, a commonly used method to solve discrete problems is to map the discrete search space to a continuous domain, to apply a classical PSO, and then to demap the result. Such a mapping can be very simple (for example by just using rounded values) or more sophisticated. However, it can be noted that the equations of movement make use of operators that perform four actions: computing the difference of two positions. The result is a velocity (more precisely a displacement) multiplying a velocity by a numerical coefficient adding two velocities applying a velocity to a position Usually a position and a velocity are represented by n real numbers, and these operators are simply -, *, +, and again +. But all these mathematical objects can be defined in a completely different way, in order to cope with binary problems (or more generally discrete ones), or even combinatorial ones. One approach is to redefine the operators based on sets. ==External links== Particle Swarm Central is a repository for information on PSO. Several source codes are freely available. A brief video of particle swarms optimizing three benchmark functions. Simulation of PSO convergence in a two-dimensional space (Matlab). Applications of PSO. Links to PSO source code

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Particle swarm optimization". 1791113685. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378436774

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·