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".
Show older comments
ga(fitnessfsn,.......lb,ub,nonlin,options)
gamultiobj(fitnessfsn,.......lb,ub,options)
Accepted Answer
More Answers (1)
Steven Lord
on 24 Jun 2016
1 vote
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.
1 Comment
Ravindra Desai
on 27 Jun 2016
Categories
Find more on Earthquake Engineering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!