Particle Swarm Optimization Toolbox
The most basic code of PSO has been presented here. It is most helpful for people new to coding.
It can be used on any optimization problem. Being a heuristic algorithm it tends to find the global minimum value and as the code has been vectorized the speed has also been increased. The presented files are for unconstrained functions but with the help of penalty function the problem can be easily constrained.
If it works for many users I intend to develop a GUI for PSO as well present the constrained PSO files.
The widely used benchmark functions for checking the functioning of PSO are also added.
The improved PSO file has also been added in which the linearly changing inertial weight value has been considered.
Let me know in the comments if it helps.
Citation pour cette source
Bhanu Pratap Singh (2026). Particle Swarm Optimization Toolbox (https://fr.mathworks.com/matlabcentral/fileexchange/45991-particle-swarm-optimization-toolbox), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : Backtracking Search Optimization Algorithm
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.2.0.0 | Different benchmark functions for checking PSO's functioning have been added.
|
||
| 1.1.0.0 | tags were changed for ease. |
||
| 1.0.0.0 |
