addRowsCLP: Add Rows

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_addRows. Consult the COIN-OR Clp documentation for more detailed information.

Usage

1
  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.

Details

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

Value

NULL

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.