Default settings in ga function
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am running a MINLP formulation using ga(). The integer variables are binary and a second NLP optimizer (fmincon) runs based on the input from the binary variables. So basically, the ga() handles only the binary variables. I have set the options for ga() to be default. I wish to see what are those options for eg. the crossover function, the selection etc. Is there a way to get these options by command line?. Thank you for your help. Sorry for being noobish.
Please help me out. This is time sensitive. I need to present it.
0 commentaires
Réponses (1)
Alan Weiss
le 26 Juin 2017
According to the documentation, there are "special" creation, crossover, and mutation functions that enforce integer constraints. To see exactly what they are, consult the reference to Deep et al., "Deep, Kusum, Krishna Pratap Singh, M.L. Kansal, and C. Mohan. A real coded genetic algorithm for solving integer and mixed integer optimization problems. Applied Mathematics and Computation, 212(2), pp. 505–518, 2009.". For the other options, the documentation gives the default values.
I hope that this helps,
Alan Weiss
MATLAB mathematical toolbox documentation
P.S. Your idea to use fmincon to optimize the function for given integer variable values seems like a good one to me.
0 commentaires
Voir également
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!