psoToolbox
psoToolbox provides an interective GUI based Toolbox to solve optimization problems using particle swarm optimization.
Creat a fitness function in M-file.
Inputs:
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)
Parameters:
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 (2024). psoToolbox (https://www.mathworks.com/matlabcentral/fileexchange/44154-psotoolbox), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |