ROI_write function

Write Optimization Problems

Write Optimization Problems

Write an optimization problem to file.

ROI_write(x, file, type, solver = NULL, ...)

Arguments

  • x: an optimization problem of class "OP".
  • file: a character giving the name of the file the optimization problem is to be written.
  • type: a character giving the type of the file (e.g. "freemps", "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 write method.

See Also

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

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