Google created OR-Tools in C++, but you can also use it with Python, Java, or C# (on the .NET platform).
Install OR-Tools for Python
The fastest way to get OR-Tools is to install the Python binary version. If you already have Python (version 3.6+ on Linux, Mac OS or Windows), and the Python package manager PIP, you can install OR-Tools as follows:
python -m pip install --upgrade --user ortools
After the installation is complete, you are ready to get started with OR-Tools for Python.
To install OR-Tools for another language or from source, see the next section.
Installation instructions for all supported languages
For instructions on installing OR-Tools, as well as the required prerequisites, click one of the links below:
If you need to install an older version, the OR-Tools release page has links to downloads for past releases.
Below are links to the OR-Tools binary distributions by language and platform.
C++, Java or C#
To get the source files for the latest release of OR-Tools, you can either: