both real and integer variables ga optimization
Ältere Kommentare anzeigen
How can i perform an optimization with the gamultiobj function using both real and integer variables ?
Akzeptierte Antwort
Weitere Antworten (1)
Alan Weiss
am 11 Feb. 2013
0 Stimmen
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
Kategorien
Mehr zu Solver Outputs and Iterative Display finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!