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".
显示 更早的评论
ga(fitnessfsn,.......lb,ub,nonlin,options)
gamultiobj(fitnessfsn,.......lb,ub,options)
采纳的回答
更多回答(1 个)
Steven Lord
2016-6-24
1 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Earthquake Engineering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!