Solving a Constrained Optimization Problem

조회 수: 3 (최근 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 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