- Function GMP::Instance::GetNumberOfNonzeros(GMP)
GMP::Instance::GetNumberOfNonzeros
The function GMP::Instance::GetNumberOfNonzeros
returns the number
of nonzero elements in the coefficient matrix of a generated
mathematical program.
GMP::Instance::GetNumberOfNonzeros(
GMP ! (input) a generated mathematical program
)
Arguments
- GMP
An element in the set
AllGeneratedMathematicalPrograms
.
Return Value
The function returns the number of nonzeros.
See also
The functions GMP::Instance::Generate
, GMP::Instance::GetNumberOfColumns
and GMP::Instance::GetNumberOfRows
.