Improved particle swarm optimization (PSO) algorithm

version 4.1.12 (10.4 KB) by Federico Giai Pron
This tool can be used for every type of optimization problem (minimization / maximization / fitting, single / multi objective).

1.6K Downloads

Updated Tue, 25 Oct 2022 10:23:47 +0000

From GitHub

View License on GitHub

Two test cases are shown:
  • TestCase01_SingleObjFunOpt: Experimental data fitting.
  • TestCase02_MultiObjFunOpt
How to run:
  • 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
How to modify it:
  • 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)
Other usages:
  • Optimization of dynamic models on Simulink (look at my other projects on the File Exchange portal)
Contacts:
  • Federico Giai Pron (fedegp3105@gmail.com)
  • Support me: https://ko-fi.com/fgp310592

Cite As

Federico Giai Pron (2022). Improved particle swarm optimization (PSO) algorithm (https://github.com/FGP310592/ParticleSwarmOptimization/releases/tag/4.1.12), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

TestCase01_SingleObjFunOpt

TestCase02_MultiObjFunOpt

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.