Learn R Programming

clpAPI (version 1.3.1)

getNumNnzCLP: Retrieve the Current Number of Non Zero Elements in the Model

Description

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

Usage

getNumNnzCLP(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

Returns the current number of non zero elements in the model.

Details

Interface to the C function getNumNnz which calls the COIN-OR Clp function Clp_getNumElements.

References

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