How can i define xo or intial parameters that the ga begin with ?
Información
This question is locked. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos

1 comentario
John D'Errico
el 31 de Oct. de 2024
Editada: John D'Errico
el 31 de Oct. de 2024
What reason is there to ask the exact same question multiple times? What about the last set of answers was not sufficient?
Respuestas (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.
Categorías
Más información sobre Surface and Mesh Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!