addColsCLP: Add Columns

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

Usage

1
  addColsCLP(lp, ncols, lb, ub, obj, colst, rows, val)

Arguments

lp

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

ncols

Number of columns to add.

lb

Lower bounds of the new columns.

ub

Upper bounds of the new columns.

obj

Objective coeficients of the new columns.

colst

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

rows

Row indices of the non zero elements in the new columns.

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.