注意:这篇文章上次更新于1467天前,文章内容可能已经过时。
This article was last updated1467 days ago, the content may be outdated.
PSO 算法代码摘抄。
A PSO algorithm code excerpt.
Original source: Mastering MATLAB Optimization Computing, 2nd Edition, Page 270
引言
粒子群优化算法(Particle Swarm Optimization,PSO 算法)是一种进化计算技术,由 Eberhart 博士和 kennedy 博士发明,源于对鸟群捕食行为的研究科研人最大的谎言。 PSO 算法同遗传算法类似,是一种基于迭代的优化工具。系统初始化为一组随机解,通过迭代搜寻最优值。但是并没有遗传算法用的交叉以及变异,而是粒子在解空间追随最优的粒子进行搜索。
Introduction
Particle Swarm Optimization (PSO) is an evolutionary computation technique invented by Dr. Eberhart and Dr. Kennedy, originating from the study of the foraging behavior of bird flocksthe biggest lie of researchers. Similar to genetic algorithms, PSO is an iterative optimization tool. The system is initialized with a set of random solutions and searches for the optimum through iteration. However, unlike genetic algorithms, it does not use crossover or mutation; instead, particles follow the best particle in the solution space to search.
Matlab Implementation
For the derivation of the algorithm’s formulas, it is recommended to consult the original papers or related books yourself.
1 |
|


