fmincon starting value is not x0

4 ビュー (過去 30 日間)
baptiste
baptiste 2017 年 1 月 6 日
回答済み: baptiste 2017 年 1 月 6 日
Hello. When I call fmincon, I provide a starting point x0. However when I check the value of x at the first iteration it does not start at x0. Is there any way to force fmincon to start precisely at x0? Thanks.

採用された回答

baptiste
baptiste 2017 年 1 月 6 日
Ok, it was because I provided an x0 point that was equal to the one of the bounds, so matlab treated as outside the bounds and changed the starting value without warning me.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by