2016-08-23 10:45:59 +02:00
|
|
|
This file describes how to install the or-tools python binary archive.
|
2014-01-04 09:38:46 +00:00
|
|
|
|
2015-09-08 18:36:32 +02:00
|
|
|
OR-Tools is located at https://developers.google.com/optimization
|
2014-01-04 09:38:46 +00:00
|
|
|
|
2016-08-23 10:45:59 +02:00
|
|
|
These modules have been tested under:
|
2016-09-21 11:15:36 +02:00
|
|
|
- Ubuntu 14.04 and 16.04 up (64-bit).
|
|
|
|
|
- Mac OS X El Capitan with Xcode 7.x (64 bit).
|
|
|
|
|
- Microsoft Windows with Visual Studio 2013 and 2015 (64-bit)
|
2014-01-04 09:38:46 +00:00
|
|
|
|
|
|
|
|
Upon decompressing the archive, you will get the following structure:
|
|
|
|
|
|
|
|
|
|
or-tools/
|
|
|
|
|
LICENSE-2.0.txt <- Apache License
|
2016-08-23 10:45:59 +02:00
|
|
|
check_python_deps.py <- Python script to check the dependencies
|
|
|
|
|
README <- This file
|
2014-01-04 09:38:46 +00:00
|
|
|
data/ <- Data for the examples.
|
|
|
|
|
examples/ <- Python examples
|
2016-08-23 10:45:59 +02:00
|
|
|
ortools/ <- ortools package
|
|
|
|
|
algorithms/ <- Directory containing non-graph algorithms.
|
|
|
|
|
constraint_solver/ <- The main directory for the constraint library.
|
|
|
|
|
graph/ <- Graph algorithms.
|
|
|
|
|
linear_solver/ <- Linear solver wrapper.
|
2014-01-04 09:38:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
To install the package, please run:
|
2016-09-22 14:55:50 +02:00
|
|
|
make install
|
|
|
|
|
or
|
|
|
|
|
python setup.py install --user
|
2014-01-04 09:38:46 +00:00
|
|
|
|
2016-09-22 14:55:50 +02:00
|
|
|
This will check the ortools module dependecies. You still can do it by running:
|
|
|
|
|
make check
|
|
|
|
|
or
|
2016-08-23 10:45:59 +02:00
|
|
|
python check_python_deps.py
|
2014-01-04 09:38:46 +00:00
|
|
|
|
|
|
|
|
Once this is done, you can run the samples in the examples/ directory.
|
|
|
|
|
As in python examples/hidato_puzzle.py
|