Particle Swarm Optimization Toolbox

Vectorized code of Particle Swarm Optimization
2.3K 次下载
更新时间 2014/4/1

查看许可证

The most basic code of PSO has been presented here. It is most helpful for people new to coding.
It can be used on any optimization problem. Being a heuristic algorithm it tends to find the global minimum value and as the code has been vectorized the speed has also been increased. The presented files are for unconstrained functions but with the help of penalty function the problem can be easily constrained.
If it works for many users I intend to develop a GUI for PSO as well present the constrained PSO files.
The widely used benchmark functions for checking the functioning of PSO are also added.
The improved PSO file has also been added in which the linearly changing inertial weight value has been considered.
Let me know in the comments if it helps.

引用格式

Bhanu Pratap Singh (2026). Particle Swarm Optimization Toolbox (https://ww2.mathworks.cn/matlabcentral/fileexchange/45991-particle-swarm-optimization-toolbox), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Particle Swarm 的更多信息
版本 已发布 发行说明
1.2.0.0

Different benchmark functions for checking PSO's functioning have been added.
Improved PSO file with linearly changing inertial value has been added by the name pso_inertial.m

1.1.0.0

tags were changed for ease.

1.0.0.0