Constrained Particle Swarm Optimization

조회 수: 16 (최근 30일)
Mudasser Seraj
Mudasser Seraj 2018년 2월 20일
댓글: Walter Roberson 2022년 4월 22일
Hi,
I have 'N' particles with one-dimensional variable a(=accelration). However, each particle has a different range (lower limit, upper limit). If I want to use PSO to optimize the cost function which includes v (=valocity) and p (=postion) and inequality constraint of [position(N) - position (N-1) >= some value], then how should I do it?

채택된 답변

Walter Roberson
Walter Roberson 2018년 2월 20일
  댓글 수: 4
Danish Ali
Danish Ali 2022년 4월 22일
Dear Walter,@Walter Roberson
Thank you. However, this code doesn't run well as compare to genetic algorithm. Is there any way, we can improve the results (I have tried Hybrid function too) ? Any suggestions will be appreciated.
Walter Roberson
Walter Roberson 2022년 4월 22일
Is there mathematical reason to expect that particle swarm algorithms will run about as well as genetic algorithm in all cases? Or is there a restricted set of situations in which particle swarm is expected to be as good or better, and if so then does your particular situation fit within those cases?
When the only constraints are LB and UB, then particleswarm() handles that. https://www.mathworks.com/help/gads/particleswarm.html

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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