User Tools

Site Tools


en:programmation-gurobi

Gurobi

Python

In order to use Gurobi with Python, you need to install the module in your account.

module load gurobi

mkdir /tmp/Your_username/gurobi

cp -r /home/gurobi/x.x.x/linux64 /tmp/Your_username/gurobi/

cd /tmp/Your_username/gurobi/linux64/

python setup.py install --user

x.x.x version of gurobi you are loading for Gurobi 9.0 for example:

cp -r /home/gurobi/9.0.0/linux64/ /tmp/Your_username/gurobi/

WARNING: You should execute setup.py with the right version of Python (3.6, 3.7 …)

en/programmation-gurobi.txt · Last modified: 2020/02/21 18:45 by admin