I specified more parameters to GA in order to speed up my code execution by using (optimoptions), I want to know the best values ​​for these parameters and the meaning of it

1 view (last 30 days)
opts = optimoptions(@ga, ...
'PopulationSize', 150, ...
'MaxGenerations', 200, ...
'EliteCount', 10, ...
'FunctionTolerance', 1e-8);

Answers (1)

Abhishek Gupta
Abhishek Gupta on 8 Jun 2021
Referring to the following documentation link, which might help you resolve the issue: -
(Check out the 'Description' and 'Values' columns of the table.)

Community Treasure Hunt

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

Start Hunting!