Solving a Constrained Optimization Problem
显示 更早的评论
In solving a constrained nonlinear optimization problem on a function f(x) how do I ensure that the value of f(xopt), although minimized, stays greater than 0. I'm using fmincon. Please see the function file.
The general syntax is: [A, fval] = drillopt(RPM)
RPM can be scalar or vector. Use [67, 117, 217]
回答(1 个)
Torsten
2015-10-27
0 个投票
Use the constraint f(x) >= 0.
Best wishes
Torsten.
类别
在 帮助中心 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!