Function GMP::Column::GetType(GMP, column)

GMP::Column::GetType

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

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

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

column

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

Return Value

An element in the predefined set AllColumnTypes.

See also

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