ROI_read: Read Optimization Problems

View source: R/io_tools.R

ROI_readR Documentation

Read Optimization Problems

Description

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

Usage

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.

Value

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()


ROI documentation built on April 21, 2023, 1:11 a.m.

Related to ROI_read in ROI...