Running the examples

You can simply use the Gurobi interactive shell to run the examples by changing to the Gurobi Python example directory (<installdir>/examples/python) and issuing the following command::

gurobi.sh mip1.py

If you have installed gurobipy into an existing Python installation as listed in the installation options, you should simply run these examples using this Python interpreter of your choice by issuing the command

python mip1.py