How to use Gurobi
Gurobi is a licensed software for government research only at NREL. Documentation, Forums, and FAQs are available from the Gurobi home page: http://www.gurobi.com/products/gurobi-optimizer/gurobi-overview
Gurobi includes the following solvers: linear programming solver (LP), quadratic programming solver (QP), quadratically constrained programming solver (QCP), mixed-integer linear programming solver (MILP), mixed-integer quadratic programming solver (MIQP), and mixed-integer quadratically constrained programming solver (MIQCP).
Peregrine currently has Gurobi 5.6.3 Linux 64-bit and Gurobi 6.0.0 Linux 64-bit versions installed under a six-user license. To load Gurobi, simply type “module load gurobi/[version]”. The default version is 5.6.3. The Gurobi interactive shell will run by typing “gurobi.sh”. Gurobi can also be interfaced with C/C++/Java/MATLAB/R codes by linking with the Gurobi libraries. For details of Gurobi programming, please refer to the Gurobi webpage. http://www.gurobi.com/documentation/5.6/quick-start-guide/
Gurobi and MATLAB
To use the Gurobi solver with MATLAB, make sure you have the gurobi and matlab environment modules loaded, then issue the following two commands (or similar--you can define the variable that holds the Gurobi path as you see fit) from the MATLAB prompt or your script:
>> grb = getenv('GRB_MATLAB_PATH')
Gurobi and GAMS
GAMS is a high-level modeling system for mathematical programming and optimization and the GAMS package installed at NREL includes Gurobi solvers. For use of GAMS, please refer the GAMS page.
Important: When using the Gurobi solver in GAMS, the user should NOT try to load the Gurobi module! Simply using "module load gams" will be enough to load the Gurobi solver.