writeMPSCLP: Write an MPS Format file to the given filename

Description Usage Arguments Details Value Author(s) References

View source: R/clpAPI.R

Description

Low level interface function to the COIN-OR Clp function Clp_writeMps. Consult the COIN-OR Clp documentation for more detailed information. This function is only available, if you are using COIN-OR Clp version >= 1.17.2.

Usage

1
  writeMPSCLP(lp, fname, formatType = 0, numberAcross = 1, objSense = 1)

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.

formatType

Integer value: 0 = normal, 1 = extra or 2 = hex.

numberAcross

Number across is 1 or 2.

objSense

Use objSense = -1 to flip the objective funtion around.

Details

Interface to the C function writeMps which calls the COIN-OR Clp function Clp_writeMps.

Value

Returns zero on success, otherwise non zero.

Author(s)

Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>

Maintainer: Mayo Roettger <mayo.roettger@hhu.de>

References

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


clpAPI documentation built on Oct. 28, 2021, 5:08 p.m.