genetic algorithm Mixed Integer Optimization linear vs nonlinear constraint

조회 수: 2 (최근 30일)
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일
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개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by