NonlinearProgram.ObjectiveAndGradient Property

Gets or sets the gradient of the objective function of the nonlinear program.

Definition

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

Property Value

Func<Vector<Double>, Vector<Double>, Double>
A delegate that represents a multivariate function that returns a vector in its second argument..

See Also