bbob-jax v1.3.0
Release v1.3.0: Registry API Update & Global Minima Verification
💥 Breaking Changes
- Registry API Update: The
registryandregistry_originalnow 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>)
- Old:
- Plotting Utilities:
plot_2dandplot_3dinbbob_jax.plottingupdated to accept the function instance directly (unpacked from the registry tuple).
🐛 Bug Fixes
- Sphere Function: Fixed
sphereimplementation inbbob.pyto correctly include thef_optoffset 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.mdto a Jupyter Notebookdocs/usage.ipynbwith updated examples. - API Updates: Documentation reflects the new
(func, f_opt)return signature.
🛠 Maintenance
- Tests:
tests/test_example.pyupdated to verify the new registry structure. - Verification: Added robust global minima verification script
tests/verify_global_minima.pythat handles complexity of internally generated optima. - Scripts:
scripts/update_plots.pyfixed to align with API changes.
Autogenerated release notes as follows:
What's Changed
- feat: Return global minimum
f_optwith BBOB functions from the regi… by @mpvanderschelling in #6
Full Changelog: v1.2.0...v1.3.0