How can i define xo or intial parameters that the ga begin with ?
Info
This question is locked. Reopen it to edit or answer.
Show older comments

1 Comment
John D'Errico
on 31 Oct 2024
Edited: John D'Errico
on 31 Oct 2024
What reason is there to ask the exact same question multiple times? What about the last set of answers was not sufficient?
Answers (1)
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.
Categories
Find more on Surface and Mesh Plots 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!