Conjugate Gradient Optimizer.Restart Iterations 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.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public int RestartIterations { get; set; }
Property Value
Int32Remarks
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
Argument | The value is less than zero. |