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

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.14
File Size Uploaded
globe_opti-0.0.14.tar.gz 85.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for globe-opti 0.0.14
File
globe_opti-0.0.14-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
globe_opti-0.0.14-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.14-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
globe_opti-0.0.14-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
globe_opti-0.0.14-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
globe_opti-0.0.14-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
globe_opti-0.0.14-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
globe_opti-0.0.14-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
globe_opti-0.0.14-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
globe_opti-0.0.14-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
globe_opti-0.0.14-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.14-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
globe_opti-0.0.14-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
globe_opti-0.0.14-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.14-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.14.tar.gz

Download URL globe_opti-0.0.14.tar.gz
Size 85.7 kB
Tags Source
SHA-256 checksum
How to use checksums
53245a4edf8f608927fabb7c0a4c9305601670d9bf82c9046a3ca88cf3c0ab13
BLAKE2b-256 checksum
How to use checksums
369aeed2fe7c0dbba0a9ec3f0f6fcbe8f13cab22ddccac1dedaefd41c46d039a
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.14-cp314-cp314-win_amd64.whl

Download URL globe_opti-0.0.14-cp314-cp314-win_amd64.whl
Size 918.4 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
24eba98f84a6d49c5d60bfec4d019423bcc9863d44cac09a4726db2bb1b677b6
BLAKE2b-256 checksum
How to use checksums
94b5aaa476b921b070a75f0f3c614c8328c28404fa1e2ed9c71d294fdd1a9c3e
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.14-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.14-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
d8fd399b2320fc6bc2f442fd9c8e7fac2c33ef7bd767159b8d0994955b228150
BLAKE2b-256 checksum
How to use checksums
798520f51912f730e282a5e16db757b83e93c85197cb2461bcc79d0ce6971985
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.14-cp314-cp314-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.14-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
92fbc93333cf8327aa923ed21319e076abfb6357aae2286d4ea8c1782465df90
BLAKE2b-256 checksum
How to use checksums
85245c36ddb8cf14902aac88b19512d65d95ee331c0efc2e222bf8c80a6c5213
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.14-cp313-cp313-win_amd64.whl

Download URL globe_opti-0.0.14-cp313-cp313-win_amd64.whl
Size 902.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b302094d90c602e0eb31d12616c82428f7660698121cd5f39420970fcffacad0
BLAKE2b-256 checksum
How to use checksums
8db25dee725cefef5e28a56f51887ddcf0870cc6f14715f0aa8e5575dad699c7
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.14-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.14-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
591d02131a14e1f9ac834d6974fe6ffb191ad7a65f94da4d13c203ccb2ead3bf
BLAKE2b-256 checksum
How to use checksums
bf158952159741710e1d75e2f6fcaf28ac2a177d8a570e80ac87579485d93520
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.14-cp313-cp313-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.14-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
bdd1507bdf497bfb50dacbc7881776fd2c9cf0a7ebbf2989f667f4c26b6f39d7
BLAKE2b-256 checksum
How to use checksums
0d4d611d872e3c5f8994641e1af0f55f961e349ae492115dfc2607d8b3d12275
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.14-cp312-cp312-win_amd64.whl

Download URL globe_opti-0.0.14-cp312-cp312-win_amd64.whl
Size 903.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
b2bbf0a29312e2ea418eb95a55372f16303d312336d8fa8cc4b7d83a7cb6840b
BLAKE2b-256 checksum
How to use checksums
55f7fd565618aec182a34321e16c56c6d079938b75044cb0f38d4e82aca38a4a
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.14-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.14-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
f46cadd4e35526637dd369dbb8786946649d22895c5b5e6daf39ded3c25f71ad
BLAKE2b-256 checksum
How to use checksums
44d59a1645d06e21c0ba18e529570d46aa5cbe684a56e2b01a22c1c6a999f2e7
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.14-cp312-cp312-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.14-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
fb56c1eaf16e7d0f0f8ec7904a7fd98a19f4715c3b68a4e39a3cfc956d7008b0
BLAKE2b-256 checksum
How to use checksums
68b73902077ccf58f356a30af7db27acf3c97e50dcd410242c222aa4286a4cd6
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.14-cp311-cp311-win_amd64.whl

Download URL globe_opti-0.0.14-cp311-cp311-win_amd64.whl
Size 901.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5be58d9405ee1191f9b71b07adcea9b7d28e7b241d71a527cda9f3cd84de9223
BLAKE2b-256 checksum
How to use checksums
c756f21d157d913b0f97eb38bc19f82f0caf59b63cf304862529bce27afcf991
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.14-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.14-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
b910b7e25afc440e2d8da3ba9ee764e7b582ef6421bb130aec3223c988e8360a
BLAKE2b-256 checksum
How to use checksums
c54c4f107550c88e6ffec08bed5776ddb98f28508b3300cfb7480ec1ffe61537
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.14-cp311-cp311-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.14-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
e51579a2fc5169ac1cad12d87f29aefb61257c269d27846b7217907e84e74e26
BLAKE2b-256 checksum
How to use checksums
54ba2885c17757b9b1eb2dd4e0316bb26c18a0d6588acb8dd5c9c0137864c55b
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.14-cp310-cp310-win_amd64.whl

Download URL globe_opti-0.0.14-cp310-cp310-win_amd64.whl
Size 902.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
1ea5cf99da6d23392c4bd5c1f8e8b8eb150ef59377589e9e8c89f73c0f2d4712
BLAKE2b-256 checksum
How to use checksums
8a15d0ed439ae5c7f066792f829273f95d043d992f31a1308edc885e073daf5d
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.14-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL globe_opti-0.0.14-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
c61451cf72625825de349524fa79c9a1683babfa2d64ef8f794526ff784d8d3c
BLAKE2b-256 checksum
How to use checksums
53cf3292a1fa1d00ffc914a79c2e4d2e17004f23e48f6914a78bdf7ddd9cc2c8
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.14-cp310-cp310-macosx_11_0_arm64.whl

Download URL globe_opti-0.0.14-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
1f4ba6e72bb2b250f2884331ff73b5fc146979545edac9f12670abfaa411c11d
BLAKE2b-256 checksum
How to use checksums
827e755b53c1ea0c1482b5f11f79157063f51990a9b5ff1ce5416265fd1d65a2
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.14 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