フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

fmincon violates nonlinear inequality during search

1 回表示 (過去 30 日間)
cindy
cindy 2012 年 6 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi everyone,
I am trying to solve an optimization problem using fmincon with a nonlinear inequality restriction. Part of the objective function is undefined if this nonlinear inequality is violated. I also set up lower and upper bounds for fmincon. I use the "interior-point" algorithms so that the bounds are never violated. However, fmincon does search beyond the region defined by the nonlinear inequality. When it does, the objective function is not defined and Matlab reports an error. Is there any way to restrict the search within the region defined by the nonlinear inequality restriction?
Thanks a lot!
Cindy

回答 (1 件)

Sargondjani
Sargondjani 2012 年 6 月 4 日
No there is not. You will have to be innovative yourself to avoid this from happening...

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by