fmincon: Matrix is singular to working precision.

1 次查看(过去 30 天)
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