Follow us on Twitter and LinkedIn to get the latest updates from the dev team!
The libraries for CPLEX and Gurobi can be installed via pip executing respectively:
pip install amplpy amplpy-cplex
or:
pip install amplpy amplpy-gurobi
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
previous
ampls:: Python solver libraries
next
Architecture