When numerical integration is used to evaluate
, what is actually
computed is
, where
is the numerical
integration error. This error can, in principle, be made arbitrarily small,
but at the expense of more work (computer time).
Let
be an approximation to
with
error
. What is actually computed at each step in a combined
numerical optimization-integration algorithm is
| (1) |
Given
and
(the desired error tolerance
for
), the numerical integration error tolerance must be set
at a level at least as small as
. Otherwise the numerical
integration errors may dominate the total error in
and
it will not be possible to reliably determine when the optimization method has
converged. The strategy used for the example test results in the next section
was to set the error tolerance for the numerical integration at
.