Multidimensional Particle Swarm Optimization Code Example
4 次查看(过去 30 天)
显示 更早的评论
I need to apply a pso code in another program that I have but I don`t understand so much how I can apply a pso code in more than two dimensions. Can someone help me with an example just to understand the structure must have the code?
回答(1 个)
Walter Roberson
2017-2-28
particleswarm() works with row vectors of variables. You can reshape() your multi-dimensional matrix as required to convert to or from row form.
1 个评论
ayodeji olanite
2021-9-5
Hi Roberson, am trying to model particle (agent) to represent my routing node, can you assist me on it...I contacted before with reference number T0099010
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle Swarm 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!