Discrete Optimization is a python library to ease the definition and re-use of discrete optimization problems and solvers. It has been initially developed in the frame of scikit-decide for scheduling. The code base starting to be big, the repository has now been splitted in two separate ones.
The library contains a range of existing solvers already implemented such as:
The library also contains implementation of several classic discrete optimization problems:
In addition, the library contains functionalities to enable robust optimization through different scenario handling mechanisms) and multi-objective optimization (aggregation of objectives, Pareto optimization, MO post-processing).
We thank awesome optimization library or modeling language from different communities that are widely used through our library :
notably ortools, minizinc, deap, didp, gurobi
Quick version:
pip install discrete-optimization
For more details, see the online documentation.
The latest documentation is available online.
Some educational notebooks are available in notebooks/
folder.
Links to launch them online with binder are provided in the
Notebooks section of the online documentation.
More examples can be found as Python scripts in the examples/
folder, using the different features of
the library and showing how to instantiate different problem instances and solvers.
See more about how to contribute in the online documentation.
This software is under the MIT License that can be found in the LICENSE file at the root of the repository.
Some minzinc models have been adapted from files coming from