IMSL C# Numerical Library

NonlinLeastSquares.ErrorStatus Property

Get information about the performance of NonlinLeastSquares.

public int ErrorStatus {get;}

Property Value

An int specifying information about convergence.

Remarks

Value Meaning
0 All convergence tests were met.
1 Scaled step tolerance was satisfied. The current point may be an approximate local solution, or the algorithm is making very slow progress and is not near a solution, or StepTolerance is too big.
2 Scaled actual and predicted reductions in the function are less than or equal to the relative function convergence tolerance RelativeTolerance.
3 Iterates appear to be converging to a noncritical point. Incorrect gradient information, a discontinuous function, or stopping tolerances being too tight may be the cause.
4 Five consecutive steps with the maximum stepsize have been taken. Either the function is unbounded below, or has a finite asymptote in some direction, or the maximum stepsize is too small.

See Also

NonlinLeastSquares Class | Imsl.Math Namespace | RelativeTolerance | StepTolerance