We use cookies on this site to help provide the best possible online experience. By using this site you agree to our use of cookies.
Click to view our cookie policy and customize your cookie preferences.
Numerical Algorithms Group. NAG produces and distributes numerical, symbolic, statistical, visualisation and simulation software for the solution of problems in a wide range of applications in areas including science, engineering, financial analysis and research.
Agreement start: 1 August 2020
Agreement end: 31 July 2025
Subsequent invoice date: 1 May (or 1 February for "Early Bird" sites)
Institutions may join the agreement from the date of joining until 31 July 2023 or until 31 July 2025. Sites licensed until 31 July 2023 can extend their licence for a further two years from 1 August 2023 to 31 July 2025.
Higher and Further Education in the United Kingdom, and Universities and Colleges of Further Education in the Republic of Ireland.
Other organisations aligned with Jisc’s charitable objectives of supporting education, research bodies, charities and the public sector may ask to participate in the Agreement. Chest will liaise with the Supplier about any such requests.
This long established Chest Agreement has been renewed for five more years to support the many sites that use NAG’s software products.
Licensor: The Numerical Algorithms Group Ltd, registered in England and Wales (company number 1249803), whose registered office is 30 St Giles, Oxford, OX1 3LE.
The NAG Library gives academic staff and students access to over 1,900+ high quality mathematical and statistical routines from the language or environment of their choice (e.g. C/C++, C#/.NET, Python, Java, Fortran, MATLAB, VBA/Excel, …). These can be accessed from University and personal computers for academic use.
The NAG Library is now at Mark 29.2 - find out more here.
The NAG Fortran Compiler is considered the world’s best checking Fortran Compiler, speeding your development of high quality compliant/portable Fortran code. It continues to progress and support the latest Fortran Standards available for Linux, Windows and Mac o/s and includes the Fortran Builder (GUI interface) on Windows.
Download the latest versions from here.
NAG continues to collaborate with academics
NAG is a not for profit organisation with roots firmly planted in industrial, academic and research collaborations.
Free evaluation trials are available. These can be accessed through the following pages:
Getting started with the NAG Library
Getting started with the NAG Compiler
Product documentation may be downloaded from here.
Product Training is available from NAG.
Sites licensing NAG Software under the 'GOLD' option are entitled to 1 or 2 days HPC and Software Training from NAG per year. The provision of such courses is subject to trainer availability and travel and subsistence costs are chargeable.
Sites holding site-wide licences are entitled to up to a maximum of twelve Technical Contacts.
Sites holding department licences are entitled to two Technical Contacts.
Telephone support will be provided by NAG to the designated Technical Contact(s) or his/her deputy(ies).
NAG Contact Details:
On-site support will be provided, upon request. For current charges contact NAG. NAG will provide consultancy support, as requested on a chargeable basis.
The software is controlled by licence keys. New keys are issued by the NAG Response Centre support@nag.co.uk
Supplier home page: www.nag.co.uk
One copy of system releases and/or new versions and/or new supporting documentation will be sent by NAG to Licensed Sites as and when they become commercially available.
Windows (32 and 64 bit), Linux (including 64-bit), Solaris, Mac OS X.
Hardware requirements are available from NAG.
Software is delivered via electronic download. The software is controlled by licence keys. New keys are issued by the NAG Response Centre support@nag.co.uk.
For anyone unfamiliar with NAG, this PDF document is a great introduction to the product, the people behind it, and how NAG helps students and instructors around the world. Click on the below image or above link to read more.
NAG continues to collaborate with academics
NAG is a not for profit organisation with roots firmly planted in industrial, academic and research collaborations.
Very high accuracy is achieved using the new NAG Library solver for computing the implied volatility of a European option contract – even for the most difficult of volatility surfaces. The new solver features in the latest NAG Library available to download here.
The volatility surface can be highly curved, making it difficult to accurately compute the implied volatility. NAG’s new solver, developed in collaboration with Dr Kathrin Glau (and team) at Queen Mary University, London, gives high accuracy and better performance for large datasets. NAG Library users now have solver options for single precision or the Jäckel method for even higher accuracy. Learn more here. Java and Python examples can be found on the NAG GitHub.
How to access the new NAG Library functionality
As with all new releases, NAG encourage NAG Library users to upgrade to the latest Mark to access the new content and performance improvements. NAG Library downloads are available here.
If you don’t have access to the NAG Library and you’d like to try the new functionality, NAG offer full product trials. If you have any questions or need help, do get in touch with NAG's Technical Support team.
Added 23 March 2021
"We are happy to announce the latest functionality available in the NAG Library at Mark 27.1. New additions expanding the Optimization Modelling Suite include a novel nonlinear least squares solver for unconstrained and bound-constrained data fitting (calibration) problems, and functionality to simplify building and solving quadratically constrained quadratic programming (QCQP) problems.
Joining the major Optimization updates are more Adjoint solvers – available in the NAG AD Library which ships with the NAG Library. When used with NAG’s AD tool dco/c++, the NAG AD Library offers a smooth workflow which makes it easy to incorporate NAG solvers into a user's AD codes.
Of specific interest to finance industry professionals is a new solver for computing the implied volatility of a European option contract. This new NAG Library solver achieves very high accuracy even for the most difficult of volatility surfaces.
How to access the new NAG Library functionality
As with all new releases, we encourage NAG Library users to upgrade to the latest Mark to access the new content and performance improvements. NAG Library downloads are available here (look for product codes NLW6I271EL and NLL6I271BL). The latest Mark functionality is also available in the NAG Library for Python.
If you don’t have access to the NAG Library and you’d like to try the new functionality, we offer full product trials. If you have any questions or need help, do get in touch with our Technical Support team."
A Highly Competitive Optimization Solver - Now in the NAG Library
New in the NAG Library at the latest Mark is a First-order Active-set Method (FOAS). FOAS is based on a nonlinear conjugate gradient for large-scale bound-constrained nonlinear optimization. The solver is ideal for very large problems (tens of thousands or more variables) where the first-order derivatives are available or are relatively cheap to estimate.
Implementations of first-order methods not only are ubiquitous and have widespread use, but they have also demonstrated to endure the challenges of ever-growing problems sizes imposed by industry. Most notable are applications in statistics, e.g. parameter calibration and nonlinear model regression, amongst many others. First-order methods and the conjugate gradient method have been a research subject for well over 50 years and continue to be improved.
Learn more here.
Figure 1: Performance profiles comparing solvers e04kf and e04dg over 114 CUTEst unconstrained NLP problems. Performance measures are: time (left) and number of gradient calls (right). For the time plot (left), the higher line indicates faster solver. For the right plot, the higher line represents fewer gradients calls.
NAG is a partner in the Performance Optimisation and Productivity Centre of Excellence (POP). POP was created with the aim of boosting the productivity of EU research and industry by providing free of charge services to advise on improving the performance of high performance computing (HPC) parallel software. Please click here to view a flyer.
To find out more about the project, please visit https://pop-coe.eu/
NAG introduced Mathieu functions to the NAG Library at its recent update (Mark 27). Mathieu functions have a range of applications in the solution of problems involving elliptic structures including propagation within elliptical waveguides, the physics of capacitor microphones and scattering from dielectric elliptical cylinders.
Computing Mathieu functions accurately can be difficult and there are many papers on the subject. Here is a demonstration, taken from a StackOverflow question, showing how Python's SciPy implementation occasionally struggles.
The NAG implementation computes the correct results as shown in the plot below:
Learn more about this work on GitHub, and for the NAG Library Mathieu function routine documentation click here.
Licensor: The Numerical Algorithms Group Ltd, registered in England and Wales (company number 1249803), whose registered office is 30 St Giles, Oxford, OX1 3LE.
The Chest Order, together with the Licence Terms and Conditions, and any exceptions listed below, create a legally binding contract between your institution, organisation or company and the Licensor. Therefore please read the terms and conditions carefully and only submit a Chest Order if its terms and conditions are acceptable to your institution, organisation or company and you have the authority to make the financial commitment shown.
The Department and Site licences are subject to the terms and conditions for the Standard Chest Licence for Software (June 2011).
Licences are of three or five years duration, commencing 1 August 2020. For sites placing orders after this date, prorating of Fees shall not apply except where the Order is to upgrade an existing Licence - in this instance please contact Chest Help.
Sites licensed until 31 July 2023 can extend their licence for a further two years from 1 August 2023 to 31 July 2025.
For the subsequent years, Sites will be invoiced three months in advance of the anniversary date of this Agreement (1 May or 1 February for "Early Bird" sites).
Chest is an Enterprise of Jisc. All Purchase orders must be made out to Jisc Services Ltd, 4 Portwall Lane, Bristol, BS1 6NB to cover all charges plus VAT.
All terms contained in a PO are expressly rejected and do not form part of the Licence or vary the Licence terms in any way.
Payments are due within thirty days of invoice date; recipients of late payments are entitled to interest in accordance with UK statutory provisions.
At the end of the Licence Period, unless a further Licence Period is entered into, Licensee must cease all use of the Licensed Product and de-install and destroy all copies in its possession.
The product(s) may be used by any Authorised User of the Licensee for Educational Purposes which includes the administration and management of the licensee’s educational and research operations. These permissions are described in the terms and conditions for the Standard Chest Licence for Software.
Students | Yes |
Academic Staff | Yes |
Non-Academic Staff | Yes |
Administration and management | Yes |
Staff home use rights | Yes |
Student home use rights | Yes |
Installation on Hosted Server | No |
Home use licences are included for all staff and students.
There are three tables below, as follows:
*Explanations of the second and third of these points can be found at the bottom of this page.
Payment terms and conditions are shown on the Terms and Conditions tab
If you prefer you can download and complete a pdf version of the Order Form and return it by email to Chest Help.
Join our mailing list for the latest news, event information and resources