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 +


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.