Function GMP::Instance::GetNumberOfNonlinearNonzeros(GMP)

GMP::Instance::GetNumberOfNonlinearNonzeros

The function GMP::Instance::GetNumberOfNonlinearNonzeros returns the number of nonlinear nonzero elements in the coefficient matrix of a generated mathematical program.

GMP::Instance::GetNumberOfNonlinearNonzeros(
     GMP             ! (input) a generated mathematical program
     )

Arguments

GMP

An element in the set AllGeneratedMathematicalPrograms.

Return Value

The function returns the number of nonlinear nonzeros.