both real and integer variables ga optimization
Show older comments
How can i perform an optimization with the gamultiobj function using both real and integer variables ?
Accepted Answer
More Answers (1)
Alan Weiss
on 11 Feb 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
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!