The function :aimmsGMP::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
)
- GMP
An element in the set :aimms
AllGeneratedMathematicalPrograms
.
The function returns the number of nonzeros.
The functions :aimmsGMP::Instance::Generate
, :aimmsGMP::Instance::GetNumberOfColumns
and :aimmsGMP::Instance::GetNumberOfRows
.