genetic algorithm Mixed Integer Optimization linear vs nonlinear constraint

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,

 採用された回答

Alan Weiss
Alan Weiss 2015 年 4 月 2 日

0 投票

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 件)

カテゴリ

質問済み:

2015 年 4 月 2 日

回答済み:

2015 年 4 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by