Learn R Programming

clpAPI (version 1.3.1)

getNnzCLP: Retrieve the Non Zero Elements of the Constraint Matrix in Column Major Order.

Description

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

Usage

getNnzCLP(lp)

Arguments

lp

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

Value

A numeric vector containing the non zero elements of the constraint matrix in column major order.

Details

Interface to the C function getNnz which calls the COIN-OR Clp functions Clp_getNumElements and Clp_getElements.

References

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