Skip to main content

Machine Learning Optimizer

mlopt is a package to learn how to solve numerical optimization problems from data. It relies on cvxpy for modeling and gurobi for solving the problem offline.

mlopt learns how to solve programs using pytorch (pytorch-lightning), xgboost or optimaltrees. The machine learning hyperparameter optimization is performed using optuna.

Online, mlopt only requires to predict the strategy and solve a linear system using scikit-umfpack.

Examples

To see mlopt in action, have a look at the notebooks in the examples/ folder.

Documentation

Coming soon at mlopt.org!

Citing

If you use mlopt for research, please cite the following papers:

  • The Voice of Optimization:

    @article{mlopt,
      author = {{Bertsimas}, D. and {Stellato}, B.},
      title = {The Voice of Optimization},
      journal = {Machine Learning (to appear)},
      year = {2020},
      month = jun,
    }
    
  • Online Mixed-Integer Optimization in Milliseconds

    @article{stellato2019a,
      author = {{Bertsimas}, D. and {Stellato}, B.},
      title = {Online Mixed-Integer Optimization in Milliseconds},
      journal = {INFORMS Journal on Computing (major revision)},
      year = {2019},
      month = jul,
    }
    

Projects using mlopt framework

Release files for mlopt 0.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 mlopt 0.0.2
File Size Uploaded
mlopt-0.0.2.tar.gz 28.3 kB Details

Release files / mlopt-0.0.2.tar.gz

Download URL mlopt-0.0.2.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
40317c14063d341ae1c4edaebfef8848fa971a164ac0c4dc14ecf03948193915
BLAKE2b-256 checksum
How to use checksums
f6483ad7b151c3b19c69e949bf33b3f79b88d5e5bf5005ff857285fb7965bca0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

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