Academic License Application#
You can apply on the Gurobi official website. However, it requires IP authentication. Not all institutions in the country can pass the IP authentication.
You can also apply through the IP-free authentication application channel provided by the Gurobi China team.
http://www.gurobi.cn/NewsView1.Asp?id=4
Software Download#
Download from the Gurobi official website https://www.gurobi.com/downloads/ or the Gurobi official QQ group.
Installation#
Assuming the installation directory is /home/your_username/software
Copy the installation file to that directory, then run the extraction command
tar -xvfz /home/your_username/software/gurobi11.0.3_linux64.tar.gz
Then enter the /home/your_username/software/gurobi1103/linux64/bin
directory, activate the academic license, and save the key file.
grbgetkey d88xxxxxxxxxc
Assuming the key storage directory is /home/your_username/software/gurobi_licence
Then configure the environment variables. Enter the ~/.bashrc
file and add the environment variables at the end of the file
# >>> gurobi >>>
export GUROBI_HOME="/home/your_username/software/gurobi1103/linux64"
export PATH="${PATH}:${GUROBI_HOME}/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${GUROBI_HOME}/lib"
export GRB_LICENSE_FILE="/home/your_username/software/gurobi_licence/gurobi.lic"
# <<< gurobi <<<
After saving and exiting, run source ~/.bashrc
to take effect.
To verify, enter the command
gurobi_cl
If the output is as follows, it proves that the activation is complete.
Set parameter LogFile to value "gurobi.log"
Using license file /home/your_username/software/gurobi_licence/gurobi.lic
Usage: gurobi_cl [--command]* [param=value]* filename
Type 'gurobi_cl --help' for more information.