Global Optimization Benchmark (GLOBe)
GLOBe is a collection of global optimization algorithms implemented in C++ and linked with Python. It also includes a set of analytical benchmark functions and a random function generator (PyGKLS) to test the performance of these algorithms.
Algorithms
- AdaLIPO+
- AdaRankOpt
- Bayesian Optimization
- CMA-ES
- Controlled Random Search
- DIRECT
- Every Call is Precious
- Multi-Level Single-Linkage
- Social Only Particle Swarm Optimization
- Langevin dynamics
- Stein Boltzmann Sampling
- Consensus Based Optimization
- Common noise variants of McKean-Vlasov dynamics
- Gradient Descent
- Multi-start Gradient Descent
- Pure Random Search
Documentation
The documentation is available at gaetanserre.fr/GLOBe.
Installation (Python ≥ 3.10)
Install the package via pip from PyPI:
pip install globe-opti
Alternatively, download the corresponding wheel file from the releases and install it with pip:
pip install globe-opti-<version>-<architecture>.whl
Build from source
Make sure you have CMake (≥ 3.28), a c++ compiler, and the eigen3 library installed. Then clone the repository and run:
pip install . -v
It should build the C++ extensions and install the package. You can also build the documentation with:
cd docs
pip install -r requirements.txt
make html
Usage
This package can be used to design a complete benchmarking framework for global optimization algorithms, testing multiple algorithms on a set of benchmark functions. See test_globe.py for an example of how to use it.
The global optimization algorithms can also be used independently. For example, to run the AdaLIPO+ algorithm on a benchmark function:
from globe.optimizers import AdaLIPO_P
from globe import create_bounds
f = lambda x: x.T @ x
opt = AdaLIPO_P(create_bounds(2, -5, 5), 300)
res = opt.minimize(f)
print(f"Optimal point: {res[0]}, Optimal value: {res[1]}")
See test_optimizers.py for more examples of how to use the algorithms.
Contributing
Contributions are welcome! Please see the CONTRIBUTING file for guidelines.
References
License
This is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
Metadata
Release files for globe-opti 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| globe_opti-0.0.11.tar.gz | 84.7 kB | Details |
Built distributions (wheels)
Total release size: 26.0 MB
Release files / globe_opti-0.0.11.tar.gz
| Download URL | globe_opti-0.0.11.tar.gz |
|---|---|
| Size | 84.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
129d9b96869d3c89bbb768501687934e8730480ef97fd1d612211188a9e4c35e
|
|
BLAKE2b-256 checksum How to use checksums |
0eaeade5549435d39e57b704d2b9757b34752e7ef0a189664034ac20646277b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp314-cp314-win_amd64.whl
| Download URL | globe_opti-0.0.11-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 884.9 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e08c9f9b69f97259cfb0569e8a0c1b12b8da16173e229df35728dd2677a6fdd9
|
|
BLAKE2b-256 checksum How to use checksums |
d9ca992eece3d967779b46e6d4c6653c0a16e6ea917487547c5dccb10ac6c812
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | globe_opti-0.0.11-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
530755ec4be9329059464037390e12ad871643803bd09d562912169714308a24
|
|
BLAKE2b-256 checksum How to use checksums |
4cf6bb32653f16f547e1749c8801fa999a202694ea5b9cabe86a1792c4fe1ca8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | globe_opti-0.0.11-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4ce8a4478b7f032c038417db263badf9212444179e71a35440613f304c967ed4
|
|
BLAKE2b-256 checksum How to use checksums |
413a4b076819de22ce374660202a4f971b34e1bcf1262e256fb58aaf6ca7ce53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp313-cp313-win_amd64.whl
| Download URL | globe_opti-0.0.11-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 869.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9be4fc6033cd5b00b0846af8cc58ef8ade3a09b9284872550df70dedb844b30e
|
|
BLAKE2b-256 checksum How to use checksums |
984ac68d6401c2693a4492c3a6aa2fa096313475d53911e547f3182d8f93b50b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | globe_opti-0.0.11-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
cdfc729fc1ad68a1f79aac1a69e97e235507cbbf2fef908ed0a5f6ac2979cc07
|
|
BLAKE2b-256 checksum How to use checksums |
c4538014f78887d031142486896c023df9e0c85c611022655e7b2b8fb8d89501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | globe_opti-0.0.11-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1f4efc460fce7c6365c3965d09e5ad70131acab0cfba2f1e876acc9847ad0af2
|
|
BLAKE2b-256 checksum How to use checksums |
64d46299d9965fd81746885c7a53ed55281ee468842d63e5833af97d37bbc79d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp312-cp312-win_amd64.whl
| Download URL | globe_opti-0.0.11-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 870.6 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
76e35213d7c69cdfbfc58fa3c3d5bf6abc68880401630b690100d81e7c4e3393
|
|
BLAKE2b-256 checksum How to use checksums |
b6b79f13331438f870beeaaa8070d9246e2679f4163f04f6dc1a2ce69e7081a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | globe_opti-0.0.11-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
646c5d1c7184c11c8a161a9a7e2f13f1cc42085bbadfa7cb5ba289bf4d2cee4d
|
|
BLAKE2b-256 checksum How to use checksums |
af04b6c427d5a61f18dad9c09520fbfdd234e396df6632178a375c99c9863d4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | globe_opti-0.0.11-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9b642a1f5dd61b8a7225197cdcd4c0d3989c42e9e4bb102e83037c0777790049
|
|
BLAKE2b-256 checksum How to use checksums |
6ff107febfce4e8c6c03de2ba65804f58c7e5a25c7b24d5685992b88c1807d13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp311-cp311-win_amd64.whl
| Download URL | globe_opti-0.0.11-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 871.5 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7705ce9d7057489524c9a69a0e537e030b4c1df88dfb8c4899997ed3723d77db
|
|
BLAKE2b-256 checksum How to use checksums |
454f605f0121c5c0ee36547f0234d612ffef6533c1812b078ee93b706a67bc5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | globe_opti-0.0.11-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8ac1c422dcc6f382109d077236f9f8780bee5af77212ad09901a1939904dbd6a
|
|
BLAKE2b-256 checksum How to use checksums |
ad569d793ca105a9419dde18471b4748ab5f28d6fdf4be8b7fa308817c14f166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | globe_opti-0.0.11-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a8bcddc04fd9a47e4441d7246a548e39ddecf6d83a5c942a5723519877aedb8a
|
|
BLAKE2b-256 checksum How to use checksums |
c25f2ee6e1a8b094da6686445c0b4e6e1a393f2559fc2520065178655a6597ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp310-cp310-win_amd64.whl
| Download URL | globe_opti-0.0.11-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 872.1 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a173a1f5f2317e13045d5cfee2f5ee95f4135d3da85788b50057c4e918554b11
|
|
BLAKE2b-256 checksum How to use checksums |
abb2b4bd720f38cd136a9380e05ff729bfe480a880eb7849e31c20833be28394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | globe_opti-0.0.11-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8a09e3cdd4be2787cc0a1f5d3f71d0b142dbfd1ca7ad3f0429a3e901206d2431
|
|
BLAKE2b-256 checksum How to use checksums |
dc65e00a2e2e81ee9bed6d4ba033081e5552e32340bfefe70719a995328c1a51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / globe_opti-0.0.11-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | globe_opti-0.0.11-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
edcce11021ff1f5a5b5c691413597a80cbad2e81a3f1397599c626548fad48b6
|
|
BLAKE2b-256 checksum How to use checksums |
e37852307455be9e9bcb5bb985e93001a1c156803865572eb7499afbd431361c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|