ROI_read function

Read Optimization Problems

Read Optimization Problems

Reads an optimization problem from various file formats and returns an optimization problem of class "OP".

ROI_read(file, type, solver = NULL, ...)

Arguments

  • file: a character giving the name of the file the optimization problem is to be read from.
  • type: a character giving the type of the file (e.g. "mps_free", "mps_fixed", "lp_cplex", "lp_lpsolve", ...).
  • solver: an optional character giving the name of the plugin (e.g. "lpsolve").
  • ...: further arguments passed on to the read method.

Returns

x an optimization problem of class "OP".

See Also

Other input output: ROI_plugin_register_reader_writer, ROI_registered_reader(), ROI_registered_writer(), ROI_write()

  • Maintainer: Stefan Theussl
  • License: GPL-3
  • Last published: 2023-04-20