Cookie Settings

Try our new documentation site (beta).

Filter Content By
Version
Table of contents
Filter by Language
C API Details
C++ API Details
GRBModel +
Java API Details
GRBModel +
.NET API Details
GRBModel +
Python API Details
Model +
Attributes
Parameters
Parameter Descriptions +


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.