MATLAB: Genetic algorithm Mixed Integer Optimization linear vs nonlinear constraint

gaglobalintegernonlinearoptimizationvariables

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,

Best Answer

See the documentation on mixed integer optimization. This is available in GA for MATLAB versions R2011b or later.
Alan Weiss
MATLAB mathematical toolbox documentation