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
Torsten 2022 年 5 月 17 日

0 投票

Here is a list of options (also for initial conditions) you can set for ga:

カテゴリ

製品

リリース

R2022a

質問済み:

2022 年 5 月 17 日

回答済み:

2022 年 5 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by