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개)

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 CenterFile Exchange에서 Particle Swarm에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by