.. aimms:function:: GMP::Instance::GetNumberOfNonlinearNonzeros(GMP)
The function :aimms:func:`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
)
- GMP
- An element in the set :aimms:set:`AllGeneratedMathematicalPrograms`.
The function returns the number of nonlinear nonzeros.
.. seealso:: The functions :aimms:func:`GMP::Instance::Generate` and :aimms:func:`GMP::Instance::GetNumberOfNonzeros`.