Opytimark: Python Optimization Benchmarking Functions
Opytimark provides ready-to-use benchmark functions for evaluating optimization algorithms.
Opytimark supports Python 3.11 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-3.0.0.tar.gz
(5.5 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opytimark-3.0.0.tar.gz.
File metadata
- Download URL: opytimark-3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abea75a2cdbea6f863e84e575a8d437b39b1777a22f772afc6b711e544ce06b0
|
|
| MD5 |
979ce50c6553106f5aa4cde55b44cf22
|
|
| BLAKE2b-256 |
cb881240b3d494d7affd5b792510d0a9b554a4fa240c14ecf3f9ee360d3f901a
|
File details
Details for the file opytimark-3.0.0-py3-none-any.whl.
File metadata
- Download URL: opytimark-3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a898ac1ba1a288e2a5079a658ad16483875c6c17ba8e716a4cb47a7b29726511
|
|
| MD5 |
666dbd9536a5620e689f79d9836ccfbc
|
|
| BLAKE2b-256 |
d8d7f76fa4abe841a1ff047be7fc69ab230cf18fad776f7a7bf08ce5496fb3d1
|