Nonlinear Program.Hessian Pattern Property
Gets or sets an optional matrix describing the Hessian structure for numerical curvature recovery.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
A square matrix template, or null. Values are ignored; stored sparse positions, including zeros, define structure.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public Matrix<double>? HessianPattern { get; set; }Property Value
Matrix<Double>A square matrix template, or null. Values are ignored; stored sparse positions, including zeros, define structure.
Remarks
Use this template when Hessian is null and numerical sparse curvature is desired.
A supplied analytical Hessian takes precedence; this template is then ignored.
Indexes are snapshotted per solve. No dense Hessian is allocated for a sparse template.
Exceptions
| Invalid | A calculation is in progress. |