File Exchange

image thumbnail

A simple implementation of Particle Swarm Optimization (PSO) Algorithm

version 1.0.0.0 (2.86 KB) by Seyedali Mirjalili
A function to solve optimization problems using the Particle Swarm Optimization (PSO) Algorithm

67 Downloads

Updated 22 May 2018

View License

This submission includes a simple implementation of the Particle Swarm Optimization (PSO) in Matlab. A function has been designed that show you qualitative and quantitative results of PSO.
I have a number of relevant courses in this area. You can enrol via the following links with 95% discount:

A course on “Optimization Problems and Algorithms: how to understand, formulation, and solve optimization problems”:
https://www.udemy.com/optimisation/?couponCode=MATHWORKSREF

“Introduction to Genetic Algorithms: Theory and Applications”
https://www.udemy.com/geneticalgorithm/?couponCode=MATHWORKSREF

Cite As

Seyedali Mirjalili (2020). A simple implementation of Particle Swarm Optimization (PSO) Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/67429-a-simple-implementation-of-particle-swarm-optimization-pso-algorithm), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

I use the algorithm to solve radar localization problem, only change the objetive function and run very well.

Reethesh CM

Did you manage to fix the issue?

I,m getting error in this step....
fileName = ['Result after iteration # ' , num2str(t)];
save( fileName)

Hi David, I do not have the code of QPSO.

David Franco

Dear professor, do you have any Quantum-behaved Particle Swarm Optimization code? Thanks in advance!

eric githua

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