From 0bb2c432c96afed2137d8254cf8e596cac6f3eec Mon Sep 17 00:00:00 2001
From: Mohammed Tanash <mtanash2@unl.edu>
Date: Wed, 29 Jun 2022 23:28:11 +0300
Subject: [PATCH] Modified CobraToolbox page to add  gurobi and IBM cplex
 instructions

---
 .../running_matlab_cobratoolbox.md            | 28 ++++++++++++++++---
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/content/applications/app_specific/running_matlab_cobratoolbox.md b/content/applications/app_specific/running_matlab_cobratoolbox.md
index 71356bc7..082b2679 100644
--- a/content/applications/app_specific/running_matlab_cobratoolbox.md
+++ b/content/applications/app_specific/running_matlab_cobratoolbox.md
@@ -1,9 +1,9 @@
 +++
-title = "Install and Running Matlab CobraToolbox"
-description = "How to install and run Matlab CobraToolbox"
+title = "Install and Running Matlab CobraToolbox, Gurobi, and IBM ILOG CPLEX"
+description = "How to install and run Matlab CobraToolbox, Gurobi, and IBM ILOG CPLEX"
 +++
 
-## This document provides the steps to install and run MATLAB CobraToolbox in the cluster.
+## This document provides the steps to install and run MATLAB CobraToolbox in the cluster. Also, it provides an instructions on how to load gurobi, and IBM ILOG CPLEX. 
 
 ### INSTALLATION GUIDE    
 After logging into the cluster, load the requierd GIT module.
@@ -30,14 +30,34 @@ Then run the following command for uploading the required modules for cobratoolb
 $ git submodule update --init
 {{< /highlight >}}
 
+
+If you need to use Gurobi then you need to load its module using the following command
+{{< highlight bash >}}
+$ gurobi/py38/9.5
+{{< /highlight >}}
+
+More versions of Gurobi are installed on the HCC resources and can be discovered used the following command
+{{< highlight bash >}}
+$ module spider gurobi
+{{< /highlight >}}
+
+
+If you need to use IBM ILOG CPLEX then you need to load its module using the following command
+{{< highlight bash >}}
+$ module load ibm-ilog-cplex
+{{< /highlight >}}
+
+
 Then run Matlab using the following command
 {{< highlight bash >}}
 $ matlab 
 {{< /highlight >}}
 
-Finally run the following command to test CobraToolbox using the following Matlab command
+ Finally, run the following command to test CobraToolbox using the following Matlab command
 ```Matlab
 >> initCobraToolbox
 ```
  
 NOTE: you need to install CobraToolbox under your WORK directory NOT HOME directory. Because HOME directories are read-only from the compute nodes.
+
+NOTE: if you load Gurobi and IBM ILOG CPLEX  modules before starting matlab and running initCobraToolbox, CobraToolbox will automatically find them and configure them for use
-- 
GitLab