Gurobi

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 multi-core processors, using the most advanced implementations of the latest algorithms.

Note

If you are looking for how to run Gurobi with Matlab, please see the Matlab and Gurobi page.

Policy

Gurobi is available to users at HPC2N through an academic site-license.

Citations

You should cite the Gurobi software in your publication if:

  • You used Gurobi to obtain the solution of a specific model, and/or
  • Your publication’s code contains calls to the Gurobi API.

To cite Gurobi, we suggest the following BibTeX citation:

@misc{gurobi,
author =  {{Gurobi Optimization, LLC}},
  title = {{Gurobi Optimizer Reference Manual}},
  year = 2024,
  url = “https://www.gurobi.com”
}

Overview

Gurobi Optimizer is a prescriptive analytics platform and a decision-making technology developed by Gurobi Optimization, LLC. The Gurobi Optimizer (often referred to as simply, “Gurobi”) is a solver, since it uses mathematical optimization to calculate the answer to a problem.

Gurobi is included in the Q1 2022 inside BIGDATA “Impact 50 List” as an honorable mention.

Model your problem the way that works best for you—including LP and MILP and convex and non-convex QP, MIQP, QCP, and MIQCP, as well as SOCP and bi-linear problems.

  • Linear Programming (LP)
  • Mixed-Integer Linear Programming (MILP)
  • Quadratic Programming (QP) (Convex and non-convex)
  • Mixed-Integer Quadratic Programming (MIQP) (Convex and non-convex)
  • Quadratically Constrained Programming (QCP) (Convex and non-convex)
  • Mixed-Integer Quadratically Constrained Programming (MIQCP) (Convex and non-convex)

Usage at HPC2N

On HPC2N we have Gurobi available as a module.

Loading

To use the Gurobi module, add it to your environment. You can find versions with

module spider Gurobi

and you can then find how to load a specific version (including prerequisites), with

module spider Gurobi/<VERSION>

Example, loading Gurobi, version 11.0.2

ml GCC/12.3.0
ml Gurobi/11.0.2

Running

Note if you are looking for how to run Gurobi with Matlab, please see the section about Third-party tools on the Matlab page.

For more information about how to run Gurobi, see the Gurobi Getting Started page or look at the Example tour, both on the Gurobi home page.

Additional info

More information can be found on