Learn R Programming

sybil (version 1.1.2)

getNumNnz-methods: Retrieve the Number of Non-Zero Elements of the Constraint Matrix

Description

Retrieve the number of non-zero elements in the constraint matrix of the optimization problem.

Usage

## S3 method for class 'optObj_clpAPI':
getNumNnz(lp)

## S3 method for class 'optObj_cplexAPI': getNumNnz(lp)

## S3 method for class 'optObj_glpkAPI': getNumNnz(lp)

Arguments

lp
An object extending class optObj.

Value

  • A single numeric value.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.