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

3 views (last 30 days)
Matthew Worker
Matthew Worker on 5 Jun 2021
Commented: Rena Berman on 16 Dec 2021
opts = optimoptions(@ga, ...
'PopulationSize', 150, ...
'MaxGenerations', 200, ...
'EliteCount', 10, ...
'FunctionTolerance', 1e-8);

Answers (1)

Abhishek Gupta
Abhishek Gupta on 8 Jun 2021
Hi,
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!