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
Torsten 2015 年 10 月 27 日

0 投票

Use the constraint f(x) >= 0.
Best wishes
Torsten.

カテゴリ

ヘルプ センター および File ExchangeNonlinear Optimization についてさらに検索

質問済み:

2015 年 10 月 27 日

回答済み:

2015 年 10 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by