genetic algorithm Mixed Integer Optimization linear vs nonlinear constraint
1 view (last 30 days)
Show older comments
Hi there,
I'm using ga function for my nonlinear objective with 2 constraints as a function of 3 variables variable 1 - continuous. variable 2 - must be integer. variable 3 - must be integer.
The first constraint is nonlinear. For the second constraint I have the choice to express it as linear or nonlinear function.
Which way should I express the second constraint i.e. which option is more preferred for the solver?
Many thanks,
0 Comments
Accepted Answer
Alan Weiss
on 2 Apr 2015
See the documentation on mixed integer optimization. This is available in GA for MATLAB versions R2011b or later.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Comments
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm 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!