Setting Initial Conditions for Genetic Algorithm
显示 更早的评论
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.
回答(1 个)
Torsten
2022-5-17
0 个投票
Here is a list of options (also for initial conditions) you can set for ga:
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!