Setting Initial Conditions for Genetic Algorithm
Show older comments
Hi,
I would like to know if there is anyway I can give my ga function an initial condition.
[x(i,:) fval(i,:)] = ga(prob,1,[],[],[],[],-21,25,[],options);
Any help is appreciated.
Answers (1)
Torsten
on 17 May 2022
0 votes
Here is a list of options (also for initial conditions) you can set for ga:
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!