フィルターのクリア

Constrained Optimization with fmincon for multiple inequalities

2 ビュー (過去 30 日間)
metehan yayla
metehan yayla 2016 年 4 月 29 日
編集済み: Torsten 2016 年 4 月 29 日
I am stuck with the implementation of the boundaries to fmincon command. Constraints on the optimization variable u are;
a1 <= u <= a2
b1 <= u <= b2
But, I have no exact knowledge on a1, b1, a2, and b2. Mathematically, I can express my constraints as follows;
max(a1, b1) <= u <= min(a2, b2)
These a1, a2, b1, and b2's are changing for each output of the optimization variable u.
How can I implement these inequalities in fmincon?

回答 (1 件)

Torsten
Torsten 2016 年 4 月 29 日
編集済み: Torsten 2016 年 4 月 29 日
Use the option to prescribe general constraints for fmincon in the user-defined function "nonlcon".
Best wishes
Torsten.

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by