Function GMP::Linearization::GetType(GMP, row, linNo)

GMP::Linearization::GetType

The function GMP::Linearization::GetType returns the row type of a linearization of a row in a generated mathematical program.

GMP::Linearization::GetType(
     GMP,    ! (input) a generated mathematical program
     row,    ! (input) a scalar reference or row number
     linNo   ! (input) a linearization number
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

row

A scalar reference to an existing nonlinear row in the matrix or the number of that row in the range \(\{ 0 .. m-1 \}\) where \(m\) is the number of rows in the matrix.

linNo

An integer scalar reference to the rows and columns of the linearization.

Return Value

An element in the set AllRowTypes.

See also

The procedure GMP::Linearization::SetType.