Skip to main content

Global Optimization Benchmark (GLOBe)

CI CI PyPI version Code style: black

GLOBe Logo

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

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.13

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

Source distribution (sdist)

Source distribution for globe-opti 0.0.13
File Size Uploaded
globe_opti-0.0.13.tar.gz 85.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for globe-opti 0.0.13
File
globe_opti-0.0.13-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
globe_opti-0.0.13-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
globe_opti-0.0.13-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
globe_opti-0.0.13-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
globe_opti-0.0.13-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
globe_opti-0.0.13-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
globe_opti-0.0.13-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
globe_opti-0.0.13-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
globe_opti-0.0.13-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
globe_opti-0.0.13-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
globe_opti-0.0.13-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
globe_opti-0.0.13-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
globe_opti-0.0.13-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
globe_opti-0.0.13-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
globe_opti-0.0.13-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 26.5 MB

Release files / globe_opti-0.0.13.tar.gz

Download URL globe_opti-0.0.13.tar.gz
Size 85.6 kB
Tags Source
SHA-256 checksum
How to use checksums
98a318fcec3ebef47934aeee6a87a13c48ce43063e4a7b3c6d95a81934bd101b
BLAKE2b-256 checksum
How to use checksums
4db96c8888351a17875ee90635aac57d6066ccc4e43f43aa3b2b1afd821f81ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp314-cp314-win_amd64.whl

Download URL globe_opti-0.0.13-cp314-cp314-win_amd64.whl
Size 918.2 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
7698f052198dcf5224550cab6c3e686c0af6380d05c8953ddc985f97cbd54466
BLAKE2b-256 checksum
How to use checksums
f109ea6b514d04848e2cc7c65a29eba1e4c5ed356964586c558d5970f4b4d1fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.13-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
58ca3cb238c9213d707b4fef375da1677596103398eb49fc5e5db22f793585b2
BLAKE2b-256 checksum
How to use checksums
9a43f52f299f190d076601231c01aa15059920a8c8478c2a762d30a235089cc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp314-cp314-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.13-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
235eb3b32f2f4acac6175850deb7ff9dd55defbeeea192e681ef9044f374c2c2
BLAKE2b-256 checksum
How to use checksums
a5fbc599431964536e6485898f3765a0f341809aa4af97e52421c46d016a9aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp313-cp313-win_amd64.whl

Download URL globe_opti-0.0.13-cp313-cp313-win_amd64.whl
Size 902.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
34d3c1b605ab004b69a4446c1a3cd69dc70ee97c0dfeb42d2ead6e0e88190f6e
BLAKE2b-256 checksum
How to use checksums
a23900ad02dca9d08c0f41d232fa563e2cb857286ed71a5685201012efe246d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.13-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
ab19daf816ebdc376183470c0fff07372519aeecc6161c37537e0e67ac6bacc6
BLAKE2b-256 checksum
How to use checksums
d2c3f42a8fdb6b278453706108ba1e6b1503564408c2c8cb88daf9e418998e0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp313-cp313-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.13-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
d1aac691cf9221d123ecddd6d8dec2c8aa5af7b0c64c4ed6f7c2b3cfbf3d33f3
BLAKE2b-256 checksum
How to use checksums
e84fa845efcb75577d1f23b4ea98d85921fcf567c9da851214d80e862a61d682
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp312-cp312-win_amd64.whl

Download URL globe_opti-0.0.13-cp312-cp312-win_amd64.whl
Size 903.0 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
59d0d29154ef543b7bad52a7f91661159cb5b7d3d661c41aec3b2a89ff767102
BLAKE2b-256 checksum
How to use checksums
c68547d740b9524125422bab781fdcb3f761a5ed40f9f6a213141b6ba6a14096
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.13-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
4dce8317debe16a39252c5294265952544d3bc7a20f2587beabbca8689250edf
BLAKE2b-256 checksum
How to use checksums
e224206e0714eba525dcb6c8985ebb8ce126bfb241760686fb6dccb4a406bcf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp312-cp312-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.13-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
e218fea1718536ad3a27dd84654df7e71cdc60c4ac0a097f37dc8d3eb5ed79a0
BLAKE2b-256 checksum
How to use checksums
8c923b0d29915ccd588c39b4be06f5d5858cb9160ce5f38057576cd9a003e79a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp311-cp311-win_amd64.whl

Download URL globe_opti-0.0.13-cp311-cp311-win_amd64.whl
Size 901.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8100d8c08f8c41176489a6887ebadb493da72e2da944722cd0266943a17a594c
BLAKE2b-256 checksum
How to use checksums
64940af97fc807771c0241f2dae3e1f776c1dd4117f367522f4f6b4488a9ecd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.13-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
eca45212899a0a1eb5fa580246471a160eecadf9ab30f5a642d2411a292e8878
BLAKE2b-256 checksum
How to use checksums
be37e8bfcbdd3e8c108648b0a520075b3f08f83788a620c803069027bd255e50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp311-cp311-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.13-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
a48c8517f309b6cd75aefd83c6373a155b8286a7050258ea60e2374a0844a94e
BLAKE2b-256 checksum
How to use checksums
5d323a9a773a43587894c0672d9e3affb0c7f2557662d668f95183a9a79142cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp310-cp310-win_amd64.whl

Download URL globe_opti-0.0.13-cp310-cp310-win_amd64.whl
Size 902.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
ee88d636c1c7b5bded3c3c565a979e8ad65adf6ea567e2f5dd5bb8bdf291d645
BLAKE2b-256 checksum
How to use checksums
50946cdcde3901a15b64761254086d42f051d85618b891d9509a86f2ab4d379c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.13-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
a7b622b968afbad54996c30420d3e57401043ff90534262e74ab90258913ef7d
BLAKE2b-256 checksum
How to use checksums
c476f038f19a7daea32874996723b0821f6366d958d15f393b136472bee260c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / globe_opti-0.0.13-cp310-cp310-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.13-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
fa1d70cae8cf485ee3a4283346abb130518339e01688f941428900fac8a64183
BLAKE2b-256 checksum
How to use checksums
6c86452efb157ff6b43cc8dd286bb8e69e0e0fea4a9df97dfcfdeb8ed2ecf076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release history Release notifications | RSS feed

This release

0.0.13 This release

16 release files

0.0.9

16 release files

0.0.8

16 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