Improved particle swarm optimization (PSO) algorithm
- Mathematical optimizer (e.g. multi-method and multi-objective optimizer based on the PSO (Particle Swarm Optimization) algorithm, GA (Gentic Algorithm) and GD (Gradient Descent) method);
- Electrical models (e.g. PMSM (Permanent Manget Synchronous Motor) control and modelling);
- Thermal models (e.g. heat pumpts, etc.);
- Etc.
- TestCase01_SingleObjFunOpt: Experimental data fitting.
- TestCase02_MultiObjFunOpt
- Open the folder associated to one of the two test cases;
- Run "Fitting.m" or "Minimization.m" according to the test case you have choosen
- Open the folder associated to one of the two test cases;
- Modify the script to calculate the objective function to be optimized in the "ObjFun_fun.m" file mantaining the input and output data formats;
- Modify the parameters in the main file ("Fitting.m" or "Minimization.m" according to the best case you have choosen)
- Run the main file ("Fitting.m" or "Minimization.m" according to the best case you have choosen)
- Optimization of dynamic models on Simulink (look at my other projects on the File Exchange portal
Cite As
Federico Giai Pron (2025). Improved particle swarm optimization (PSO) algorithm (https://github.com/FGP310592/ParticleSwarmOptimization/releases/tag/4.1.12), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
TestCase01_SingleObjFunOpt
TestCase02_MultiObjFunOpt
Version | Published | Release Notes | |
---|---|---|---|
4.1.12 | See release notes for this release on GitHub: https://github.com/FGP310592/ParticleSwarmOptimization/releases/tag/4.1.12 |
||
4.1.10 | See release notes for this release on GitHub: https://github.com/FGP310592/ParticleSwarmOptimization/releases/tag/4.1.10 |
||
3.1.0.0 | See release notes for this release on GitHub: https://github.com/FGP310592/ParticleSwarmOptimization/releases/tag/3.1 |
||
1.1.2 | - Changed the name of the file |
||
1.1.1 | - PSO parameters moved from "Optimization_PSO_v0x.m" to "Fitting.m", for simplifying the access.
|
||
1.0.1 | Comments |
||
1.0.0 |