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

GMP::Row::Activate

The procedure GMP::Row::Activate activates a deactivated row in a generated mathematical program.

GMP::Row::Activate(
     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

Use GMP::Row::ActivateMulti or GMP::Row::ActivateRaw if many rows have to be activated, because that will be more efficient.