both real and integer variables ga optimization
Mostra commenti meno recenti
How can i perform an optimization with the gamultiobj function using both real and integer variables ?
Risposta accettata
Più risposte (1)
Alan Weiss
il 11 Feb 2013
0 voti
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
Categorie
Scopri di più su Solver Outputs and Iterative Display in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!