fmincon: Matrix is singular to working precision.

4 visualizaciones (últimos 30 días)
ektor
ektor el 21 de En. de 2018
Comentada: Walter Roberson el 29 de Nov. de 2021
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 comentarios
Fabian Friz
Fabian Friz el 29 de Nov. de 2021
Hi there,
Do you have a solution for this ? Would computing the derivatives yourself solve the problem ?
Walter Roberson
Walter Roberson el 29 de Nov. de 2021
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by