MultidimensionalOptimizer.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<Vector<double>, double> ObjectiveFunction { get; set; }

Property Value

Func<Vector<Double>, Double>
A delegate that represents a multivariate function.

Exceptions

InvalidOperationException

The property is set while a calculation is underway.

See Also