Skip to content

Hessian is semi-definite #8

@liminchen

Description

@liminchen

Sometimes the rounding error might cause a linear solver that requires strict positive definiteness to crash. However the Eigen::SimplicialLDLT we use by default works just fine.

A simple trick that one can do is to add an epsilon * identitiyMatrix to each of the projected element Hessian, so that the rounding error won't make the global Hessian indefinite.
Similarly, one can also blend the global Hessian with an epsilon scaled lumped mass to help with this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions