tools/README.python.md
This file describes how to use OR-Tools in python with the binary archives.
OR-Tools online documentation is located at https://developers.google.com/optimization
Full installation instructions are located at https://developers.google.com/optimization/install/python/
These modules have been tested under:
Upon decompressing the archive, you will get the following structure:
or-tools/
[LICENSE](LICENSE) <- Apache License.
[README.md](README.md) <- This file.
[examples/python](examples/python) <- Python examples.
[examples/notebook](examples/notebook) <- Jupyter/IPython notebooks.
Warning: While OR-Tools ships with SCIP, please consult the SCIP license to ensure that you are complying with it if you want to use this solver.
To install the package:
Make sure python and pip are installed
Make sure pip is up to date:
python -m pip -V
should return 9.0.1 otherwise, run: python -m pip install --upgrade --user pip
ortools from Pypi:python -m pip install --upgrade --user ortools
It should pull the latest version of OR-Tools.
To run a first example:
python examples/python/hidato_table.py