필터 지우기
필터 지우기

Particle swarm solver not available in Global Optimization Toolbox

조회 수: 1 (최근 30일)
SURBHI GOEL
SURBHI GOEL 2020년 11월 13일
댓글: SURBHI GOEL 2020년 11월 19일
I know we should not use app for these as it is going to be removed in future, but I just wanted to try it once.
I have Global Optimization Toolbox installed but still around 5 solvers are missing in it.
Will reinstalling the toolbox work?
TIA
  댓글 수: 4
Ameer Hamza
Ameer Hamza 2020년 11월 13일
Are you not able to use particleswarm function? What is the error? What is the output of
which particleswarm
SURBHI GOEL
SURBHI GOEL 2020년 11월 13일
편집: SURBHI GOEL 2020년 11월 13일
Ths command is giving me the path correctly but when I go to the optimization app, I don't get particleswarm as solver in the dropdown menu (shown in the image attached)

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

채택된 답변

Steve Grikschat
Steve Grikschat 2020년 11월 14일
Hi,
Optimtool did not support all of the solvers in Optimization and Global Optimization Toolboxes.
If you have installed or have access to R2020b, we've introduced a new UI that has the newer solvers including particleswarm.
Here's a video about it if you'd like to get a sneak peek.
  댓글 수: 3
Steve Grikschat
Steve Grikschat 2020년 11월 19일
Do you have R2020b? That's when the Optimize task was released.

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

추가 답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 11월 14일
편집: Ameer Hamza 2020년 11월 14일
If you read the description on the documentation page: https://www.mathworks.com/help/optim/ug/optimtool.html you can see that particleswarm is not available in the optimization app. You will need to write the code to use particle swarm.

카테고리

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