The Particle Swarm Optimization Algorithm
The Particle Swarm Optimization Algorithm
Neboja Trpkovi
[email protected]
10th Dec 2010
Problem Definition
optimization of continuous nonlinear functions
finding the best solution in problem space
Neboja Trpkovi
Slide 2 of 18
Example
Neboja Trpkovi
Slide 3 of 18
Importance
function optimization
artificial neural network training fuzzy system control
Neboja Trpkovi
Slide 4 of 18
Existing Solutions
Ant Colony (ACO)
discrete
Neboja Trpkovi
Slide 5 of 18
Neboja Trpkovi
Slide 6 of 18
Neboja Trpkovi
Slide 7 of 18
Neboja Trpkovi
Slide 8 of 18
Neboja Trpkovi
Slide 9 of 18
Velocity Change
xi specific particle pi particles (personal) best known position g swarms (global) best known position vi particles velocity
Neboja Trpkovi
Slide 10 of 18
Position Change
xi specific particle vi particles velocity
xi xi + vi
Neboja Trpkovi
Slide 11 of 18
Algorithm
For each particle Initialize particle END Do For each particle Calculate fitness value If the fitness value is better than the best personal fitness value in history, set current value as a new best personal fitness value End Choose the particle with the best fitness value of all the particles, and if that fitness value is better then current global best, set as a global best fitness value For each particle Calculate particle velocity according velocity change equation Update particle position according position change equation End While maximum iterations or minimum error criteria is not attained
Neboja Trpkovi
[email protected]
Slide 12 of 18
Single Particle
Neboja Trpkovi
Slide 13 of 18
Parameters selection
Different ways to choose parameters:
proper balance between exploration and exploitation
(avoiding premature convergence to a local optimum yet still ensuring a good rate of convergence to the optimum)
automatization by meta-optimization
Neboja Trpkovi
Slide 14 of 18
Neboja Trpkovi
Slide 15 of 18
Swarm
Neboja Trpkovi
Slide 16 of 18
Conclusion
This algorithm belongs ideologically to that philosophical school that allows wisdom to emerge rather than trying to impose it,
Slide 17 of 18
References
Wikipedia
http://www.wikipedia.org/
Swarm Intelligence
http://www.swarmintelligence.org/
Application of a particle swarm optimization algorithm for determining optimum well location and type, Jerome Onwunalu
and Louis J. Durlofsky, 2009
Slide 18 of 18