Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 836 Bytes

File metadata and controls

31 lines (20 loc) · 836 Bytes

GMP::Instance::GetNumberOfNonzeros

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
     )

Arguments

GMP

An element in the set :aimmsAllGeneratedMathematicalPrograms.

Return Value

The function returns the number of nonzeros.

The functions :aimmsGMP::Instance::Generate, :aimmsGMP::Instance::GetNumberOfColumns and :aimmsGMP::Instance::GetNumberOfRows.