Info

This question is locked. Riaprila per modificarla o per rispondere.

How can i define xo or intial parameters that the ga begin with ?

2 visualizzazioni (ultimi 30 giorni)

Risposte (1)

Aquatris
Aquatris il 31 Ott 2024
Modificato: Aquatris il 31 Ott 2024
You use InitialPopulationMatrix of optimoptions. You can get more info on what options you can set for ga in here under InputArguments>options.
opts = optimoptions('ga')
opts.InitialPopulationMatrix = X0;

This question is locked.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by