Default settings in ga function
7 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Alan Weiss
2017 年 6 月 26 日
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 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!