image thumbnail

PSO Demo

version 1.0.0 (2.37 KB) by Rodney Tan
This script demonstrate the fundamental of Particle Swarm Optimisation (PSO) searching for minimum cost in a 2D sphere function

326 Downloads

Updated18 Aug 2020

View License

% Written by Rodney Tan (PhD)
% Version 1.00 (Aug 2020)
%
% This script demonstrate the fundamental idea of Particle Swarm Optimisation (PSO)
% searching for minimum cost in a two dimension variables sphere function
%
% This PSO demo allows the user to set the population size, inertia coefficient (w),
% personal acceleration coefficient (c1), global acceleration coefficient (c2),
% inertia damping weight, the number of iteration, search space lower boundary
% and search space upper boundary.
%
% Reference
% Yarpiz (2020). Video Tutorial of Particle Swarm Optimization (PSO) in MATLAB
% (//www.tianjin-qmedu.com/matlabcentral/fileexchange/57286-video-tutorial-of-particleswarm-optimization-pso-in-matlab),
% MATLAB Central File Exchange.

Cite As

Rodney Tan (2022).PSO Demo(//www.tianjin-qmedu.com/matlabcentral/fileexchange/79239-pso-demo), MATLAB Central File Exchange. Retrieved.

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

Inspired by:Particle Swarm Optimization (PSO)

Community Treasure Hunt

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

Start Hunting!