Retrieve the number of non-zero elements in the constraint matrix of the optimization problem.
# S4 method for optObj_clpAPI
getNumNnz(lp)# S4 method for optObj_cplexAPI
getNumNnz(lp)
# S4 method for optObj_glpkAPI
getNumNnz(lp)
A single numeric value.
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.
Superclass '>optObj
and constructor function
optObj
.