GRBVar.SameAs()

bool SameAs ( GRBVar var2 )

Check whether two variable objects refer to the same variable.

Arguments:

var2: The other variable.

Return value:

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