genetic algorithm Mixed Integer Optimization linear vs nonlinear constraint

1 Ansicht (letzte 30 Tage)
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,

Akzeptierte Antwort

Alan Weiss
Alan Weiss am 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

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by