Interface for NOMAD 4.4.0 blackbox optimization software.
Project description
NOMADLAD provides Python interface to the blackbox optimization software
NOMAD (version 4) available from https://github.com/bbopt/nomad repository.
Installation
Starting with the release 1.0.0, the latest version of the package is
available from PyPi repository.
pip install nomadlad
Acknowledgements
This package is an alternative to the PyNomadBBO package interfacing the
blackbox optimization software NOMAD.
Building (Prerequisites)
- Python 3 (tested with version 3.12.4)
- Compiled NOMAD with static libraries (tested with version 4.4.0)
- GCC release that supports at least C++17 (tested with version 14.1.1)
- Exported the NOMAD_PATH environment variable
Building (A minimal build of NOMAD)
This is a considerably condensed version of the official installation guide
adapted to the purpose of manually building this module.
(Step 1) Download and extract the v4.4.0 release of NOMAD somewhere.
wget https://github.com/bbopt/nomad/archive/refs/tags/v.4.4.0.tar.gz
tar -zxf v.4.4.0.tar.gz
(Step 2) Enter the nomad-v.4.4.0 directory
cd nomad-v.4.4.0
(Step 3) Export path to the current directory (needed for the final step)
export NOMAD_PATH=$(pwd)
(Step 3) Prepare and build the core NOMAD library.
cmake -S . -B build \
-DBUILD_INTERFACE_PYTHON=ON \
-DBUILD_EXAMPLES=OFF \
-DTEST_OPENMP=OFF
cmake --build build --config Release --clean-first --target nomadStatic --parallel
Please note that you can set --parallel to the number of cores available.
(Step 5) Compile nomadlad module.
Please note that NOMAD_PATH must be exported for this to work.
(Option A) Install directly from a tagged commit
pip install --user --upgrade \
git+https://github.com/jan-provaznik/nomadlad.git@v1.0.0
(Option B) Build from a locally cloned repository. Enter the repository first.
python -m pip wheel -w dist -- .
(Step 6) Profit.
Documentation
The documentation is left as an exercise to the reader. See help(nomadlad).
The package exports the nomadlad.minimize procedure.
The examples provided with the package are intended to serve as a tutorial.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file nomadlad-1.0.1-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d0a20b1f05733550f32a2407064acd23fc5b623ddd8ae46e1c52a6652b652b |
|
MD5 | 294c20f79f2ed6523f8d27e5efa0bf93 |
|
BLAKE2b-256 | a73bb0efe8d889629fef8c75047fdaa3cf571a53a751ebd3ce00bfce2af514be |
File details
Details for the file nomadlad-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a45480d67a8b7398bfbe475f7722a62fdd7f14cb6ff95b91aa2e73244bb9bc37 |
|
MD5 | 6cdd715fb855768b76a266d96c0db7ea |
|
BLAKE2b-256 | ea25c3f920118c8f5ed2c7e4b1eacdab74a118fd7256984567ab28de3af371cc |
File details
Details for the file nomadlad-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7ea58945a94b76cdc13fca9aa8d4bb6b1d5ccf7cfa311812135363e941dace |
|
MD5 | 13c56da7a160ef1a09a1e1f4f12aebdf |
|
BLAKE2b-256 | e5fdd92aee306ca141f6ec272fe3c8b735a3d09e0d06396aaf4b7c623a4d660f |
File details
Details for the file nomadlad-1.0.1-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 80.3 kB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8d564aab7a0ced17072cdac46047684c63c5e5cce2cf882032fc68bd4a1827 |
|
MD5 | 03579fe945ec797c53ae3ec0571fc156 |
|
BLAKE2b-256 | bd8a4bbb9198dd0a5db93cd3cd640b0229cdf975f1b8568ca10ba76bafe049f3 |
File details
Details for the file nomadlad-1.0.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30c4c2ecfc5738b8b28ef56f4e0f55d5df465a7a2f9d3a2772dd45b3a6e5e018 |
|
MD5 | 4d7ef22b872e6f2a37cb25c43c50a388 |
|
BLAKE2b-256 | 388c2fb11c41b7c28247a657e13cbec96d904a36eee7c3315d29c467cd4a919d |
File details
Details for the file nomadlad-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 101d58975a3697ac5eb89f6826e82240340b7e178783397ab7a2cdd8a7ebb76a |
|
MD5 | 5fd5b5552028be742dd6e7b06d189f9c |
|
BLAKE2b-256 | e08f17178d9178175e4c013a4e829df4921b6f11b333558d32daf10de8cf7af0 |
File details
Details for the file nomadlad-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 383068840d5b01038a46fd4415a6706cecec49b17358484bff48225c8adbc8ee |
|
MD5 | c7b799e5f7d4b196d7661805b2e96000 |
|
BLAKE2b-256 | c63783484e9239549c17ab564f737f55cbe09c0d12ff2e08fe06eff938ff1b34 |
File details
Details for the file nomadlad-1.0.1-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: nomadlad-1.0.1-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 81.4 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f563cb522974bf364dc6044c77f41ca970a8098ae2c3b2779dc82ab1cfa837 |
|
MD5 | 60bd591b87515a783cf8cfebd4560bbe |
|
BLAKE2b-256 | 67e9298e65ea0a6340cf4d28982f933d5f3520dd59b500d1553a6b2de936be53 |