Search Docs by Keyword

Table of Contents

Gurobi

Description

Gurobi is a commercial mathematical optimization solver for linear programming (LP), quadratic programming (QP), mixed-integer programming (MIP), mixed-integer quadratic programming (MIQP), and quadratically constrained programming (QCP/MIQCP). It provides interfaces for Python, C, C++, Java, MATLAB, and R.

On the FASRC cluster, Gurobi is available as a centrally managed module with an institutional license.

Usage

Gurobi is provided as a centrally managed module on the FASRC cluster. Users do not need to manually install Gurobi; instead, load the recommended module before running your jobs. The current recommended module is:

module load gurobi/12.0.1-fasrc01

If you are using Gurobi with Python, you should also load an appropriate Python module. For example:

module load python/3.12.8-fasrc01
module load gurobi/12.0.1-fasrc01

These modules set the necessary environment variables and paths to make Gurobi available in your session.

Examples

For advanced usage examples, see our User Codes section on Gurobi.

References

 

© The President and Fellows of Harvard College.
Except where otherwise noted, this content is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.