Sie befinden sich im Service: RWTH High Performance Computing (Linux)

Gurobi

Gurobi

Das Bild zeigt eine stilisierte Glühbirne, die in einem hellen Blauton dargestellt ist. Um die Glühbirne herum sind mehrere strahlenförmige Linien angedeutet, die das Licht symbolisieren, das von der Glühbirne ausgeht.

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.

Table of Contents

  1. How to access the software
  2. MATLAB with Gurobi
  3. Python mit Gurobi

Das Bild zeigt ein Symbol, das einen hellblauen Umriss eines Dokuments darstellt. Auf dem Dokument befinden sich drei horizontale Linien, die jeweils von einem Häkchen begleitet werden. Diese Häkchen sind ebenfalls hellblau und symbolisieren eine Checkliste.  

How to access the software

You have to load additional modules until you can load Gurobi

module load GCCcore/.11.3.0 
module load Gurobi/10.0.0

Available Gurobi versions can be listed with module spider Gurobi. Specifying a version will list the needed modules: module spider Gurobi/10.0.0

MATLAB with Gurobi

When you load the Gurobi module, MATLAB's path will automatically be extended to include Gurobi with the correct version. Gurobi should then work within MATLAB out of the box.

Python with Gurobi

When loading the Gurobi module, Python will automatically be loaded with the correct version.

After loading the module you can import gurobipy in your Python script:

import gurobipy

zuletzt geändert am 05.05.2025

Wie hat Ihnen dieser Inhalt geholfen?

Creative Commons Lizenzvertrag
Dieses Werk ist lizenziert unter einer Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz