Multidimensional Particle Swarm Optimization Code Example

4 ビュー (過去 30 日間)
Pilar Jiménez
Pilar Jiménez 2017 年 2 月 28 日
コメント済み: ayodeji olanite 2021 年 9 月 5 日
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 件のコメント
ayodeji olanite
ayodeji olanite 2021 年 9 月 5 日
Hi Pilar, please can you share with me your code

サインインしてコメントする。

回答 (1 件)

Walter Roberson
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
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 ExchangeParticle Swarm についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by