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.2

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.2
File Size Uploaded Provenance Actions
optiprofiler-2.0.2.tar.gz 3.6 MB Without provenance Details for optiprofiler-2.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 9.3 MB

Release files / optiprofiler-2.0.2.tar.gz

Download URL optiprofiler-2.0.2.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
0aa77c0fc242de2041d8fb7c5c2ee5dd9dfc10d76637e8c6bb120fb86101f218
BLAKE2b-256 checksum
How to use checksums
3a8b3bfd5c0326e9d55857863df027a7a11f7dfbd41f83638679fff7eb40a1e7
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.2-py3-none-any.whl

Download URL optiprofiler-2.0.2-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
084701cd36e3333467e6d2cfd3e31a5720ac6012dfd1335ce60bd8fbaf82a29a
BLAKE2b-256 checksum
How to use checksums
d831da3e952ea313e16157394821f0d39c271f3fb1b1cbdfac9f19689ca21743
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.2

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