The Gurobi Optimizer is a state-of-the-art solver for mathematical programming. The solvers in the Gurobi Optimizer were designed from the ground up to exploit modern architectures and multicore processors, using the most advanced implementations of the latest algorithms.
Available Versions
To find the available versions and learn how to load them, run:
module spider gurobi
The output of the command shows the available Gurobi module versions. To load the most recent version of Gurobi, at the terminal window prompt run:
module load gurobi
For detailed information about a particular Gurobi module, including how to load the module, run the module spider command with the module’s full version label. For example:
module spider gurobi/13.0.0
| Module | Version |
Module Load Command |
| gurobi | 13.0.0 |
module load gurobi/13.0.0
|
License and Permission
We have an academic site license that allows UVA faculty, staff, and students to use Gurobi on the HPC system. The license is restricted to academic use and all use for commercial purposes is forbidden.
Please submit a ticket if you are UVA faculty/staff/student and need access to the software.
Using Gurobi
There are several ways to use Gurobi. First load the module.
For version 13+, either use gurobi_cl via command line or install your own gurobipy for the Python API. In the latter case, load miniforge and run pip install gurobipy==<version> where <version> should match with the gurobi module. If you wish, you may create an environment first.
Please note that version 13 no longer ships the command prompt gurobi.sh or gurobipy with its installation.
Julia
The GUROBI_HOME environment variable is already defined. Load the julia module and run:
import Pkg
Pkg.add("Gurobi")
Pkg.build("Gurobi")
|
HPC, software
gurobi