nimgould edited this page Jul 17, 2018 · 3 revisions

GALAHAD, a library of packages for nonlinear optimization

GALAHAD is an evolving library of modern Fortran packages for nonlinear optimization. It contains packages for general constrained and unconstrained optimization, quadratic programming, nonlinear least-squares fitting as well as those for solving a large variety of basic optimization subproblems. From 2017, the library is available as open-source software under LGPL 3.0.

Linux and OSX users wishing to install with gcc/gfortran may install GALAHAD using the Homebrew package manager.

To use GALAHAD, you will need to install three packages, ARCHDefs, GALAHAD and the HSL Archive. If you plan to use GALAHAD to solve problems written as .SIF files, you will also need the package SIFDecode. If, in addition, you plan to use the CUTEst interfaces to the GALAHAD's QP, least-squares fitting and/or regularization routines, you will need the package CUTEst; CUTEst is not necessary if you simply wish to use LANCELOT B to solve problems written as .SIF files. If you are an academic with a recognised academic email address, you may enhance the behaviour of GALAHAD by obtaining additional relevant packages from HSL itself.

To keep things simple, install all of the required packages in the same directory:

  • To download ARCHDefs using svn,

             svn checkout --username anonymous https://github.com/ralna/ARCHDefs/trunk ./archdefs

         (with a blank password if prompted), or, using git,

             git clone https://github.com/ralna/ARCHDefs ./archdefs

         or go to the web page 

              https://github.com/optimizers/archdefs-mirror/releases

         and download/unpack one of the available stable zip or tar bundles.

  • To download GALAHAD using svn,

             svn checkout --username anonymous https://github.com/ralna/GALAHAD/trunk ./galahad

         (with a blank password if prompted), or, using git,

             git clone https://github.com/ralna/GALAHAD ./galahad

  • To obtain the required HSL Archive files, go to

             http://www.hsl.rl.ac.uk/download/hslarchive-galahad/latest

         complete the download form, and obtain a zip/tar.gz bundle immediately by email.

  • To download SIFDecode using svn,

             svn checkout --username anonymous https://github.com/ralna/SIFDecode/trunk ./sifdecode

         (with a blank password if prompted), or, using git,

             git clone https://github.com/ralna/SIFDecode ./sifdecode

         or go to the web page 

             https://github.com/optimizers/sifdecode-mirror/releases

          and download/unpack one of the available stable zip or tar bundles.

  • To download CUTEst using svn,

             svn checkout --username anonymous https://github.com/ralna/CUTEst/trunk ./cutest

         (with a blank password if prompted), or, using git,

             git clone https://github.com/ralna/CUTEst ./cutest

          or go to the web page

             https://github.com/optimizers/cutest-mirror/releases

          and download/unpack one of the available stable zip or tar bundles.

  • Finally, to obtain the optional HSL files if you are an academic, go to

             http://www.hsl.rl.ac.uk/download/hsl-galahad/latest/d

         complete the download form, wait to be authorized and obtain a zip/tar.gz bundle by email.

Now follow the instructions in the ./galahad/README file.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.