nonlinear bounded constraints in fmincon

1 ビュー (過去 30 日間)
hussain askar
hussain askar 2021 年 10 月 27 日
コメント済み: hussain askar 2021 年 10 月 27 日
I would like to add a nonlinear bounded constraint to my fmincon function i MATLAB, how can I break this constraint into two nonlinear inequality constraints? This is the ramp limit constraint used for generators
-DR<= p(i,t+1) - p(i,t) <= UR
  1 件のコメント
hussain askar
hussain askar 2021 年 10 月 27 日
can i break it like this?
function [c,ceq] = mycon(p)
c = [-DR(i)-p(h+1,i)+p(h,i);p(h+1,i)-p(h,i)-UR(i)];

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by