Default settings in ga function

조회 수: 7 (최근 30일)
Utkarsh  Konge
Utkarsh Konge 2017년 6월 25일
답변: Alan Weiss 2017년 6월 26일
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.

답변 (1개)

Alan Weiss
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.

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by