Particle swarm solver not available in Global Optimization Toolbox

1 vue (au cours des 30 derniers jours)
SURBHI GOEL
SURBHI GOEL le 13 Nov 2020
Commenté : SURBHI GOEL le 19 Nov 2020
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 commentaires
Ameer Hamza
Ameer Hamza le 13 Nov 2020
Are you not able to use particleswarm function? What is the error? What is the output of
which particleswarm
SURBHI GOEL
SURBHI GOEL le 13 Nov 2020
Modifié(e) : SURBHI GOEL le 13 Nov 2020
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)

Connectez-vous pour commenter.

Réponse acceptée

Steve Grikschat
Steve Grikschat le 14 Nov 2020
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 commentaires
Steve Grikschat
Steve Grikschat le 19 Nov 2020
Do you have R2020b? That's when the Optimize task was released.
SURBHI GOEL
SURBHI GOEL le 19 Nov 2020
No. I have R2019B

Connectez-vous pour commenter.

Plus de réponses (1)

Ameer Hamza
Ameer Hamza le 14 Nov 2020
Modifié(e) : Ameer Hamza le 14 Nov 2020
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.

Community Treasure Hunt

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

Start Hunting!

Translated by