Solving a Constrained Optimization Problem

3 次查看(过去 30 天)
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
Torsten 2015-10-27
Use the constraint f(x) >= 0.
Best wishes
Torsten.

类别

Help CenterFile Exchange 中查找有关 Nonlinear Optimization 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by