Skip to main content

Opytimark: Python Optimization Benchmarking Functions

Latest release CI Documentation Open issues License

Opytimark provides ready-to-use benchmark functions for evaluating optimization algorithms.

Opytimark supports Python 3.6 or newer. Read the full API reference at opytimark.readthedocs.io.

Installation

pip install opytimark

Usage

import numpy as np

from opytimark.markers.n_dimensional import Sphere

value = Sphere()(np.array([1.0, 2.0, 3.0]))
print(value)

More examples are available in examples/.

Development

Install uv, clone the repository, then run:

uv sync --locked
uv run pytest
uv run pre-commit run --all-files
uv run --locked --group docs sphinx-build -W --keep-going -b html docs docs/_build/html
uv build

Citation

If you use Opytimark, please cite:

@misc{rosa2019opytimizer,
    title={Opytimizer: A Nature-Inspired Python Optimizer},
    author={Gustavo H. de Rosa and João P. Papa},
    year={2019},
    eprint={1912.13002},
    archivePrefix={arXiv},
    primaryClass={cs.NE}
}

Download files

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

Source Distribution

opytimark-2.0.0.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

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

opytimark-2.0.0-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file opytimark-2.0.0.tar.gz.

File metadata

  • Download URL: opytimark-2.0.0.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for opytimark-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d3a2725e5802e37057052a457e137bbec12bab94ce9e24ad9ad130f5de713023
MD5 a0e5ac5ffa49aa528ca5ed9edcc3d959
BLAKE2b-256 692cd98f21cabe4ff605982dca31cb3121d6d2103befe4a408d75be6ff154067

See more details on using hashes here.

File details

Details for the file opytimark-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: opytimark-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for opytimark-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0681620d47bb48c7f59a1ea9d15905291e318ba5577d93952dee4f478cb5bb3
MD5 ca73a66638b16a03b65291bc0319e440
BLAKE2b-256 70fb705bdf08dc15859d50ce7a865adbf02b6746c44b56432b3b0923a7e22219

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.0

2 files

This release

2.0.0 This release

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page