File Exchange

image thumbnail


version (97.4 KB) by Sandeep Solanki
PSO Toolbox with Fast Speed and Interactive GUI.


Updated 31 Oct 2013

View License

psoToolbox provides an interective GUI based Toolbox to solve optimization problems using particle swarm optimization.
Creat a fitness function in M-file.
Function : Function handle of fitness function.
Nvars : Number of variable to be optimized.
LB : Lower Bound of Nvars (1 X Nvars)
UB : Upper Bound of Nvars (1 X Nvars)
C1 : Cognative Attraction
C2 : Social Attraction
W : Inertial
Population Size : Number of Swarms
Max Iterations : Maximum number of epochs.
Click on " RUN PSO " button to start PSO search. You will get the out put
at Edit box below the axes.

To solve problem on command prompt use "pso.m".

Cite As

Sandeep Solanki (2020). psoToolbox (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (12)

Requires Image Processing Toolbox and Statistics Toolbox

akhila k

what are the parameters C1,C2 and W used for


can I use this app to optimize and tuned fuzzy logic controller. Pls let me know. Thanks

It shows error when i use any objective function in dialog box
and it also shows that vaiables are Undefined so can anyone help regarding defining a function ?

its a simple way to solve problems of obtimizatios

Ahmad Taher

Very good toolbox for PSO


Can anyone guide me where to enter the constraints ?


requires mapping toolbox

@Gnaneswar Nadh satapathi : simply, as we do for ga.

good to see this app, but how to write a complex equation


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