Skip to main content

GALAHAD codecov

GALAHAD is a library of modern Fortran packages for nonlinear optimization with C, Python, Julia and MATLAB interfaces. It contains packages for general constrained and unconstrained optimization, linear and quadratic programming, nonlinear least-squares fitting and global optimization, as well as those for solving a large variety of basic optimization subproblems.

Documentation

More information on the packages in GALAHAD can be found at https://www.galahad.rl.ac.uk.

All major GALAHAD packages are documented in Fortran, C, Python and Julia:

Help files are provided for MATLAB functions.

Installation

Precompiled Fortran/C libraries and executables

We provide precompiled GALAHAD libraries and executables in the releases tab for Linux (x64 and aarch64), macOS (x64 and aarch64), and Windows (x64).

On some platforms, the dynamic linker needs to know where to look for libraries at runtime. You might need to set the following environment variables:

  • LD_LIBRARY_PATH on Linux
  • DYLD_LIBRARY_PATH or DYLD_FALLBACK_LIBRARY_PATH on macOS
  • PATH on Windows

These variables should include the directory where you extracted the libraries. For all platforms, the environment variable PATH is needed to locate the executables.

Precompiled Julia Interface

We provide a precompiled Julia interface for most platforms, please see GALAHAD.jl and the associated documentation.

Precompiled Python Interface

We provide a precompiled Python interface for Linux, macOS (Intel & Silicon), and Windows that can be installed from PyPI:

pip install galahad-optrove

Installation from source

GALAHAD can be installed from source using the Meson build system (all commands below are to be run from the top of the source tree):

meson setup builddir -Dtests=true
meson compile -C builddir
meson install -C builddir
meson test -C builddir

For more comprehensive Meson options (-Doption=value), including how to specify paths to various libraries and packages, please see meson_options.txt and README.meson. We give some examples below for the most important Meson options.

GALAHAD supports a large number of optional software packages for enhanced functionality, the most important of these are:

BLAS/LAPACK

By default GALAHAD will build with OpenBLAS if it can locate it (otherwise you may need to pass the OpenBLAS paths via the libblas_path and liblapack_path options to meson setup). You may also wish to use a vendor-specific BLAS/LAPACK implementation such as one of the following:

Please see README.meson for instructions on how to tell Meson where to find these optional dependencies.

Linear Solvers

By default GALAHAD will use its SLBLT package, other alternative sparse linear solvers are:

Please see README.meson for instructions on how to tell Meson where to find these optional dependencies.

If you use the precompiled GALAHAD libraries, the MUMPS libraries are also provided. For libHSL, you can replace the dummy shared libraries libhsl_subset and libhsl_subset_64 shipped with GALAHAD with the official ones provided by the precompiled libHSL libraries. This requires at least GALAHAD v5.6.0 and libHSL v2026.8.4.

CUTEst Test Collection

GALAHAD can use optimization test problems from the CUTEst test collection. For example, to link GALAHAD with double precision CUTEst:

meson setup builddir -Dlibcutest_path=/path/to/CUTEst/lib -Dlibcutest_modules=/path/to/CUTEst/modules -Dsingle=false
meson compile -C builddir
meson install -C builddir

GALAHAD can similarly be linked with the single or quadruple precision variants of CUTEst. For more details, refer to the file meson_options.txt.

Note: only the shared libraries of CUTEst are supported when compiling GALAHAD with Meson. Please follow the instructions to set up CUTEst accordingly.

C Interface

To install the C interface using the Meson build system:

meson setup builddir -Dciface=true
meson compile -C builddir
meson install -C builddir
meson test -C builddir --suite=C

Python Interface

To install the Python interface using the Meson build system:

meson setup builddir -Dpythoniface=true -Dpython.install_env=auto
meson compile -C builddir
meson install -C builddir
meson test -C builddir --suite=Python

Julia Interface

Please see GALAHAD.jl and the associated documentation.

MATLAB Interface

Please see README.matlab and the instructions provided there.

Integrated installation via make

GALAHAD can also be installed via the make command as part of the Optrove optimization eco-system that also includes CUTEst, SIFDecode and ARCHDefs. This has the advantage of providing scripts to run CUTEst examples directly from GALAHAD and allowing calls from Matlab, but suffers from considerably longer build times.

To use this variant, follow the instructions in the GALAHAD wiki.

Metadata

Release files for galahad-optrove 5.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galahad-optrove 5.5.2
File Size Uploaded
galahad_optrove-5.5.2.tar.gz 37.5 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for galahad-optrove 5.5.2
File
galahad_optrove-5.5.2-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
galahad_optrove-5.5.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
galahad_optrove-5.5.2-cp314-cp314-macosx_15_0_x86_64.whl CPython 3.14 CPython 3.14 macOS 15.0+ x86-64 Details
galahad_optrove-5.5.2-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details
galahad_optrove-5.5.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
galahad_optrove-5.5.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
galahad_optrove-5.5.2-cp313-cp313-macosx_15_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 15.0+ x86-64 Details
galahad_optrove-5.5.2-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details
galahad_optrove-5.5.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
galahad_optrove-5.5.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
galahad_optrove-5.5.2-cp312-cp312-macosx_15_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 15.0+ x86-64 Details
galahad_optrove-5.5.2-cp312-cp312-macosx_15_0_arm64.whl CPython 3.12 CPython 3.12 macOS 15.0+ ARM64 Details
galahad_optrove-5.5.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
galahad_optrove-5.5.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
galahad_optrove-5.5.2-cp311-cp311-macosx_15_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 15.0+ x86-64 Details
galahad_optrove-5.5.2-cp311-cp311-macosx_15_0_arm64.whl CPython 3.11 CPython 3.11 macOS 15.0+ ARM64 Details
galahad_optrove-5.5.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
galahad_optrove-5.5.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
galahad_optrove-5.5.2-cp310-cp310-macosx_15_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 15.0+ x86-64 Details
galahad_optrove-5.5.2-cp310-cp310-macosx_15_0_arm64.whl CPython 3.10 CPython 3.10 macOS 15.0+ ARM64 Details

Total release size: 364.0 MB

Release files / galahad_optrove-5.5.2.tar.gz

Download URL galahad_optrove-5.5.2.tar.gz
Size 37.5 MB
Tags Source
SHA-256 checksum
How to use checksums
3ed1b87d2517c698921075fe349dd86b72fda82e20ac85777f351883cf6fde8a
BLAKE2b-256 checksum
How to use checksums
a28a3d4fbc32ab93473e52f02a25698beab3027bd0031ce74f38ff20b6cf92d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp314-cp314-win_amd64.whl

Download URL galahad_optrove-5.5.2-cp314-cp314-win_amd64.whl
Size 14.8 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
771b9ca208313ad085173c174f5c1f9a058c23771cfeeeb37e7feb32203fc77c
BLAKE2b-256 checksum
How to use checksums
b76b8df0343fd319c0d7711db9f7890091efe98c40c71573667246b71ac3a831
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL galahad_optrove-5.5.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9e3db8f7a2890f5461f4209644119fc1d91f236e2c8d5926185aa64c69935ea2
BLAKE2b-256 checksum
How to use checksums
95305366f3afefa8f9077c61722e45be053af761c126f13b2132bdd239c979fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp314-cp314-macosx_15_0_x86_64.whl

Download URL galahad_optrove-5.5.2-cp314-cp314-macosx_15_0_x86_64.whl
Size 14.0 MB
Tags CPython 3.14 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
0304ebe735bdf266d355f7facf4d98906d93cbdba2bbaf28fc487f9268d94e71
BLAKE2b-256 checksum
How to use checksums
b8bc0add087b8abdf62f07a5f2fb0684ccdb2e500b5984b07334f77ef7ec4dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp314-cp314-macosx_15_0_arm64.whl

Download URL galahad_optrove-5.5.2-cp314-cp314-macosx_15_0_arm64.whl
Size 12.9 MB
Tags CPython 3.14 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
fa8b55dd179b5e9bca14419020c06f266993b849040265806d51f77d8d76e362
BLAKE2b-256 checksum
How to use checksums
0bbda9d91e65c240ec69cb5c4d82ab30f2a53e052033dd02717f0ac3fcb6bf63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp313-cp313-win_amd64.whl

Download URL galahad_optrove-5.5.2-cp313-cp313-win_amd64.whl
Size 14.4 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
90f313067f7317387c0a4aa54c98d82a88e40f62ffee49ec811d44501ff15edc
BLAKE2b-256 checksum
How to use checksums
781f1941db30214bcbd869c6e773d38779f35c67ef9639998ac14d87d55491e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL galahad_optrove-5.5.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d857f85788e53bbfa7db8c092fb32a9e540bdee8491666afd7003f228ba66973
BLAKE2b-256 checksum
How to use checksums
154f1cf97dd94d2d069fbed124ce1291084b1af3f64f3d4381dc1b269e000e03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp313-cp313-macosx_15_0_x86_64.whl

Download URL galahad_optrove-5.5.2-cp313-cp313-macosx_15_0_x86_64.whl
Size 14.0 MB
Tags CPython 3.13 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
a7c6bee99bce7ee0cf24adb7bf47ba7c9bf82d51655fa9a3044aa7d7d138de63
BLAKE2b-256 checksum
How to use checksums
a21a67cef3e7a03043455ee38f9becfa1962f111c238596861b09fff13498dec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp313-cp313-macosx_15_0_arm64.whl

Download URL galahad_optrove-5.5.2-cp313-cp313-macosx_15_0_arm64.whl
Size 12.9 MB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
f0079788580bc233c548efc669b10cecd58909ba9e62c32d95be86a42bf1e8ef
BLAKE2b-256 checksum
How to use checksums
9b9de05fb074f043ee4708023c1f2abda01d2ca83fc4edd00c2d75b6ed6ff71c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp312-cp312-win_amd64.whl

Download URL galahad_optrove-5.5.2-cp312-cp312-win_amd64.whl
Size 14.4 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0a7381f7d6b6f4ea8fb9e192b838b142f6fd81e31743f0dfc5387610cc7771ef
BLAKE2b-256 checksum
How to use checksums
45e6f6e65df5b355651b54d7294e6c965954524f3b0df1da1e5397bdef8fb793
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL galahad_optrove-5.5.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
13defe738c72896ae1969a03a1f40162afdaa1ecc2833f87f677d435b098ebbb
BLAKE2b-256 checksum
How to use checksums
48b0b5d6f4f9cc3be69743a58a30ddc4e400a18d27fbe571018ebc8f0e16da03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp312-cp312-macosx_15_0_x86_64.whl

Download URL galahad_optrove-5.5.2-cp312-cp312-macosx_15_0_x86_64.whl
Size 14.0 MB
Tags CPython 3.12 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
2420b3ab04c3b02ccaa6d1a51376dccf64398124bdf806cfc8c18c47b7913259
BLAKE2b-256 checksum
How to use checksums
0017bd4d80c4fe892af3440ade77113de491d9618b82a7536145fdf48e2c35f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp312-cp312-macosx_15_0_arm64.whl

Download URL galahad_optrove-5.5.2-cp312-cp312-macosx_15_0_arm64.whl
Size 12.9 MB
Tags CPython 3.12 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
4097a2deb244cfeb5ffdc3d4d30f7268f26cb26a6d8a970f1657bc1492d01fc1
BLAKE2b-256 checksum
How to use checksums
458cc8a009b5d96d58e3e89eb1e4bf5de8d543bf2a5882802571846efcf65813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp311-cp311-win_amd64.whl

Download URL galahad_optrove-5.5.2-cp311-cp311-win_amd64.whl
Size 14.4 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
247fd9c78b06f3b9dc096c86be8aac2242d71ca6f7da9fff41536f989c4f149c
BLAKE2b-256 checksum
How to use checksums
1377ffe45cd2a367f06c52c35221d8a00f37ff16cac05ac24008ec9acde977b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL galahad_optrove-5.5.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9158eb147025b1930eb86f101540df00cfd50cb96935cafd5570c4cc2c203e15
BLAKE2b-256 checksum
How to use checksums
c4675d33fa75fe8f2c204b2f6d9313543d78840622514299aa035825663369ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp311-cp311-macosx_15_0_x86_64.whl

Download URL galahad_optrove-5.5.2-cp311-cp311-macosx_15_0_x86_64.whl
Size 14.0 MB
Tags CPython 3.11 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
104cb6b9e71886bbfe9f1dca302f346784acbb1d5e2c8ac2a83d33275bde892f
BLAKE2b-256 checksum
How to use checksums
0be177b0f88bc27ea005b0623dbc1e62ec5123ef63b54d0a545a9257b5413024
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp311-cp311-macosx_15_0_arm64.whl

Download URL galahad_optrove-5.5.2-cp311-cp311-macosx_15_0_arm64.whl
Size 12.9 MB
Tags CPython 3.11 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
f5382be02f1a2fcf7ac89af4eba4acefad94df84f1ecc45ec23267cdf7c42dec
BLAKE2b-256 checksum
How to use checksums
13640a759d1e363e072e704d5d58471a8ded037e702e1d62a4c0a14270dbc238
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp310-cp310-win_amd64.whl

Download URL galahad_optrove-5.5.2-cp310-cp310-win_amd64.whl
Size 14.4 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
b3c36fe532c9b7058687c887ddd04418c2e37820237a37dc0ba4b510c5fdb98f
BLAKE2b-256 checksum
How to use checksums
61a4c42b9f94c9f45d868c48f0af4994df891674b5e96e8629260209143da00f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL galahad_optrove-5.5.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 24.0 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
34326061324d0701a833000ee75662f487b6e409fa4ac83ee7bb3b3598af5c8a
BLAKE2b-256 checksum
How to use checksums
31e69093c95e8aaba132135d1b41d7ecece792c0a8db82a86e25d8662791fcc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp310-cp310-macosx_15_0_x86_64.whl

Download URL galahad_optrove-5.5.2-cp310-cp310-macosx_15_0_x86_64.whl
Size 14.0 MB
Tags CPython 3.10 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
2744afa80dff2776691866403185ddee977ae392a79969887b32757b5d560a37
BLAKE2b-256 checksum
How to use checksums
e76987ffac0f09717e4be2d8419228f9284109189d23b337ab5e94e848b46453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / galahad_optrove-5.5.2-cp310-cp310-macosx_15_0_arm64.whl

Download URL galahad_optrove-5.5.2-cp310-cp310-macosx_15_0_arm64.whl
Size 12.8 MB
Tags CPython 3.10 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
8609fa78e3bf86738df97bdd036a6ffd28bdb60a518804aa0bea0221e2ae85ea
BLAKE2b-256 checksum
How to use checksums
761fa2de39698d3c9c1c67374bed0b9f04c7546e833cdbc53edaafb4d2421062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

5.5.2 This release

21 release files

5.5.1

17 release files

5.5.0

17 release files

5.4.0

17 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page