How to get initial and successive populations in GA optimization ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sonika sharma
le 21 Fév 2022
Réponse apportée : Shreeya
le 15 Jan 2024
I want to use GA in integartion with external simulation software. How can I access the initial population created by GA as well as suceesive populations so that these can be send to the external simulation software to evaluate objective function?
0 commentaires
Réponse acceptée
Shreeya
le 15 Jan 2024
The “InitialPopulationMatrix” parameter of the “optimoptions’ can be used to create an initial population.
options = optimoptions('ga', ‘InitialPopulationMatrix’, []);
You can refer to the population options of this function in this link:
Further, to access the population being generated in each iteration, refer the page linked below:
The custom output function plots the population values being generated with each iteration and saves it to the base workspace which can be used in external simulation software.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!