Skip to main content

Package for IOH GNBC problems

Project description

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:

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

Project details


Download files

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

Source Distribution

iohgnbg-0.0.2.tar.gz (406.3 kB view details)

Uploaded Source

Built Distribution

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

iohgnbg-0.0.2-py3-none-any.whl (407.2 kB view details)

Uploaded Python 3

File details

Details for the file iohgnbg-0.0.2.tar.gz.

File metadata

  • Download URL: iohgnbg-0.0.2.tar.gz
  • Upload date:
  • Size: 406.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for iohgnbg-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0c1815184ffded05070be38257b5bd13eb93f4ff59fd660404ba8363ac201592
MD5 de3bdfb95f82a7b001327de62a163457
BLAKE2b-256 a9b4803d18126be0ecd93ec537c2bf3f54d016cc7e35efc5ebc7da843c33707e

See more details on using hashes here.

Provenance

The following attestation bundles were made for iohgnbg-0.0.2.tar.gz:

Publisher: python-publish.yml on IOHprofiler/IOHGNBG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iohgnbg-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: iohgnbg-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 407.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for iohgnbg-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bfb7b5b80b65ee26fb85445462ac35b70314ca28bb0cffd54463b7e0b58f9de2
MD5 6c459a411d7d8bd077785281cb8eb228
BLAKE2b-256 a0b5ecfecadda931f8a11246426f3d5a87afda1df572145084a371a0c9df92ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for iohgnbg-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on IOHprofiler/IOHGNBG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page