fmincon: Matrix is singular to working precision.

조회 수: 4 (최근 30일)
ektor
ektor 2018년 1월 21일
댓글: Walter Roberson 2021년 11월 29일
Dear all,
I get the following message but the code seems to be working ok
In fmincon (line 797)
Warning: Matrix is singular to working precision.
Is there a way to rectify this problem?
  댓글 수: 6
Fabian Friz
Fabian Friz 2021년 11월 29일
Hi there,
Do you have a solution for this ? Would computing the derivatives yourself solve the problem ?
Walter Roberson
Walter Roberson 2021년 11월 29일
Options:
TypicalX Typical x values. The number of elements in TypicalX is equal to the number of elements in x0, the starting point. The default value is ones(numberofvariables,1). fmincon uses TypicalX for scaling finite differences for gradient estimation.

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

답변 (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