Skip to main content

Optimization benchmark functions and pytest-oriented evaluation helpers.

Project description

optfunc

optfunc provides differentiable benchmark functions for unconstrained optimization experiments, along with pytest-oriented checks you can reuse when validating an optimizer against known global minima.

Install

pip install "optdunc-hazy[torch-cpu]"

Then import it with:

import optfunc

Local development

uv build --no-sources
uv run pytest

Release flow

  1. Update the package version in pyproject.toml, or run uv version <version> --frozen.
  2. Create and push a Git tag named v<version>.
  3. CNB will publish that tag to PyPI through the tag_push pipeline.

Benchmark definitions are adapted from SFU's optimization benchmark collection.

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

optdunc_hazy-0.0.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

optdunc_hazy-0.0.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file optdunc_hazy-0.0.1.tar.gz.

File metadata

  • Download URL: optdunc_hazy-0.0.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for optdunc_hazy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f06d81eee9262794329a8f9f4547cb6fddc2f8d2abe450072fcb5d40f88daea6
MD5 d7e3e5b0b024b99caea8a025e8379f05
BLAKE2b-256 d90bf7b61bee25a39d45f651d5e3312d62ee02539000949f4dc8bba24f72cf4d

See more details on using hashes here.

File details

Details for the file optdunc_hazy-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for optdunc_hazy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f68de4c08b15b9d4d81b0c19235e39ec8ba2c2a0de1332fbf470ffb3269429f
MD5 5f145a57d81f8f3fd1fd760ac36a0fd4
BLAKE2b-256 15c965c48ee16e687e61dcc3d9d605ab2e71c2883ae6538d56e27a5f31e1e890

See more details on using hashes here.

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