I am solving a nonlinear Model predictive control problem . I get the following error. Can anybody help me understand the error report?

조회 수: 1 (최근 30일)

채택된 답변

Sargondjani
Sargondjani 2021년 6월 23일
The error says that the derivative at the initial point (x0) is either NaN, infinity, or complex. So you should check whether that is supposed to be the case. If this is only a local problem, you could use a slightly different starting value for x0
  댓글 수: 4
kushal s
kushal s 2021년 6월 24일
편집: kushal s 2021년 6월 24일
But i have not used any nonlinear constarints. I think it wants me to use Nonlinear constraint function at initial point. Can you sugest possible corrections?
Sargondjani
Sargondjani 2021년 6월 24일
I need to see your code (minimal working example would be great), otherwise it's hard to help you
Maybe you specified a non linear constraint, without intending to do so?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by