gamultiobj population type only integers
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I am using gamultiobj for optimization and i want my populatio to take only integer number values like 0, 1 , 2 , 3 , 4 , 5. How can i do that?
0 Commenti
Risposta accettata
Alan Weiss
il 3 Ago 2012
The answer, unfortunately, is that you cannot restrict variables in gamultiobj to be integer-valued.
There is a possibility that custom population, mutation, and crossover functions could work for you, but you will have to do the programming for yourself. See this technical note.
But I am not sure that this will work. Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
4 Commenti
Alan Weiss
il 3 Ago 2012
As for programming the mutation, crossover, and population creation functions, I am afraid that I cannot help you. Sorry. Perhaps if you are in a low enough dimensional space, you could just create all the possible binary variables and evaluate the objective functions, and then see which are nondominated. But this would only work with up to perhaps 20 variables, which would give you about 1e6 points.
Alan Weiss
MATLAB mathematical toolbox documentation
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!