OneDimensionalOptimizer.ObjectiveFunctionWithDerivative Property

Gets or sets a function that computes the value of the objective function and its derivative.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public FunctionWithDerivative ObjectiveFunctionWithDerivative { get; set; }

Property Value

FunctionWithDerivative

Remarks

The objective function is the function for which an extremum needs to be found.

Exceptions

InvalidOperationException

An attempt was made to change the objective function while the algorithm was running.

See Also