Learn R Programming

clpAPI (version 1.3.1)

addRowsCLP: Add Rows

Description

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

Usage

addRowsCLP(lp, nrows, lb, ub, rowst, cols, val)

Arguments

lp

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

nrows

Number of rows to add.

lb

Lower bounds of the new rows.

ub

Upper bounds of the new rows.

rowst

Vector containing the starting indices of new rows (Arguments cols and val must be in row major order). The first element of rowst must be 0, the last element must be length(val)+1.

cols

Column indices of the non zero elements in the new rows.

val

Numerical values of the new non zero elements.

Value

NULL

Details

Interface to the C function addRows which calls the COIN-OR Clp function Clp_addRows.

References

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