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

GMP::Row::GetScale

The function GMP::Row::GetScale returns the scaling factor of a row in the generated mathematical program.

GMP::Row::GetScale(
     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 the number of that row in the range \(\{ 0 .. m-1 \}\) where \(m\) is the number of rows in the matrix.

Return Value

The scaling factor for the specified row.

See also

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