31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
This file describes how to install the or-tools python binary archive.
|
|
|
|
OR-Tools is located at https://developers.google.com/optimization
|
|
|
|
These modules have been tested under:
|
|
- ubuntu 12.04 and up (32 and 64 bit).
|
|
- Mac OS X Lion with xcode 4.x (64 bit).
|
|
- Microsoft Windows with Visual Studio 2012 and 2013 (32 and 64 bit).
|
|
|
|
Upon decompressing the archive, you will get the following structure:
|
|
|
|
or-tools/
|
|
LICENSE-2.0.txt <- Apache License
|
|
README <- This file
|
|
data/ <- Data for the examples.
|
|
examples/ <- Python examples
|
|
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.
|
|
|
|
|
|
To install the package, please run:
|
|
sudo python setup.py install
|
|
or
|
|
python setup.py install --user
|
|
|
|
Once this is done, you can run the samples in the examples/ directory.
|
|
As in python examples/hidato_puzzle.py
|