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".
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
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
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.