Gurobi includes a compiled R API package that is compatible with the version of R that was current at the time of the release of that version Gurobi. Below is a list of Gurobi versions and the R versions they support:
Gurobi version |
R version |
9.0.3-9.1.1 | 4.0 |
9.0.0-9.0.2 | 3.6 |
8.1 | 3.5 |
8.0 | 3.4 |
7.5 | 3.4 |
7.0 | 3.3 |
You may see the following warning if you try to use the package from a different R version:
package ‘gurobi’ was installed by an R version with different internals