Why Genetic Algorithm option is not available in "Solver" option in "optimtool"?
12 views (last 30 days)
Show older comments
MathWorks Support Team
on 26 Jan 2018
Edited: MathWorks Support Team
on 17 Apr 2023
I am trying to use Genetic Algorithm option in "optimtool" as documented here:
But I cannot find the option.
Accepted Answer
MathWorks Support Team
on 16 Apr 2023
Edited: MathWorks Support Team
on 17 Apr 2023
The genetic algorithm (ga) solver is part of the Global Optimization Toolbox, which is separate to the Optimization Toolbox in MATLAB (you can refer to the top left corner in the doc links below to see which toolbox a function belongs to):
In order to have the genetic algorithm option when using "optimtool", you would need to have both toolboxes installed in MATLAB. To check what toolboxes are already installed in your MATLAB, you can execute the following command in Command Window:
>> ver
You can refer to the link below for more information on how to install additional toolbox to an existing MATLAB installation:
0 Comments
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm 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!