PDF version (NAG web site
, 64-bit version, 64-bit version)
NAG Toolbox: nag_opt_bounds_mod_deriv_comp (e04kd)
Purpose
nag_opt_bounds_mod_deriv_comp (e04kd) is a comprehensive modified Newton algorithm for finding:
- – an unconstrained minimum of a function of several variables;
- – a minimum of a function of several variables subject to fixed upper and/or lower bounds on the variables.
First derivatives are required. The function is intended for functions which have continuous first and second derivatives (although it will usually work even if the derivatives have occasional discontinuities).
Syntax
[
bl,
bu,
x,
hesl,
hesd,
istate,
f,
g,
iw,
w,
ifail] = e04kd(
funct,
monit,
eta,
ibound,
bl,
bu,
x,
lh,
iw,
w, 'n',
n, 'iprint',
iprint, 'maxcal',
maxcal, 'xtol',
xtol, 'delta',
delta, 'stepmx',
stepmx)
[
bl,
bu,
x,
hesl,
hesd,
istate,
f,
g,
iw,
w,
ifail] = nag_opt_bounds_mod_deriv_comp(
funct,
monit,
eta,
ibound,
bl,
bu,
x,
lh,
iw,
w, 'n',
n, 'iprint',
iprint, 'maxcal',
maxcal, 'xtol',
xtol, 'delta',
delta, 'stepmx',
stepmx)
Note: the interface to this routine has changed since earlier releases of the toolbox:
At Mark 22: |
liw and lw were removed from the interface |
Description
nag_opt_bounds_mod_deriv_comp (e04kd) is applicable to problems of the form:
Special provision is made for unconstrained minimization (i.e., problems which actually have no bounds on the
), problems which have only non-negativity bounds, and problems in which
and
. It is possible to specify that a particular
should be held constant. You must supply a starting point, and a
funct to calculate the value of
and its first derivatives
at any point
.
A typical iteration starts at the current point
where
(say) variables are free from their bounds. The vector
, whose elements are the derivatives of
with respect to the free variables, is known. The matrix of second derivatives with respect to the free variables,
, is estimated by finite differences. (Note that
and
are both of dimension
.) The equations
are solved to give a search direction
. (The matrix
is chosen so that
is positive definite.)
is then expanded to an -vector by the insertion of appropriate zero elements, is found such that is approximately a minimum (subject to the fixed bounds) with respect to ; and is replaced by . (If a saddle point is found, a special search is carried out so as to move away from the saddle point.) If any variable actually reaches a bound, it is fixed and is reduced for the next iteration.
There are two sets of convergence criteria – a weaker and a stronger. Whenever the weaker criteria are satisfied, the Lagrange multipliers are estimated for all the active constraints. If any Lagrange multiplier estimate is significantly negative, then one of the variables associated with a negative Lagrange multiplier estimate is released from its bound and the next search direction is computed in the extended subspace (i.e., is increased). Otherwise minimization continues in the current subspace until the stronger convergence criteria are satisfied. If at this point there are no negative or near-zero Lagrange multiplier estimates, the process is terminated.
If you specify that the problem is unconstrained, nag_opt_bounds_mod_deriv_comp (e04kd) sets the to and the to . Thus, provided that the problem has been sensibly scaled, no bounds will be encountered during the minimization process and nag_opt_bounds_mod_deriv_comp (e04kd) will act as an unconstrained minimization algorithm.
References
Gill P E and Murray W (1973) Safeguarded steplength algorithms for optimization using descent methods NPL Report NAC 37 National Physical Laboratory
Gill P E and Murray W (1974) Newton-type methods for unconstrained and linearly constrained optimization Math. Programming 7 311–350
Gill P E and Murray W (1976) Minimization subject to bounds on the variables NPL Report NAC 72 National Physical Laboratory
Parameters
Compulsory Input Parameters
- 1:
– function handle or string containing name of m-file
-
funct must evaluate the function
and its first derivatives
at a specified point. (However, if you do not wish to calculate
or its first derivatives at a particular
, there is the option of setting a argument to cause
nag_opt_bounds_mod_deriv_comp (e04kd) to terminate immediately.)
[iflag, fc, gc, iw, w] = funct(iflag, n, xc, iw, w)
Input Parameters
- 1:
– int64int32nag_int scalar
-
Will have been set to or . The value indicates that only the first derivatives of need be supplied, and the value indicates that both itself and its first derivatives must be calculated.
- 2:
– int64int32nag_int scalar
-
The number of variables.
- 3:
– double array
-
The point at which the , or and the , are required.
- 4:
– int64int32nag_int array
- 5:
– double array
-
funct is called with the same arguments
iw,
liw,
w,
lw as for
nag_opt_bounds_mod_deriv_comp (e04kd). They are present so that, when other library functions require the solution of a minimization subproblem, constants needed for the function evaluation can be passed through
iw and
w. Similarly, you
could use elements
of
iw and elements from
onwards of
w for passing quantities to
funct from the function which calls
nag_opt_bounds_mod_deriv_comp (e04kd). However, because of the danger of mistakes in partitioning, it is recommended that you should pass information to
funct via global variables and not use
iw or
w at all. In any case you must not change the first
elements of
iw or the first
elements of
w.
Output Parameters
- 1:
– int64int32nag_int scalar
-
If it is not possible to evaluate
or its first derivatives at the point given in
xc (or if it is wished to stop the calculations for any other reason) you should reset
iflag to a negative number and return control to
nag_opt_bounds_mod_deriv_comp (e04kd).
nag_opt_bounds_mod_deriv_comp (e04kd) will then terminate immediately, with
ifail set to your setting of
iflag.
- 2:
– double scalar
-
Unless
on entry or
iflag is reset,
funct must set
fc to the value of the objective function
at the current point
.
- 3:
– double array
-
Unless
funct resets
iflag, it must set
to the value of the first derivative
at the point
, for
.
- 4:
– int64int32nag_int array
- 5:
– double array
-
Note: funct should be tested separately before being used in conjunction with
nag_opt_bounds_mod_deriv_comp (e04kd).
- 2:
– function handle or string containing name of m-file
-
If
, you must supply
monit which is suitable for monitoring the minimization process.
monit must not change the values of any of its arguments.
If
, a
monit with the correct argument list must still be supplied, although it will not be called.
[iw, w] = monit(n, xc, fc, gc, istate, gpjnrm, cond, posdef, niter, nf, iw, w)
Input Parameters
- 1:
– int64int32nag_int scalar
-
The number of variables.
- 2:
– double array
-
The coordinates of the current point .
- 3:
– double scalar
-
The value of at the current point .
- 4:
– double array
-
The value of
at the current point , for .
- 5:
– int64int32nag_int array
-
Information about which variables are currently fixed on their bounds and which are free.
If
is negative,
is currently:
– |
fixed on its upper bound if |
– |
fixed on its lower bound if |
– |
effectively a constant (i.e., ) if |
If is positive, its value gives the position of in the sequence of free variables.
- 6:
– double scalar
-
The Euclidean norm of the current projected gradient vector .
- 7:
– double scalar
-
The ratio of the largest to the smallest elements of the diagonal factor
of the approximated projected Hessian matrix. This quantity is usually a good estimate of the condition number of the projected Hessian matrix. (If no variables are currently free,
cond is set to zero.)
- 8:
– logical scalar
-
Specifies true or false according to whether or not the approximation to the second derivative matrix for the current subspace, , is positive definite.
- 9:
– int64int32nag_int scalar
-
The number of iterations (as outlined in
Description) which have been performed by
nag_opt_bounds_mod_deriv_comp (e04kd) so far.
- 10:
– int64int32nag_int scalar
-
The number of evaluations of
so far, i.e., the number of calls of
funct with
iflag set to
. Each such call of
funct also calculates the first derivatives of
. (In addition to these calls monitored by
nf,
funct is called with
iflag set to
not more than
n times per iteration.)
- 11:
– int64int32nag_int array
- 12:
– double array
-
As in
funct, these arguments correspond to the arguments
iw,
liw,
w,
lw of
nag_opt_bounds_mod_deriv_comp (e04kd). They are included in
monit's argument list primarily for when
nag_opt_bounds_mod_deriv_comp (e04kd) is called by other library functions.
Output Parameters
- 1:
– int64int32nag_int array
- 2:
– double array
-
You should normally print
fc,
gpjnrm and
cond to be able to compare the quantities mentioned in
Accuracy. It is usually helpful to examine
xc,
posdef and
nf too.
- 3:
– double scalar
Suggested value:
- if ;
- if ;
- if .
If , eta should be set to (also when the problem is effectively one-dimensional even though
; i.e., if for all except one of the variables the lower and upper bounds are equal).
Every iteration of
nag_opt_bounds_mod_deriv_comp (e04kd) involves a linear minimization (i.e., minimization of
with respect to
).
eta specifies how accurately these linear minimizations are to be performed. The minimum with respect to
will be located more accurately for small values of
eta (say,
) than large values (say,
).
Although accurate linear minimizations will generally reduce the number of iterations (and hence the number of calls of
funct to estimate the second derivatives), they will tend to increase the number of calls of
funct needed for each linear minimization. On balance, it is usually more efficient to perform a low accuracy linear minimization when
is small and a high accuracy minimization when
is large.
Constraint:
.
- 4:
– int64int32nag_int scalar
-
Indicates whether the problem is unconstrained or bounded. If there are bounds on the variables,
ibound can be used to indicate whether the facility for dealing with bounds of special forms is to be used. It must be set to one of the following values:
- If the variables are bounded and you are supplying all the and individually.
- If the problem is unconstrained.
- If the variables are bounded, but all the bounds are of the form .
- If all the variables are bounded, and and .
- If the problem is unconstrained. (The option is provided for consistency with other functions. In nag_opt_bounds_mod_deriv_comp (e04kd) it produces the same effect as )
Constraint:
.
- 5:
– double array
-
The fixed lower bounds
.
If
ibound is set to
, you must set
to
, for
. (If a lower bound is not specified for any
, the corresponding
should be set to a large negative number, e.g.,
.)
If
ibound is set to
, you must set
to
;
nag_opt_bounds_mod_deriv_comp (e04kd) will then set the remaining elements of
bl equal to
.
If
ibound is set to
,
or
,
bl will be initialized by
nag_opt_bounds_mod_deriv_comp (e04kd).
- 6:
– double array
-
The fixed upper bounds
.
If
ibound is set to
, you must set
to
, for
. (If an upper bound is not specified for any variable, the corresponding
should be set to a large positive number, e.g.,
.)
If
ibound is set to
, you must set
to
;
nag_opt_bounds_mod_deriv_comp (e04kd) will then set the remaining elements of
bu equal to
.
If
ibound is set to
,
or
,
bu will be initialized by
nag_opt_bounds_mod_deriv_comp (e04kd).
- 7:
– double array
-
must be set to a guess at the th component of the position of the minimum, for .
- 8:
– int64int32nag_int scalar
-
The dimension of the array
hesl.
Constraint:
.
- 9:
– int64int32nag_int array
liw, the dimension of the array, must satisfy the constraint
.
Constraint:
.
- 10:
– double array
lw, the dimension of the array, must satisfy the constraint
.
Constraint:
.
Optional Input Parameters
- 1:
– int64int32nag_int scalar
-
Default:
the dimension of the arrays
bl,
bu,
x. (An error is raised if these dimensions are not equal.)
The number of independent variables.
Constraint:
.
- 2:
– int64int32nag_int scalar
Default:
The frequency with which
monit is to be called.
- monit is called once every iprint iterations and just before exit from nag_opt_bounds_mod_deriv_comp (e04kd).
- monit is just called at the final point.
-
- monit is not called at all.
iprint should normally be set to a small positive number.
- 3:
– int64int32nag_int scalar
Default:
The maximum permitted number of evaluations of
, i.e., the maximum permitted number of calls of
funct with
iflag set to
. It should be borne in mind that, in addition to the calls of
funct which are limited directly by
maxcal, there will be calls of
funct (with
iflag set to
) to evaluate only first derivatives.
Constraint:
.
- 4:
– double scalar
Default:
The accuracy in
to which the solution is required.
If
is the true value of
at the minimum, then
, the estimated position before a normal exit, is such that
where
. For example, if the elements of
are not much larger than
in modulus, and if
xtol is set to
, then
is usually accurate to about five decimal places. (For further details see
Accuracy.)
If the problem is scaled as described in
Scaling and
is the
machine precision, then
is probably the smallest reasonable choice for
xtol. This is because, normally, to machine accuracy,
, for any
where
is the
th column of the identity matrix. If you set
xtol to
(or any positive value less than
),
nag_opt_bounds_mod_deriv_comp (e04kd) will use
instead of
xtol.
Constraint:
.
- 5:
– double scalar
Default:
The differencing interval to be used for approximating the second derivatives of
. Thus, for the finite difference approximations, the first derivatives of
are evaluated at points which are
delta apart. If
is the
machine precision, then
will usually be a suitable setting for
delta. If you set
delta to
(or to any positive value less than
),
nag_opt_bounds_mod_deriv_comp (e04kd) will automatically use
as the differencing interval.
Constraint:
.
- 6:
– double scalar
Default:
An estimate of the Euclidean distance between the solution and the starting point supplied by you. (For maximum efficiency a slight overestimate is preferable.)
nag_opt_bounds_mod_deriv_comp (e04kd) will ensure that, for each iteration,
where
is the iteration number. Thus, if the problem has more than one solution,
nag_opt_bounds_mod_deriv_comp (e04kd) is most likely to find the one nearest to the starting point. On difficult problems, a realistic choice can prevent the sequence of
entering a region where the problem is ill-behaved and can also help to avoid possible overflow in the evaluation of
. However, an underestimate of
stepmx can lead to inefficiency.
Constraint:
.
Output Parameters
- 1:
– double array
-
The lower bounds actually used by nag_opt_bounds_mod_deriv_comp (e04kd), e.g., if , .
- 2:
– double array
-
The upper bounds actually used by nag_opt_bounds_mod_deriv_comp (e04kd), e.g., if , .
- 3:
– double array
-
The final point . Thus, if on exit, is the th component of the estimated position of the minimum.
- 4:
– double array
-
During the determination of a direction
(see
Description),
is decomposed into the product
, where
is a unit lower triangular matrix and
is a diagonal matrix. (The matrices
,
,
and
are all of dimension
, where
is the number of variables free from their bounds.
consists of those rows and columns of the full estimated second derivative matrix which relate to free variables.
is chosen so that
is positive definite.)
hesl and
hesd are used to store the factors
and
. The elements of the strict lower triangle of
are stored row by row in the first
positions of
hesl. The diagonal elements of
are stored in the first
positions of
hesd. In the last factorization before a normal exit, the matrix
will be zero, so that
hesl and
hesd will contain, on exit, the factors of the final estimated second derivative matrix
. The elements of
hesd are useful for deciding whether to accept the results produced by
nag_opt_bounds_mod_deriv_comp (e04kd) (see
Accuracy).
- 5:
– double array
-
During the determination of a direction
(see
Description),
is decomposed into the product
, where
is a unit lower triangular matrix and
is a diagonal matrix. (The matrices
,
,
and
are all of dimension
, where
is the number of variables free from their bounds.
consists of those rows and columns of the full estimated second derivative matrix which relate to free variables.
is chosen so that
is positive definite.)
hesl and
hesd are used to store the factors
and
. The elements of the strict lower triangle of
are stored row by row in the first
positions of
hesl. The diagonal elements of
are stored in the first
positions of
hesd. In the last factorization before a normal exit, the matrix
will be zero, so that
hesl and
hesd will contain, on exit, the factors of the final estimated second derivative matrix
. The elements of
hesd are useful for deciding whether to accept the results produced by
nag_opt_bounds_mod_deriv_comp (e04kd) (see
Accuracy).
- 6:
– int64int32nag_int array
-
Information about which variables are currently on their bounds and which are free. If
is:
- – equal to , is fixed on its upper bound;
- – equal to , is fixed on its lower bound;
- – equal to , is effectively a constant (i.e., );
- – positive, gives the position of in the sequence of free variables.
- 7:
– double scalar
-
The function value at the final point given in
x.
- 8:
– double array
-
The first derivative vector corresponding to the final point given in
x. The components of
g corresponding to free variables should normally be close to zero.
- 9:
– int64int32nag_int array
.
Communication array, used to store information between calls to nag_opt_bounds_mod_deriv_comp (e04kd).
- 10:
– double array
.
Communication array, used to store information between calls to nag_opt_bounds_mod_deriv_comp (e04kd).
- 11:
– int64int32nag_int scalar
unless the function detects an error (see
Error Indicators and Warnings).
Error Indicators and Warnings
Note: nag_opt_bounds_mod_deriv_comp (e04kd) may return useful information for one or more of the following detected errors or warnings.
Errors or warnings detected by the function:
Cases prefixed with W are classified as warnings and
do not generate an error of type NAG:error_n. See nag_issue_warnings.
- W
-
A negative value of
ifail indicates an exit from
nag_opt_bounds_mod_deriv_comp (e04kd) because you have set
iflag negative in
funct. The value of
ifail will be the same as your setting of
iflag.
-
-
On entry, | , |
or | , |
or | , |
or | , |
or | , |
or | , |
or | , |
or | , |
or | , |
or | for some if , |
or | if , |
or | , |
or | , |
or | . |
(Note that if you have set
xtol or
delta to
,
nag_opt_bounds_mod_deriv_comp (e04kd) uses the default values and continues without failing.) When this exit occurs, no values will have been assigned to
f or to the elements of
hesl,
hesd or
g.
-
-
There have been
maxcal function evaluations. If steady reductions in
were monitored up to the point where this exit occurred, then the exit probably occurred simply because
maxcal was set too small, so the calculations should be restarted from the final point held in
x. This exit may also indicate that
has no minimum.
- W
The conditions for a minimum have not all been met, but a lower point could not be found.
Provided that, on exit, the first derivatives of
with respect to the free variables are sufficiently small, and that the estimated condition number of the second derivative matrix is not too large, this error exit may simply mean that, although it has not been possible to satisfy the specified requirements, the algorithm has in fact found the minimum as far as the accuracy of the machine permits. Such a situation can arise, for instance, if
xtol has been set so small that rounding errors in the evaluation of
or its derivatives make it impossible to satisfy the convergence conditions.
If the estimated condition number of the second derivative matrix at the final point is large, it could be that the final point is a minimum, but that the smallest eigenvalue of the Hessian matrix is so close to zero that it is not possible to recognize the point as a minimum.
-
Not used. (This is done to make the significance of
similar for
nag_opt_bounds_mod_deriv_comp (e04kd) and
nag_opt_bounds_mod_deriv2_comp (e04lb).)
- W
-
All the Lagrange multiplier estimates which are not indisputably positive lie relatively close to zero, but it is impossible either to continue minimizing on the current subspace or to find a feasible lower point by releasing and perturbing any of the fixed variables. You should investigate as for .
-
An unexpected error has been triggered by this routine. Please
contact
NAG.
-
Your licence key may have expired or may not have been installed correctly.
-
Dynamic memory allocation failed.
The values
,
or
may also be caused by mistakes in
funct, by the formulation of the problem or by an awkward function. If there are no such mistakes, it is worth restarting the calculations from a different starting point (not the point at which the failure occurred) in order to avoid the region which caused the failure.
Accuracy
A successful exit (
) is made from
nag_opt_bounds_mod_deriv_comp (e04kd) when
is positive definite and when (B1, B2 and B3) or B4 hold, where
(Quantities with superscript
are the values at the
th iteration of the quantities mentioned in
Description,
is the
machine precision and
denotes the Euclidean norm.)
If
, then the vector in
x on exit,
, is almost certainly an estimate of the position of the minimum,
, to the accuracy specified by
xtol.
If
or
,
may still be a good estimate of
, but the following checks should be made. Let the largest of the first
elements of
hesd be
, let the smallest be
, and define
. The scalar
is usually a good estimate of the condition number of the projected Hessian matrix at
. If
(i) |
the sequence converges to at a superlinear or fast linear rate, |
(ii) |
, and |
(iii) |
, |
then it is almost certain that
is a close approximation to the position of a minimum. When (ii) is true, then usually
is a close approximation to
. The quantities needed for these checks are all available via
monit; in particular the value of
cond in the last call of
monit before exit gives
Further suggestions about confirmation of a computed solution are given in the
E04 Chapter Introduction.
Further Comments
Timing
The number of iterations required depends on the number of variables, the behaviour of
, the accuracy demanded and the distance of the starting point from the solution. The number of multiplications performed in an iteration of
nag_opt_bounds_mod_deriv_comp (e04kd) is
. In addition, each iteration makes
calls of
funct (with
iflag set to
) in approximating the projected Hessian matrix, and at least one other call of
funct (with
iflag set to
). So, unless
and its first derivatives can be evaluated very quickly, the run time will be dominated by the time spent in
funct.
Scaling
Ideally, the problem should be scaled so that, at the solution, and the corresponding values of are each in the range , and so that at points one unit away from the solution, differs from its value at the solution by approximately one unit. This will usually imply that the Hessian matrix at the solution is well-conditioned. It is unlikely that you will be able to follow these recommendations very closely, but it is worth trying (by guesswork), as sensible scaling will reduce the difficulty of the minimization problem, so that nag_opt_bounds_mod_deriv_comp (e04kd) will take less computer time.
Unconstrained Minimization
If a problem is genuinely unconstrained and has been scaled sensibly, the following points apply:
(a) |
will always be , |
(b) |
hesl and hesd will be factors of the full estimated second derivative matrix with elements stored in the natural order, |
(c) |
the elements of should all be close to zero at the final point, |
(d) |
the values of the given by monit and on exit from nag_opt_bounds_mod_deriv_comp (e04kd) are unlikely to be of interest (unless they are negative, which would indicate that the modulus of one of the has reached for some reason), |
(e) |
monit's argument gpjnrm simply gives the norm of the first derivative vector. |
Example
A program to minimize
subject to the bounds
starting from the initial guess
. Before calling
nag_opt_bounds_mod_deriv_comp (e04kd), the program calls
nag_opt_check_deriv (e04hc) to check the first derivatives calculated by
funct.
Open in the MATLAB editor:
e04kd_example
function e04kd_example
fprintf('e04kd example results\n\n');
global monitoring;
monitoring = false;
eta = 0.5;
ibound = int64(0);
bl = [1; -2;-1000000; 1];
bu = [3; 0; 1000000; 3];
x = [3; -1; 0; 1];
lh = int64(6);
iw(1:2) = int64(0);
w = zeros(34,1);
wstat = warning();
warning('OFF');
[bl, bu, x, hesl, hesd, istate, f, g, iw, w, ifail] = ...
e04kd(...
@funct, @monit, eta, ibound, bl, bu, x, lh, iw, w);
if (ifail == 0 || ifail == 5 | ifail == 3)
fprintf('\nMinimum found at x: ');
fprintf(' %9.4f',x);
fprintf('\nMinimum value : %9.4f\n\n',f);
else
fprintf('\n Error: e04kd returns ifail = %d\n',ifail);
end
warning(wstat);
function [iflag, fc, gc] = funct(iflag, n, xc)
gc = zeros(n, 1);
fc = 0;
x1 = xc(1) + 10*xc(2);
x2 = xc(3) - xc(4);
x3 = xc(2) - 2*xc(3);
x4 = xc(1) - xc(4);
if (iflag ~= 1)
fc = x1^2 + 5*x2^2 + x3^4 + 10*x4^4;
end
gc(1) = 2*x1 + 40*x4^3;
gc(2) = 20*x1 + 4*x3^3;
gc(3) = 10*x2 - 8*x3^3;
gc(4) = -10*x2 - 40*x4^3;
function [] = monit(n, xc, fc, gc, istate, gpjnrm, cond, posdef, niter, nf)
global monitoring;
if (monitoring)
fprintf('\n Itn Fn evals Fn value Norm of proj gradient\n');
fprintf(' %3d %5d %15.4f %13.4f\n', niter, nf, fc, gpjnrm);
fprintf('\n J X(J) G(J) Status\n');
for j = 1:n
isj = istate(j);
if (isj > 0)
fprintf('%2d %16.4f%15.4f %s\n', j, xc(j), gc(j), ' Free');
elseif (isj == -1)
fprintf('%2d %16.4f%15.4f %s\n', j, xc(j), gc(j), ' Upper Bound');
elseif (isj == -2)
fprintf('%2d %16.4f%15.4f %s\n', j, xc(j), gc(j), ' Lower Bound');
elseif (isj == -3)
fprintf('%2d %16.4f%15.4f %s\n', j, xc(j), gc(j), ' Constant');
end
end
if (cond ~= 0)
if (cond > 1.0d6)
fprintf('\nEst. condition number of projected Hessian > 10^6\n');
else
fprintf('\nEst. condition number of projected Hessian = %10.2f\n', cond);
end
if ( not(posdef) )
fprintf('\nProjected Hessian matrix is not positive definite\n');
end
end
end
e04kd example results
Minimum found at x: 1.0000 -0.0852 0.4093 1.0000
Minimum value : 2.4338
PDF version (NAG web site
, 64-bit version, 64-bit version)
© The Numerical Algorithms Group Ltd, Oxford, UK. 2009–2015