Learn R Programming

clpAPI (version 1.3.1)

readMPSCLP: Read Problem in (Free) MPS Format

Description

Low level interface function to the COIN-OR Clp function Clp_readMps. Consult the COIN-OR Clp documentation for more detailed information.

Usage

readMPSCLP(lp, fname, keepNames = TRUE, ignoreErrors = FALSE)

Arguments

lp

An object of class "'>clpPtr" as returned by initProbCLP. This is basically a pointer to a COIN-OR Clp problem object.

fname

A filename.

keepNames

Boolean, keep variable names.

ignoreErrors

If set to TRUE, errors will be ignored.

Value

Returns zero on success, otherwise non zero.

Details

Interface to the C function readMPS which calls the COIN-OR Clp function Clp_readMps.

References

The COIN-OR Clp home page at https://projects.coin-or.org/Clp