Difference between revisions of "Gurobi/Note"

From ScientificComputing
Jump to: navigation, search
(Installing the R,Matlab and Python interfaces locally)
Line 1: Line 1:
===Installing the R,Matlab and Python interfaces locally===
+
Gurobi provides different interfaces (Python, Matlab, R) that can be used. Please find below instructions on how to install the interfaces locally for any version of Python, Matlab or R.
 +
 
 +
===Matlab interface===
 +
For using the Matlab interface, you would need to add the path to the Gurobi Matlab package, using the Matlab command <tt>addpath</tt>
 +
 
 +
addpath('/cluster/apps/gurobi/__VERSION__/x86_64/matlab')
 +
 
 +
where <tt>__VERSION__</tt> needs to be replace with the Gurobi version that you would like to use.

Revision as of 09:15, 28 November 2019

Gurobi provides different interfaces (Python, Matlab, R) that can be used. Please find below instructions on how to install the interfaces locally for any version of Python, Matlab or R.

Matlab interface

For using the Matlab interface, you would need to add the path to the Gurobi Matlab package, using the Matlab command addpath

addpath('/cluster/apps/gurobi/__VERSION__/x86_64/matlab')

where __VERSION__ needs to be replace with the Gurobi version that you would like to use.