how can i bound rate of changes (dx/dt) in fmincon optimization?

3 ビュー (過去 30 日間)
Ali Barari
Ali Barari 2019 年 11 月 4 日
編集済み: Matt J 2019 年 11 月 13 日
I need a inequality constraint for (dx/dt<c) in my optimization with fmincon.
i tried many methods,but didnt work.
is there anyone can help me?

回答 (2 件)

Walter Roberson
Walter Roberson 2019 年 11 月 4 日
Use the non-linear constraint parameter and have it return (dx/dt - c) . Though if you want a strict inequality rather than <= c then you might need to be a bit careful with the boundary.
  4 件のコメント
Ali Barari
Ali Barari 2019 年 11 月 8 日
All i want is to reduce frequency of my solution (x),because i get resuts with high frequency that a real actuator cannot follow.
Walter Roberson
Walter Roberson 2019 年 11 月 8 日
Create a non-linear inequality that knows the derivative of the function. It is better not to try to estimate it.
fmincon naturally tries to find the zeros of the gradient of the function: when there are no constraints then the minima of a continuous function always satisfies the condition that the gradient is 0 (however, the gradient can also be all zero at maxima or at saddle points.) Therefore unless you have constraints, dx/dt<c will normally be satisfied for positive c.
If you do have constraints then fmincon is still going to be looking for a dx/dt that is as close to zero as feasible, under the constraints
It is therefore not obvious that testing the derivative will do a lot for you, unless c is negative

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


Matt J
Matt J 2019 年 11 月 13 日
編集済み: Matt J 2019 年 11 月 13 日

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by