Mark 26 NAG Fortran Library News (PDF version)
NAG Library Manual

NAG Library

Mark 26 NAG Fortran Library News

 Contents

1  Introduction

At Mark 26 of the NAG Library new functionality has been introduced in addition to improvements in existing areas. The Library now contains 1855 user-callable routines, all of which are documented, of which 37 are new at this mark.
Chapter D01 (Quadrature) has two new routines to calculate weights and abscissae for use in Gaussian quadrature and a new routine to solve a specific Gaussian quadrature problem.
Chapter D02 (Ordinary Differential Equations) has reverse communication versions of the Runge–Kutta step and interpolation routines. The interpolation routine has extended the functionality to include the high-order method.
Chapter E04 (Minimizing or Maximizing a Function) has a new suite of routines, NAG Modelling Optimization Suite for quadratic programming (QP), linear semidefinite programming (SDP), semidefinite programming with bilinear matrix inequalities (BMI-SDP), and general nonlinear programming (NLP). This suite can, for example, solve the nearest correlation matrix problem with individually weighted elements or minimize the maximum eigenvalue of a matrix. The suite introduces a novel interface, allowing the gradual build up of a problem definition and avoiding the long parameter lists of earlier interfaces. The SDP solver is based upon a generalized augmented Lagrangian method and as such complements existing solvers in the optimization chapters. The QP/NLP solver of this suite is based upon IPOPT, an interior-point method optimization package, suitable for large-scale problems, that complements the active-set sequential quadratic programming (SQP) solvers already present.
Chapter F08 (Least Squares and Eigenvalue Problems (LAPACK)) has additional blocked (BLAS-3) variants of routines for computing the generalized SVD, or generalized eigenvalues of real or complex matrix pairs.
Chapter G02 (Correlation and Regression Analysis) has a new nearest correlation routine that, using a shrinking method, allows the fixing of arbitrary elements in the input matrix.
Chapter X06 (OpenMP Utilities has a new routine to identify, at runtime, whether you are using a threaded Library or not.
At this release we have made changes to the introductory documentation supporting the Library. The document previously called the 'Essential Introduction' has been revised so that relevant information and advice on how to use the Library and its documentation can be found quickly. The document has been renamed to How to Use the NAG Library and its Documentation.
We have also provided clarification of the term 'Direct and Reverse Communication Routines', see Section 3.3.3 in How to Use the NAG Library and its Documentation, and taken the decision to document a number of error conditions, i.e., Dynamic Memory Allocation, License Management and Unexpected Errors (see Sections 3.7, 3.8 and 3.9 in How to Use the NAG Library and its Documentation).
You will also notice that on every HTML page there is now a Keyword Search box.

2  New Routines

The 37 new user-callable routines included in the NAG Library at Mark 26 are as follows.
Routine
Name

Purpose
D01TDFCalculation of weights and abscissae for Gaussian quadrature rules, method of Golub and Welsch
D01TEFGenerates recursion coefficients needed by D01TDF to calculate a Gaussian quadrature rule
D01UBFNon-automatic routine to evaluate 0exp-x2fx dx
D02PGFOrdinary differential equations, initial value problem, Runge–Kutta method, integration by reverse communication
D02PHFSet up interpolant by reverse communication for solution and derivative evaluations at points within the range of the last integration step taken by D02PGF
D02PJFEvaluate interpolant, set up using D02PQF, to approximate solution and/or solution derivatives at a point within the range of the last integration step taken by D02PGF
E04MWFWrite MPS data file defining LP, QP, MILP or MIQP problem
E04RAFInitialization of a handle for the NAG optimization modelling suite for problems, such as, quadratic programming (QP), nonlinear programming (NLP), linear semidefinite programming (SDP) or SDP with bilinear matrix inequalities (BMI-SDP)
E04RDFA reader of sparse SDPA data files for linear SDP problems
E04REFDefine a linear objective function to a problem initialized by E04RAF
E04RFFDefine a linear or a quadratic objective function to a problem initialized by E04RAF
E04RGFDefine a nonlinear objective function to a problem initialized by E04RAF
E04RHFDefine bounds of variables of a problem initialized by E04RAF
E04RJFDefine a block of linear constraints to a problem initialized by E04RAF
E04RKFDefine a block of nonlinear constraints to a problem initialized by E04RAF
E04RLFDefine a structure of Hessian of the objective, constraints or the Lagrangian to a problem initialized by E04RAF
E04RNFAdd one or more linear matrix inequality constraints to a problem initialized by E04RAF
E04RPFDefine bilinear matrix terms to a problem initialized by E04RAF
E04RYFPrint information about a problem handle initialized by E04RAF
E04RZFDestroy the problem handle initialized by E04RAF and deallocate all the memory used
E04STFRun an interior point solver on a sparse nonlinear programming problem (NLP) initialized by E04RAF and defined by other routines from the suite
E04SVFRun the Pennon solver on a compatible problem initialized by E04RAF and defined by other routines from the suite, such as, semidefinite programming (SDP) and SDP with bilinear matrix inequalities (BMI)
E04ZMFOption setting routine for the solvers from the NAG optimization modelling suite
E04ZNFOption getting routine for the solvers from the NAG optimization modelling suite
E04ZPFOption setting routine for the solvers from the NAG optimization modelling suite from external file
F08VCFComputes, using BLAS-3, the generalized singular value decomposition of a real matrix pair
F08VGFProduces orthogonal matrices, using BLAS-3, that simultaneously reduce the m by n matrix A and the p by n matrix B to upper triangular form
F08VQFComputes, using BLAS-3, the generalized singular value decomposition of a complex matrix pair
F08VUFProduces unitary matrices, using BLAS-3, that simultaneously reduce the complex, m by n, matrix A and the complex, p by n, matrix B to upper triangular form
F08WCFComputes, for a real nonsymmetric matrix pair, using BLAS-3, the generalized eigenvalues, and optionally, the left and/or right generalized eigenvectors
F08WFFPerforms, using BLAS-3, an orthogonal reduction of a pair of real general matrices to generalized upper Hessenberg form
F08WQFComputes, for a complex nonsymmetric matrix pair, using BLAS-3, the generalized eigenvalues, and optionally, the left and/or right generalized eigenvectors
F08WTFPerforms, using BLAS-3, a unitary reduction of a pair of complex general matrices to generalized upper Hessenberg form
F08XCFComputes, for a real nonsymmetric matrix pair, using BLAS-3, the generalized eigenvalues, the generalized real Schur form and, optionally, the left and/or right matrices of Schur vectors
F08XQFComputes, for a complex nonsymmetric matrix pair, using BLAS-3, the generalized eigenvalues, the generalized complex Schur form and, optionally, the left and/or right matrices of Schur vectors
G02APFComputes a correlation matrix from an approximate one using a specified target matrix
X06XAFTests whether a threaded NAG Library is being used

3  Internal Changes Affecting Users

There have been no internal changes at this mark.

4  Withdrawn Routines

The following routines have been withdrawn from the NAG Library at Mark 26. Warning of their withdrawal was included in the NAG Library Manual at Mark 25, together with advice on which routines to use instead. See the document ‘Advice on Replacement Calls for Withdrawn/Superseded Routines’ for more detailed guidance.
Withdrawn
Routine

Replacement Routine(s)
C06EAFC06PAF
C06EBFC06PAF
C06ECFC06PCF
C06EKFC06FKF
C06FRFC06PSF
C06FUFC06PUF
C06GBFNo replacement required
C06GCFNo replacement required
C06GQFNo replacement required
C06GSFNo replacement required
C06HAFC06REF
C06HBFC06RFF
C06HCFC06RGF
C06HDFC06RHF
D01BAFD01UAF
D01BBFD01TBF
D02PCFD02PEF and associated D02P routines
D02PDFD02PFF or D02PGF and associated D02P routines
D02PVFD02PQF
D02PWFD02PRF
D02PXFD02PSF
D02PYFD02PTF
D02PZFD02PUF
F04YCFF04YDF
F04ZCFF04ZDF
G01AAFG01ATF

5  Routines Scheduled for Withdrawal

The routines listed below are scheduled for withdrawal from the NAG Library, because improved routines have now been included in the Library. You are advised to stop using routines which are scheduled for withdrawal and to use recommended replacement routines instead. See the document ‘Advice on Replacement Calls for Withdrawn/Superseded Routines’ for more detailed guidance, including advice on how to change a call to the old routine into a call to its recommended replacement.
The following routines will be withdrawn at Mark 27.
Routines Scheduled
for Withdrawal

Replacement Routine(s)
D01RBFNo replacement required
D02TKFD02TLF
E02ACFE02ALF
F02SDFF12AGF and F12FGF
F02WDFF02WUF and F08AEF (DGEQRF)
G10BAFG10BBF
The following routines have been superseded, but will not be withdrawn from the Library until Mark 28 at the earliest.
Superseded
Routine

Replacement Routine(s)
C06FPFC06PQF
C06FQFC06PQF
F04ABFF07FBF (DPOSVX)
F04AEFF07ABF (DGESVX)
F04ASFF07FBF (DPOSVX)
F04ATFF07ABF (DGESVX)

Mark 26 NAG Fortran Library News (PDF version)
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2016