|gurobi_read||( filename, env=NULL )|
Reads a model from a file.
filename: Name of the file to read. Note that the type of the file is encoded in the file name suffix. The filename suffix should be one of .mps, .rew, .lp, .rlp, .ilp, or .opb (see the file formats section for details on Gurobi file formats). The files can be compressed, so additional suffixes of .gz, .bz2, .zip, or .7z are accepted.
env: The env list, when provided, allows you to use Gurobi Compute Server or Gurobi Instant Cloud. See the env argument section for more information.
A model list variable, as described in the model section.
model <- gurobi_read('stein9.mps')
result <- gurobi(model)