GRBConstr.SameAs()

bool SameAs ( GRBConstr constr2 )

Check whether two constraint objects refer to the same constraint.

Arguments:

constr2: The other constraint.

Return value:

Boolean result indicates whether the two constraint objects refer to the same model constraint.