ConjugateGradientOptimizer.RestartIterations Property

Gets or sets the number of iterations after which the algorithm restarts from the steepest descent direction.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public int RestartIterations { get; set; }

Property Value

Int32

Remarks

Setting this property to a non-zero value ensures that information about the behavior of the objective function from previous iterations does not interfere with current calculation of the search direction.

Exceptions

ArgumentOutOfRangeException

The value is less than zero.

See Also