resizeCLP: Resize a Model

Description Usage Arguments Details Value Author(s) References See Also

View source: R/clpAPI.R

Description

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

Usage

1
  resizeCLP(lp, nrows, ncols)

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.

ncols

Number of columns.

Details

Interface to the C function resize which calls the COIN-OR Clp function Clp_resize.

The function resize can produce a larger model. If the current number of rows and columns is n and m respectively and you set nrows to i and ncols to j, the new number of rows and columns will be i and j. It is not possible to scale down the model. In order to delete rows or columns, use delRowsCLP or delColsCLP.

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

See Also

delRowsCLP and delColsCLP.


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