Setting Initial Conditions for Genetic Algorithm

4 vues (au cours des 30 derniers jours)
Josee Rizkallah
Josee Rizkallah le 17 Mai 2022
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.

Réponses (1)

Torsten
Torsten le 17 Mai 2022
Here is a list of options (also for initial conditions) you can set for ga:

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by