fmincon: Matrix is singular to working precision.

2 ビュー (過去 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 Center および File ExchangeSolver 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