Skip to content

bbob-jax v1.3.0

Choose a tag to compare

@github-actions github-actions released this 21 Jan 09:29
· 44 commits to main since this release
7b21d58

Release v1.3.0: Registry API Update & Global Minima Verification

💥 Breaking Changes

  • Registry API Update: The registry and registry_original now return a tuple (func, f_opt) instead of just the function instance.
    • Old: fn = registry["sphere"](<ndim=2, key=key>)
    • New: fn, f_opt = registry["sphere"](<ndim=2, key=key>)
  • Plotting Utilities: plot_2d and plot_3d in bbob_jax.plotting updated to accept the function instance directly (unpacked from the registry tuple).

🐛 Bug Fixes

  • Sphere Function: Fixed sphere implementation in bbob.py to correctly include the f_opt offset term.
  • Global Minima Verification: All functions verified to reach their true global minimum value (f_opt) at the correct input (x_opt).

📚 Documentation

  • Interactive Usage Guide: Converted docs/usage.md to a Jupyter Notebook docs/usage.ipynb with updated examples.
  • API Updates: Documentation reflects the new (func, f_opt) return signature.

🛠 Maintenance

  • Tests: tests/test_example.py updated to verify the new registry structure.
  • Verification: Added robust global minima verification script tests/verify_global_minima.py that handles complexity of internally generated optima.
  • Scripts: scripts/update_plots.py fixed to align with API changes.

Autogenerated release notes as follows:

What's Changed

  • feat: Return global minimum f_opt with BBOB functions from the regi… by @mpvanderschelling in #6

Full Changelog: v1.2.0...v1.3.0