Remove a single term from a column.

GRBConstr Remove ( int i )

Remove the term stored at index i of the column.


i: The index of the term to be removed.

Return value:

The constraint whose term was removed from the column. Returns null if the specified index is out of range.

boolean Remove ( GRBConstr constr )

Remove the term associated with constraint constr from the column.


constr: The constraint whose term should be removed.

Return value:

Returns true if the constraint appeared in the column (and was removed).