As the optimizer requests new steps with a local knowledge of the value vector and the Jacobian matrix, it is possible that without additional features the used models are not defined or stable4.4 for the requested parameter vector. The use of constraints for the parameter values allows to confine the requested parameters in a stable area.
The transformation makes it necessary to distinguish between internal and external parameter values. The external values are those set on input and are requested from the optimizer executable from the model. For these values the constraints are active. The internal parameters are those used by the optimizer kernel and are not bounded by constraints.
The function to transform constrained, external parameters xexternal to unconstrained, internal values xinternal is
and the reverse function is
(4.43) |
where all values are found on the main branch of the function.
For numerical stability the factor f is included in
(4.42). For a value f < 1 the minimum and
maximum values (xmin and xmax) are not mapped to
and .
Thus the start values can be set equal to an upper
or lower boundary and that the finite differences in these points can
be calculated at all. On the other hand this factor implies a possible
overshoot o of
In Figure 4.2 the mapping of the internal and external parameter is shown. The real, external parameters from the x axis are transformed using the solid curve to the internal values on the y axis. The dotted lines are the minimum and maximum values of the external parameter. The dashed lines are the tangents of the solid tangents function. These are the absolute minimum and maximum values that can occur during optimization resulting from the overshoot calculated in (4.44).