Particle Swarm Optimization

A graphical illustration of PSO algorithm applied on Eggcrate function.
1,3K download
Aggiornato 21 giu 2020

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R2017a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0

Showing Optimum particle in different color than the swarm

1.0.0