OptiProfiler#
Benchmark your optimization solver
OptiProfiler standardizes solver benchmarking with curated problem libraries, shared interfaces, baseline comparisons, and reproducible performance profiles.
from scipy.optimize import minimize
from optiprofiler import benchmark
def bfgs(fun, x0):
return minimize(
fun, x0, method="BFGS").x
def powell(fun, x0):
return minimize(
fun, x0, method="Powell").x
scores = benchmark([bfgs, powell])
print(scores)
Two ways to use OptiProfiler
Run it locally, or in the cloud
Use Python & MATLAB packages
Install the open-source packages, run larger experiments, plug in your own problem libraries, and keep full control over private problems and compute.
Try the hosted platform
Upload a Python solver, choose benchmark settings, compare against baseline solvers, and get publication-ready profiles with downloadable results in your browser.
Why OptiProfiler?
Multi-language support
The Python interface is ready to use. Check out the installation guide to get started, explore examples for common workflows, or dive into the API reference for details.
MATLAB
The full MATLAB interface is ready to use. Check out the installation guide to get started, explore examples for common workflows, or dive into the API reference for details.