Procedure GMP::Row::SetRelaxationOnly(GMP, row, value)

# GMP::Row::SetRelaxationOnly

The procedure GMP::Row::SetRelaxationOnly can be used to indicate that a row in a generated mathematical is a relaxation-only row. Some solvers (like BARON) can make use of this information.

GMP::Row::SetRelaxationOnly(
GMP,            ! (input) a generated mathematical program
row,            ! (input) a scalar reference or row number
value           ! (input) a scalar reference
)


## 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.

value

A scalar reference to a 0-1 value.

## Return Value

The procedure returns 1 on success, and 0 otherwise.

Note

A row is marked as being a relaxation-only row after this procedure is called with the value argument equal to 1 or if the RelaxationOnly suffix has been set to 1 for the corresponding constraint.

The function GMP::Row::GetRelaxationOnly. The RelaxationOnly suffix is explained in full detail in Constraint Suffices for Global Optimization of the Language Reference.