NonlinearProgram.ObjectiveHessianDiagonal Property

Gets or sets an optional objective Hessian diagonal callback for Newton preconditioning.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public Action<Vector<double>, Vector<double>>? ObjectiveHessianDiagonal { get; set; }

Property Value

Action<Vector<Double>, Vector<Double>>
A callback receiving the point and destination, or null.

Remarks

Write every diagonal component in the original objective convention. The solver uses its magnitude with a positive floor.

Exceptions

InvalidOperationExceptionA calculation is in progress.

See Also