Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 865 Bytes

File metadata and controls

31 lines (20 loc) · 865 Bytes
.. aimms:function:: GMP::Instance::GetNumberOfNonlinearNonzeros(GMP)

GMP::Instance::GetNumberOfNonlinearNonzeros

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
     )

Arguments

GMP
An element in the set :aimms:set:`AllGeneratedMathematicalPrograms`.

Return Value

The function returns the number of nonlinear nonzeros.
.. seealso::

    The functions :aimms:func:`GMP::Instance::Generate` and :aimms:func:`GMP::Instance::GetNumberOfNonzeros`.