Skip to main content

OptiProfiler: a platform for benchmarking optimization solvers

docs_badge codecov_badge

py_unit py_multi_os py_random py_stress

ml_unit ml_multi_os ml_random ml_stress

🌐 Website: www.optprof.com

Python

Install OptiProfiler from PyPI:

pip install optiprofiler

You can also install OptiProfiler from conda-forge:

conda install conda-forge::optiprofiler

Python package removal follows distribution ownership. Running python -m pip uninstall optiprofiler removes the core package and its bundled S2MPJ contents, but it does not remove independently installed problem-library distributions, their external runtimes, or their caches. Those plugins require OptiProfiler and become usable again after the core is reinstalled. Remove one adapter separately with, for example, python -m pip uninstall optiprofiler-pycutest. This does not remove the independently managed PyCUTEst or CUTEst runtime and problem definitions. The complete workflow for installing, discovering, updating, and removing providers is documented under doc/source/user/problem_libraries/.

MATLAB

Download the MATLAB-only ZIP from the OptiProfiler release page and extract it to a writable directory. In MATLAB, navigate to the extracted directory, where setup.m is located, and run:

setup

If the optional SOLAR MATLAB adapter is not installed locally, setup asks whether to download it. For non-interactive scripts, pass the choice explicitly:

setup(struct('install_solar', true))
setup(struct('install_solar', false))

When accepted or requested, setup clones optiprofiler/solar_matlab under prefdir/optiprofiler/problem_libraries by default, adds the adapter root to the MATLAB path, and registers its canonical functions. Pass problem_library_root to choose another writable parent directory. The adapter is not a submodule of the OptiProfiler repository. Passing install_solar=false skips the prompt and optional download when the adapter is not installed locally, which is useful in CI and batch scripts. The public problem-library name remains solar; use plibs={'solar'} in MATLAB benchmark options. The library-specific solar_select and solar_load functions remain callable after setup. Generic code may instead call library = resolveProblemLibrary('solar') and then use library.select and library.load.

To detach an optional or custom library without deleting its source, runtime, cache, or compiled artifacts, call unregisterProblemLibrary('solar'). Running setup uninstall removes the OptiProfiler core and setup-managed search paths, including registered adapter roots, but preserves external-library registrations and data. The complete workflow, including storage locations, updates, and the difference between detaching and deleting files, is documented under doc/source/user/problem_libraries/.

Metadata

Release files for optiprofiler 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for optiprofiler 2.0.0
File Size Uploaded Provenance Actions
optiprofiler-2.0.0.tar.gz 3.6 MB Without provenance Details for optiprofiler-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for optiprofiler 2.0.0
File Interpreter ABI Platform Actions
optiprofiler-2.0.0-py3-none-any.whl Python 3 none any Details for optiprofiler-2.0.0-py3-none-any.whl

Total release size: 9.3 MB

Release files / optiprofiler-2.0.0.tar.gz

Download URL optiprofiler-2.0.0.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
b955a44ed6cc9b2768466531a1c2bd6add69b029bd1adbef5dfd7a2c84c3cecf
BLAKE2b-256 checksum
How to use checksums
30b53ca791ede8024a6866cae982760e07500813dafffe85e0f3415a191a52ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / optiprofiler-2.0.0-py3-none-any.whl

Download URL optiprofiler-2.0.0-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c7cb216640f7b498c757c02d433b0a2f7eecaae87e51588f493474dfa2955d77
BLAKE2b-256 checksum
How to use checksums
de780130831b955a86923bfb6aa2985d9d3768cae0790f740537556298d9d519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for optiprofiler 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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