Next: Further enhancements
Up: A generalised Newton iteration scheme
Previous: Performance issues
The absolute error at each iteration is given by
The relative error is given by
Combining these we have
A convergence criteria for the function is also implemented as
The iteration is successfully completed when both fconv and xconv return true. For a discussion of convergence considerations, see [24]. The values given below are system-dependent (often depending on the precision of the architecture) and problem specific and may need to be adjusted accordingly. Specifying too strict a tolerance may result in unattainable bounds and for this purpose a maximum number of iterations is specified using the variable maxit.
Jorge Romao