This Sotftware is no longer available on lumiere cluster

The Gurobi Optimizer is the engine used by more than 1600 companies in over 40 industries to turn data into smarter decisions. It allows users to state their toughest business problems as mathematical models, and then automatically considers billions or even trillions of possible solutions to find the best one. Our solver can be used as both a decision-making assistant, to help guide the choices of a skilled expert, or as a fully automated tool to make decisions with no human intervention.

Gurobi has been used to produce measurable improvements in a wide range of high-value business functions, including production, distribution, purchasing, finance, capital investment and human resources. Gurobi has proven itself to be both robust and scalable, and is capable of solving problems involving millions of decision variables. The power of the library is backed by a broad range of intuitive interfaces that make it easy for new users to get up and running quickly, and the best technical support in the industry for when questions come up.

Recognized as the state-of-the-art solver for mathematical programming, Gurobi was designed from the ground up to exploit modern architectures and multi-core processors, using the latest implementations of the latest algorithms. This allows users more flexibility in how they model their problems, and increases their ability to add more complexity to their model both now and in the future, in order to better represent the real-world problems they are solving.

Installed version

  • 8.0.0

Access to the queue gurobi.q is restricted, for access : meso-admins@univ-fcomte.fr

Install your own licence

mesologin1:~$ qsub -q gurobi.q
node1-22:~$ module load gurobi
node1-22:~$ grbgetkey 3cd6c846-6fac-11e8-99a6-0a4522cc772c

Write licence into your directory: /Work/Users/<login>

node1-22:~$ exit
  • Add this line to your bash profile into ~/.bashrc:
mesologin1:~$ echo "GRB_LICENSE_FILE=/Work/Users/<login>/gurobi.lic" > ~/.bashrc

Replace <login> in above commands by yours

Using Gurobi with SGE

  • To submit OpenMP jobs with shared memory
gurobi_omp.sge
#!/bin/bash
 
#$ -q gurobi.q
#$ -V
#$ -N Gurobi_example
#$ -pe openmp 16
#$ -o $JOB_NAME.$JOB_ID.out
#$ -e $JOB_NAME.$JOB_ID.err
 
## load module
 
module load gurobi
 
## run application
 
gurobi_cl $GUROBI_HOME/examples/data/coins.lp
  • To submit task array jobs
gurobi_task.sge
#!/bin/bash
 
#$ -q gurobi.q
#$ -V
#$ -N Gurobi_example
#$ -t 1-100
#$ -o $JOB_NAME.$JOB_ID.out
#$ -e $JOB_NAME.$JOB_ID.err
 
## load module
 
module load gurobi
 
## run application
 
gurobi_cl ResultFile=output${SGE_TASK_ID}.sol input${SGE_TASK_ID}.lp