MATLAB Answers

Particle swarm solver not available in Global Optimization Toolbox

2 ビュー (過去 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 件のコメント
SURBHI GOEL
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 件のコメント
SURBHI GOEL
SURBHI GOEL 2020 年 11 月 19 日
No. I have R2019B

サインインしてコメントする。

その他の回答 (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.
  1 件のコメント
SURBHI GOEL
SURBHI GOEL 2020 年 11 月 14 日
Thank you

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by