bstellato / mlopt

The Machine Learning Optimizer
Apache License 2.0
98 stars 23 forks source link
cvxpy machine-learning optimization

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 code to reproduce the results in the papers is available at bstellato/mlopt_benchmarks.

Projects using mlopt framework