NonlinearProgram.SymbolicObjectiveFunction Property

Gets or sets the expression that evaluates the objective function.

Definition

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

Property Value

Expression<Func<Vector<Double>, Double>>
A lambda expression or expression tree that evaluates the objective function.

Remarks

Setting this property causes the gradient to be evaluated symbolically.

See Also