Particle Swarm Optimization

[xMin,yMin] = pso(fun,np,lb,ub);

您现在正在关注此提交

fun: function handle (y = fun(x), x is column vector)
np: number of particles
lb, ub: lb<x<ub
xMin: yMin = fun(xMin)
yMin: minimum value of the cost function fun
pso finds the global minimum for a constraint function (convex or non-con) with multiple variables.

引用格式

Yan Ou (2026). Particle Swarm Optimization (https://ww2.mathworks.cn/matlabcentral/fileexchange/41708-particle-swarm-optimization), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.13.0.0

update

1.12.0.0

update stop criteria

1.11.0.0

add warm start

1.10.0.0

update

1.9.0.0

update pso

1.8.0.0

Add demo file

1.7.0.0

update

1.4.0.0

updated version

1.3.0.0

add screen shot and summary

1.1.0.0

change the summary part to make user immediately understand the usage of function

1.0.0.0