Almost all line-search algorithms use iterative extrapolation techniques which can easily lead them to (feasible) points where the objective function f is no longer defined. (e.g., resulting in indefinite matrices for ML estimation) or difficult to compute (e.g., resulting in floating point overflows). Therefore, PROC NLP provides options restricting the step length or trust region radius , especially during the first main iterations.
The inner product of the gradient g and the search direction s is the slope of along the search direction s. The default starting value in each line-search algorithm during the main iteration k is computed in three steps:
The first step uses either the difference of the function values during the last two consecutive iterations or the final step length value of the last iteration to compute a first value of .
Not using the DAMPSTEP= r option:
with
This value of can be too large and lead to a difficult or impossible function evaluation, especially for highly nonlinear functions such as the EXP function.
Using the DAMPSTEP= r option:
The initial value for the new step length can be no larger than r times the final step length of the previous iteration. The default value is .
During the first five iterations, the second step enables you to reduce to a smaller starting value using the INSTEP= r option:
After more than five iterations, is set to .
The third step can further reduce the step length by
where u is the maximum length of a step inside the feasible region.
The INSTEP= r option lets you specify a smaller or larger radius of the trust region used in the first iteration of the trust region, double dogleg, and Levenberg-Marquardt algorithms. The default initial trust region radius is the length of the scaled gradient (Moré 1978). This step corresponds to the default radius factor of . In most practical applications of the TRUREG, DBLDOG, and LEVMAR algorithms, this choice is successful. However, for bad initial values and highly nonlinear objective functions (such as the EXP function), the default start radius can result in arithmetic overflows. If this happens, you may try decreasing values of INSTEP= r, , until the iteration starts successfully. A small factor r also affects the trust region radius of the next steps because the radius is changed in each iteration by a factor , depending on the ratio expressing the goodness of quadratic function approximation. Reducing the radius corresponds to increasing the ridge parameter , producing smaller steps directed more closely toward the (negative) gradient direction.