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".
1 view (last 30 days)
Show older comments
Ravindra Desai
on 24 Jun 2016
Commented: Ravindra Desai
on 27 Jun 2016
ga(fitnessfsn,.......lb,ub,nonlin,options)
gamultiobj(fitnessfsn,.......lb,ub,options)
0 Comments
Accepted Answer
Alan Weiss
on 24 Jun 2016
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
More Answers (1)
Steven Lord
on 24 Jun 2016
If you mean that your constraints are functions not only of the design variables but also additional parameters, use the techniques described in the documentation to pass those additional parameters into the constraint functions when you call gamultiobj.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!