SimulatedAnnealingOptimizer.StagnationLimit Property

Gets or sets the stagnation limit, which is the number of iterations without improvement before declaring stagnation.

Definition

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

Property Value

Int32

Remarks

The stagnation limit must be a positive integer. The default value is 20.

Exceptions

ArgumentOutOfRangeException

The value is less than or equal to 0.

See Also