Multidimensional Particle Swarm Optimization Code Example

4 visualizaciones (últimos 30 días)
Pilar Jiménez
Pilar Jiménez el 28 de Feb. de 2017
Comentada: ayodeji olanite el 5 de Sept. de 2021
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?

Respuestas (1)

Walter Roberson
Walter Roberson el 28 de Feb. de 2017
particleswarm() works with row vectors of variables. You can reshape() your multi-dimensional matrix as required to convert to or from row form.
  1 comentario
ayodeji olanite
ayodeji olanite el 5 de Sept. de 2021
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

Iniciar sesión para comentar.

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by