Learn R Programming

sybil (version 2.0.0)

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

# S4 method for optObj_clpAPI
getNumNnz(lp)

# S4 method for optObj_cplexAPI getNumNnz(lp)

# S4 method for optObj_glpkAPI getNumNnz(lp)

Arguments

lp

An object extending class '>optObj.

Value

A single numeric value.

Methods

signature(lp = "optObj_clpAPI")

method to use with package optObj_clpAPI.

signature(lp = "optObj_cplexAPI")

method to use with package optObj_cplexAPI.

signature(lp = "optObj_glpkAPI")

method to use with package optObj_glpkAPI.

See Also

Superclass '>optObj and constructor function optObj.