Particle swarm solver not available in Global Optimization Toolbox
Show older comments
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
It is not possible to install R2020b toolbox on R2019b. Do you have the toolbox installed? You can check it by running
ver globaloptim
If it shows a warning, it means that the toolbox is not installed.
SURBHI GOEL
on 13 Nov 2020
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
SURBHI GOEL
on 13 Nov 2020
Edited: SURBHI GOEL
on 13 Nov 2020
Accepted Answer
More Answers (1)
Ameer Hamza
on 14 Nov 2020
Edited: Ameer Hamza
on 14 Nov 2020
0 votes
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 Comment
SURBHI GOEL
on 14 Nov 2020
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!