IOHGNBG
IOHGNBG also enables the integration of GNBG problems into IOHprofiler standards. It is provided as a library for use in the GNBG Competition 2025, with additional details available on the competition website.
As part of the IOHprofiler ecosystem, IOHGNBG is actively developed, with ongoing updates to its features and interfaces.
Installation
The minimum supported Python version is 3.10. Install IOHGNBG via pip and git:
pip install iohgnbg
Basic Usage
The following example shows how to get a benchmark GNBG problem (2025 GECCO competition):
import iohgnbg
import ioh
import os
gnbg_problem = iohgnbg.get_problem(1)
print(gnbg_problem.meta_data)
logger = ioh.logger.Analyzer(
root=os.getcwd(), # Current working directory
folder_name="AttachedLogger", # Folder to store logs
algorithm_name="None", # Name of the algorithm (can be customized)
)
# Attach the logger to the created clustering problem
gnbg_problem.attach_logger(logger)
Tutorials
Explore the following Jupyter notebooks for step-by-step tutorials on using IOHGNBG:
- Random Search Tutorial : Learn how to define a GNBG optimization problems, solve with Random Search and integrate with IOHinspector.
License
This project is licensed under a standard BSD-3 clause License. See the LICENSE file for details.
Acknowledgments
We acknowledge the foundational work on the GNBG generator proposed in the paper:
- "GNBG: A generalized and configurable benchmark generator for continuous numerical optimization" by Danial Yazdani, Mohammad Nabi Omidvar, Delaram Yazdani, Kalyanmoy Deb, and Amir H. Gandomi (arXiv:2312.07083).
The basic instances provided are from the GECCO Competition 2025. We also offer participants the possibility to use IOHprofiler to log their experiments.
Metadata
Release files for iohgnbg 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iohgnbg-0.0.2.tar.gz | 406.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iohgnbg-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 813.5 kB
Release files / iohgnbg-0.0.2.tar.gz
| Download URL | iohgnbg-0.0.2.tar.gz |
|---|---|
| Size | 406.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c1815184ffded05070be38257b5bd13eb93f4ff59fd660404ba8363ac201592
|
|
BLAKE2b-256 checksum How to use checksums |
a9b4803d18126be0ecd93ec537c2bf3f54d016cc7e35efc5ebc7da843c33707e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2025.
Transparency logRelease files / iohgnbg-0.0.2-py3-none-any.whl
| Download URL | iohgnbg-0.0.2-py3-none-any.whl |
|---|---|
| Size | 407.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bfb7b5b80b65ee26fb85445462ac35b70314ca28bb0cffd54463b7e0b58f9de2
|
|
BLAKE2b-256 checksum How to use checksums |
a0b5ecfecadda931f8a11246426f3d5a87afda1df572145084a371a0c9df92ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 16, 2025.
Transparency log