- Function GMP::Row::GetStatus(GMP, row)
GMP::Row::GetStatus
The function GMP::Row::GetStatus returns the status of a row in the
matrix of a generated mathematical program.
GMP::Row::GetStatus(
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
Integersin the range \(\{ 0 .. m-1 \}\) where \(m\) is the number of rows in the matrix.
Return Value
An element in the predefined set
AllRowColumnStatuses. The setAllRowColumnStatusescontains the following elements:
Active,
Deactivated,
Deleted,
NotGenerated,
PresolveDeleted.
Note
This function will return ‘PresolveDeleted‘ only if the
generated mathematical program has been created with
GMP::Instance::CreatePresolved. Status ‘PresolveDeleted‘
means that the row was generated for the original generated mathematical
program but deleted when the presolved mathematical program was created.
See also
The routines
GMP::Instance::GenerateandGMP::Instance::CreatePresolved.