Particle Swarm Optimization

版本 1.1.0 (3.2 KB) 作者: Haydar Khayou
A graphical illustration of PSO algorithm applied on Eggcrate function.
1.3K 次下载
更新时间 2020/6/21

查看许可证

Particle Swarm Optimization algorithm is an evolutionary, Bio-inspired, Swarm-intelligence-based algorithm that simulates the collective behavior of a swarm of insects/animals, in searching for food. It was first developed by Eberhart and Kennedy in 1995, and since then, it has been modified and enhanced to fit a wide range of engineering and scientific problems, therefore there are many variants of PSO algorithm. However, Standard PSO algorithm is still the origin from which all variants have been developed.
In this code I have implemented Standard PSO algorithm in a clear and simple script, and applied it on Eggcrate function, which is a widely known benchmark function used for validation of Global Optimization algorithms.
The user can determine the inertia, Cognitive and Social coefficients, number of iterations, number of particles and initial velocity of particles, as well as determine the plot type as Surf or Contour.

引用格式

Haydar Khayou (2024). Particle Swarm Optimization (https://www.mathworks.com/matlabcentral/fileexchange/77119-particle-swarm-optimization), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Particle Swarm 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0

Showing Optimum particle in different color than the swarm

1.0.0