R API Overview#
This section documents the Gurobi R interface. For those of you who are not familiar with R, it is a free language for statistical computing. Please visit the R web site for more information. This manual begins with a quick overview of the methods provided by our R API. It then continues with a comprehensive presentation of all of the available methods, their arguments, and their return values.
For information about how to install the Gurobi R interface, please refer to the Gurobi R API installation guide.
If you are new to the Gurobi Optimizer, we suggest that you start with the Getting Started Knowledge Base article for general information. This also includes Tutorials for the different Gurobi APIs. Additionally, our Example Tour provides concrete examples of how to use the methods described here. We will point to sections or examples of this tour whenever it fits in this overview.
A quick note for new users: the convention in math programming is that variables are non-negative unless specified otherwise. You’ll need to explicitly set lower bounds if you want variables to be able to take negative values.
Contents