OneDimensionalOptimizer.ObjectiveFunction Property

Gets or sets the objective function.

Definition

Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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

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

See Also