Function GMP::Row::GetType(GMP, row)

GMP::Row::GetType

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

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

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

row

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

Return Value

The function returns an element in the predefined set AllRowTypes.

See also

The routines GMP::Instance::Generate and GMP::Row::SetType.