both real and integer variables ga optimization
Afficher commentaires plus anciens
How can i perform an optimization with the gamultiobj function using both real and integer variables ?
Réponse acceptée
Plus de réponses (1)
Alan Weiss
le 11 Fév 2013
0 votes
As Benji said, you cannot perform mixed integer optimization automatically in GA unless you have MATLAB R2011b or later. However, you can write custom population functions for this purpose; see this explanation. You might also want to see this example on mapping integer variables to a finite set of choices.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!