Default settings in ga function

7 visualizaciones (últimos 30 días)
Utkarsh  Konge
Utkarsh Konge el 25 de Jun. de 2017
Respondida: Alan Weiss el 26 de Jun. de 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.

Respuestas (1)

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

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by