필터 지우기
필터 지우기

Particle Swarm Optimization in a 2d searcher space

조회 수: 1 (최근 30일)
Stefan Zeiter
Stefan Zeiter 2018년 3월 19일
댓글: Stefan Zeiter 2018년 3월 19일
Hey.
I have another question to the particle swarm optimization. Attached you can see my script for the PSO and the function (Rosenbrock function).
I defined my Boundaries and number of dimensions:
VarMin = -5 VarMax = 5 nVar = 2 Then of course I get for the GlobalBest a vector with 2 columns. For example:
Position: [0.9261 0.8588] And the Cost: 0.0056
The Rosenbrock function has it's minumum at the origin. Why I don't get for my 2d searcher space the position [0 0] and the cost value also around zero? I hope you can help me with my understanding problem.
Kind regards

답변 (1개)

Alan Weiss
Alan Weiss 2018년 3월 19일
The Rosenbrock function has its minimum at the point [1,1], not the origin.
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 1
Stefan Zeiter
Stefan Zeiter 2018년 3월 19일
Of course you are right. Thanks for your correction.

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

카테고리

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