Try our new documentation site (beta).
gurobi_read()
gurobi_read | ( filename, params=NULL ) |
Reads a model from a file.
Arguments:
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, .dua, .dlp, .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.
params: The params list, when provided, contains a list of modified Gurobi parameters. See the params argument section for more information.
Return value:
A model list variable, as described in the model section.
Example usage:
model <- gurobi_read('stein9.mps')
result <- gurobi(model)