Default settings in ga function

7 views (last 30 days)
Utkarsh  Konge
Utkarsh Konge on 25 Jun 2017
Answered: Alan Weiss on 26 Jun 2017
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.

Answers (1)

Alan Weiss
Alan Weiss on 26 Jun 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.

Products

Community Treasure Hunt

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

Start Hunting!