IMPOSING CONSTRAINTS in FMINCON

2 ビュー (過去 30 日間)
Alessandra Costa
Alessandra Costa 2019 年 3 月 4 日
回答済み: Torsten 2019 年 3 月 4 日
Hi to everyone, I would like to know if is it possible to insert a constraint on fmincon, that works on parameters, in the sense that from optimization that returns me 4 parameters (w,a,b,e), I want to constrain the parameter a to be less than b, a<b. What is the correct form to add this new constraint to the others A=[0 1 1 0] and b=[1].
Thank you in advance for any reply and suggestion.

採用された回答

Torsten
Torsten 2019 年 3 月 4 日
A=[0 1 1 0; 0 1 -1 0];
b=[1;0];

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by