Solving a Constrained Optimization Problem

2 ビュー (過去 30 日間)
Kushagra Saxena
Kushagra Saxena 2015 年 10 月 27 日
回答済み: Torsten 2015 年 10 月 27 日
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 Center および File ExchangeNonlinear Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by