Context In order to use Gurobi in R, you need to install a Gurobi R package which is not publicly available. On the ULHPC, you need to: Load both the Gurobi and R modules Run R and install the Gurobi R package located…