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 で Choose a Solver についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!