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.Get()

Query the value of a variable attribute.

char Get ( GRB.CharAttr attr )

    Query the value of a char-valued attribute.

    Arguments:

    attr: The attribute being queried.

    Return value:

    The current value of the requested attribute.

double Get ( GRB.DoubleAttr attr )

    Query the value of a double-valued attribute.

    Arguments:

    attr: The attribute being queried.

    Return value:

    The current value of the requested attribute.

int Get ( GRB.IntAttr attr )

    Query the value of an int-valued attribute.

    Arguments:

    attr: The attribute being queried.

    Return value:

    The current value of the requested attribute.

string Get ( GRB.StringAttr attr )

    Query the value of a string-valued attribute.

    Arguments:

    attr: The attribute being queried.

    Return value:

    The current value of the requested attribute.