Quickstart¶
Installation via Python package manager¶
The libraries for CPLEX and Gurobi can be installed via pip executing respectively:
pip install amplpy amplpy-cplex
or:
pip install amplpy amplpy-gurobi
Running the examples¶
To run the examples, simply:
Go to the examples directory:
cd python/examples
Install (if needed) the dependencies in requirements.txt:
pip install -r requirements.txt
Execute the model