fmincon starting value is not x0

조회 수: 2 (최근 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 CenterFile Exchange에서 Solver 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