Procedure GMP::Row::DeleteIndicatorCondition(GMP, row)

GMP::Row::DeleteIndicatorCondition

The procedure GMP::Row::DeleteIndicatorCondition deletes an indicator column and condition from a row in a generated mathematical program.

GMP::Row::DeleteIndicatorCondition(
     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 procedure returns 1 on success, and 0 otherwise.

Note

This procedure transforms an indicator row into a normal row.