Skip to content

SQP++ Hessian computation optimization #16

@EnricoMingo

Description

@EnricoMingo

At the moment the Hessian is computed as:
H = J.transpose() * J; (1)
this can be optimized using:
_H.selfadjointView<Eigen::Lower>().rankUpdate(_J.transpose()); (2)
however, we must pay attention to sparsity. Basically, the solver needs to be initialized with the sparsity from (1) but then in the solve we need to compute the Hessian as in (2), otherwise errors rise and it only works when the Hessian is diagonal.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions