Particle Swarm Optimization

Version 1.13.0.0 (8.01 KB) by Yan Ou
[xMin,yMin] = pso(fun,np,lb,ub);
4.4K Downloads
Updated 24 Dec 2013

View License

fun: function handle (y = fun(x), x is column vector)
np: number of particles
lb, ub: lb<x<ub
xMin: yMin = fun(xMin)
yMin: minimum value of the cost function fun
pso finds the global minimum for a constraint function (convex or non-con) with multiple variables.

Cite As

Yan Ou (2024). Particle Swarm Optimization (https://www.mathworks.com/matlabcentral/fileexchange/41708-particle-swarm-optimization), MATLAB Central File Exchange. Retrieved .

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

Inspired: Multi-objective RIME Algorithm (MORIME)

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.13.0.0

update

1.12.0.0

update stop criteria

1.11.0.0

add warm start

1.10.0.0

update

1.9.0.0

update pso

1.8.0.0

Add demo file

1.7.0.0

update

1.4.0.0

updated version

1.3.0.0

add screen shot and summary

1.1.0.0

change the summary part to make user immediately understand the usage of function

1.0.0.0