Metadata-Version: 2.4
Name: opytimark
Version: 2.0.0
Summary: Python Optimization Benchmarking Functions
Home-page: https://github.com/gugarosa/opytimark
Author: Gustavo Rosa
Author-email: Gustavo Rosa <gustavo.rosa@unesp.br>
License: Apache 2.0
Project-URL: Homepage, https://github.com/gugarosa/opytimark
Project-URL: Documentation, https://opytimark.readthedocs.io
Project-URL: Issues, https://github.com/gugarosa/opytimark/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.19.5
Provides-Extra: tests
Requires-Dist: coverage; extra == "tests"
Requires-Dist: pytest; extra == "tests"
Requires-Dist: pytest-pep8; extra == "tests"
Provides-Extra: dev
Requires-Dist: pre-commit>=2.17.0; python_full_version >= "3.6.1" and extra == "dev"
Requires-Dist: pylint>=2.7.2; python_full_version >= "3.6.2" and extra == "dev"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Opytimark: Python Optimization Benchmarking Functions

[![Latest release](https://img.shields.io/github/release/gugarosa/opytimark.svg)](https://github.com/gugarosa/opytimark/releases)
[![CI](https://github.com/gugarosa/opytimark/actions/workflows/ci.yml/badge.svg)](https://github.com/gugarosa/opytimark/actions/workflows/ci.yml)
[![Documentation](https://readthedocs.org/projects/opytimark/badge/?version=latest)](https://opytimark.readthedocs.io)
[![Open issues](https://img.shields.io/github/issues/gugarosa/opytimark.svg)](https://github.com/gugarosa/opytimark/issues)
[![License](https://img.shields.io/github/license/gugarosa/opytimark.svg)](https://github.com/gugarosa/opytimark/blob/main/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](https://opytimark.readthedocs.io).

## Installation

```bash
pip install opytimark
```

## Usage

```python
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/`](examples).

## Development

Install [uv](https://docs.astral.sh/uv/), clone the repository, then run:

```bash
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:

```bibtex
@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}
}
```
