Particle swarm solver not available in Global Optimization Toolbox
1 view (last 30 days)
Show older comments
SURBHI GOEL
on 13 Nov 2020
Commented: SURBHI GOEL
on 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 Comments
Ameer Hamza
on 13 Nov 2020
Are you not able to use particleswarm function? What is the error? What is the output of
which particleswarm
Accepted Answer
Steve Grikschat
on 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.
3 Comments
More Answers (1)
Ameer Hamza
on 14 Nov 2020
Edited: Ameer Hamza
on 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.
See Also
Categories
Find more on Particle Swarm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!