Why Genetic Algorithm option is not available in "Solver" option in "optimtool"?

12 views (last 30 days)

Accepted Answer

MathWorks Support Team
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:
 

More Answers (0)

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!