Documentation

Example details

Example details

Let us now walk through the example, line by line, to understand how it achieves the desired result of optimizing the indicated model.

The example begins by importing the Gurobi package (library('gurobi')). R programs that call Gurobi must include this line.