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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

globe_opti-0.0.11.tar.gz (84.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

globe_opti-0.0.11-cp314-cp314-win_amd64.whl (884.9 kB view details)

Uploaded CPython 3.14Windows x86-64

globe_opti-0.0.11-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

globe_opti-0.0.11-cp314-cp314-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

globe_opti-0.0.11-cp313-cp313-win_amd64.whl (869.8 kB view details)

Uploaded CPython 3.13Windows x86-64

globe_opti-0.0.11-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

globe_opti-0.0.11-cp313-cp313-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

globe_opti-0.0.11-cp312-cp312-win_amd64.whl (870.6 kB view details)

Uploaded CPython 3.12Windows x86-64

globe_opti-0.0.11-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

globe_opti-0.0.11-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

globe_opti-0.0.11-cp311-cp311-win_amd64.whl (871.5 kB view details)

Uploaded CPython 3.11Windows x86-64

globe_opti-0.0.11-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

globe_opti-0.0.11-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

globe_opti-0.0.11-cp310-cp310-win_amd64.whl (872.1 kB view details)

Uploaded CPython 3.10Windows x86-64

globe_opti-0.0.11-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

globe_opti-0.0.11-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file globe_opti-0.0.11.tar.gz.

File metadata

  • Download URL: globe_opti-0.0.11.tar.gz
  • Upload date:
  • Size: 84.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for globe_opti-0.0.11.tar.gz
Algorithm Hash digest
SHA256 129d9b96869d3c89bbb768501687934e8730480ef97fd1d612211188a9e4c35e
MD5 2c72654be6880d28859425b0719ad8f3
BLAKE2b-256 0eaeade5549435d39e57b704d2b9757b34752e7ef0a189664034ac20646277b3

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e08c9f9b69f97259cfb0569e8a0c1b12b8da16173e229df35728dd2677a6fdd9
MD5 03c8e5f5b6f772b677f20a26c5c02d31
BLAKE2b-256 d9ca992eece3d967779b46e6d4c6653c0a16e6ea917487547c5dccb10ac6c812

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 530755ec4be9329059464037390e12ad871643803bd09d562912169714308a24
MD5 027e978a4aa6a6582718f62c4902fe0b
BLAKE2b-256 4cf6bb32653f16f547e1749c8801fa999a202694ea5b9cabe86a1792c4fe1ca8

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4ce8a4478b7f032c038417db263badf9212444179e71a35440613f304c967ed4
MD5 0ffd85cd1367cc3530c23f37043daa64
BLAKE2b-256 413a4b076819de22ce374660202a4f971b34e1bcf1262e256fb58aaf6ca7ce53

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9be4fc6033cd5b00b0846af8cc58ef8ade3a09b9284872550df70dedb844b30e
MD5 7cc38de6dcd6a32951518b01a5423c5c
BLAKE2b-256 984ac68d6401c2693a4492c3a6aa2fa096313475d53911e547f3182d8f93b50b

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cdfc729fc1ad68a1f79aac1a69e97e235507cbbf2fef908ed0a5f6ac2979cc07
MD5 b619b57861ab9367fb4aeba5827db0da
BLAKE2b-256 c4538014f78887d031142486896c023df9e0c85c611022655e7b2b8fb8d89501

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f4efc460fce7c6365c3965d09e5ad70131acab0cfba2f1e876acc9847ad0af2
MD5 09b9a043f368b53c89d7d8650466d976
BLAKE2b-256 64d46299d9965fd81746885c7a53ed55281ee468842d63e5833af97d37bbc79d

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 76e35213d7c69cdfbfc58fa3c3d5bf6abc68880401630b690100d81e7c4e3393
MD5 c6cb24415378e55c0ec86df687aa0c9f
BLAKE2b-256 b6b79f13331438f870beeaaa8070d9246e2679f4163f04f6dc1a2ce69e7081a0

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 646c5d1c7184c11c8a161a9a7e2f13f1cc42085bbadfa7cb5ba289bf4d2cee4d
MD5 205193f6220bffdfeee9e5ff6adf780f
BLAKE2b-256 af04b6c427d5a61f18dad9c09520fbfdd234e396df6632178a375c99c9863d4d

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b642a1f5dd61b8a7225197cdcd4c0d3989c42e9e4bb102e83037c0777790049
MD5 0c8eabb69ad8dc17aeb37a804d6e2a16
BLAKE2b-256 6ff107febfce4e8c6c03de2ba65804f58c7e5a25c7b24d5685992b88c1807d13

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7705ce9d7057489524c9a69a0e537e030b4c1df88dfb8c4899997ed3723d77db
MD5 ac00340ed76e7aaa8cc06f97e5a6df27
BLAKE2b-256 454f605f0121c5c0ee36547f0234d612ffef6533c1812b078ee93b706a67bc5f

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ac1c422dcc6f382109d077236f9f8780bee5af77212ad09901a1939904dbd6a
MD5 611edf89e4e1b3dce5d16bb00a8d913b
BLAKE2b-256 ad569d793ca105a9419dde18471b4748ab5f28d6fdf4be8b7fa308817c14f166

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a8bcddc04fd9a47e4441d7246a548e39ddecf6d83a5c942a5723519877aedb8a
MD5 6eee1e20773ff4f16b9628fbce8a76aa
BLAKE2b-256 c25f2ee6e1a8b094da6686445c0b4e6e1a393f2559fc2520065178655a6597ed

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a173a1f5f2317e13045d5cfee2f5ee95f4135d3da85788b50057c4e918554b11
MD5 327979b0f7888102cc466c0dca09c346
BLAKE2b-256 abb2b4bd720f38cd136a9380e05ff729bfe480a880eb7849e31c20833be28394

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a09e3cdd4be2787cc0a1f5d3f71d0b142dbfd1ca7ad3f0429a3e901206d2431
MD5 7445660e7527f0b1f834fe011322131a
BLAKE2b-256 dc65e00a2e2e81ee9bed6d4ba033081e5552e32340bfefe70719a995328c1a51

See more details on using hashes here.

File details

Details for the file globe_opti-0.0.11-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for globe_opti-0.0.11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 edcce11021ff1f5a5b5c691413597a80cbad2e81a3f1397599c626548fad48b6
MD5 bbe00ee6e81ce97bdb4b43d10c6fe81d
BLAKE2b-256 e37852307455be9e9bcb5bb985e93001a1c156803865572eb7499afbd431361c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.11 This release

16 files

0.0.10

16 files

0.0.9

16 files

0.0.8

16 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