Particle Swarm Optimization

A graphical illustration of PSO algorithm applied on Eggcrate function.
1,3K descargas
Actualizado 21 jun 2020

Ver licencia

Particle Swarm Optimization algorithm is an evolutionary, Bio-inspired, Swarm-intelligence-based algorithm that simulates the collective behavior of a swarm of insects/animals, in searching for food. It was first developed by Eberhart and Kennedy in 1995, and since then, it has been modified and enhanced to fit a wide range of engineering and scientific problems, therefore there are many variants of PSO algorithm. However, Standard PSO algorithm is still the origin from which all variants have been developed.
In this code I have implemented Standard PSO algorithm in a clear and simple script, and applied it on Eggcrate function, which is a widely known benchmark function used for validation of Global Optimization algorithms.
The user can determine the inertia, Cognitive and Social coefficients, number of iterations, number of particles and initial velocity of particles, as well as determine the plot type as Surf or Contour.

Citar como

Haydar Khayou (2024). Particle Swarm Optimization (https://www.mathworks.com/matlabcentral/fileexchange/77119-particle-swarm-optimization), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Particle Swarm en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.1.0

Showing Optimum particle in different color than the swarm

1.0.0