OneDimensionalOptimizer.ObjectiveFunction Property

Gets or sets the objective function.

Definition

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

Property Value

Func<Double, Double>

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