Procedure GMP::Column::GetLowerBoundRaw(GMP, colSet, lbs)

GMP::Column::GetLowerBoundRaw

The procedure GMP::Column::GetLowerBoundRaw retrieves a collection of lower bound values corresponding to a given set of columns in the generated mathematical program.

GMP::Column::GetLowerBoundRaw(
     GMP,            ! (input) a generated mathematical program
     colSet,         ! (input) a subset of Integers
     lbs             ! (output) a real-valued parameter
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

colSet

A subset of the set Integers, representing a set of column numbers. Each column number should be in the range \(\{ 0 .. n-1 \}\) where \(n\) is the number of columns in the matrix.

lbs

A real-valued parameter over colSet indicating the lower bound values of each column in colSet.

Return Value

The procedure returns 1 on success, or 0 otherwise.

Note

  • If a column has a unit then the scaled lower bound is retrieved (without unit).

  • This procedure is much more efficient than calling the function GMP::Column::GetLowerBound to get the lower bound of each column in colSet individually.