MATLAB: In optimization toolbox, in function “gamultiobj” how to define ConstraintFile.m function in which constraints are not functions of design variables. This facility is available in “ga” under “nonlin”.

gagamultiobjnonlin

ga(fitnessfsn,…….lb,ub,nonlin,options)
gamultiobj(fitnessfsn,…….lb,ub,options)

Best Answer

If the constraints are not functions of design variables, then how are they constraints?
gamultiobj gained the ability to use nonlinear constraints in R2014b, as you can see in the release notes.
Alan Weiss
MATLAB mathematical toolbox documentation