GRBConstr.get()


GRBConstr.get()

问uery the value of a constraint attribute.

char get( GRB.CharAttr attr )

    问uery 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 )

    问uery 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 )

    问uery 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 )

    问uery the value of a string-valued attribute.

    Arguments:

    attr: The attribute being queried.

    Return value:

    The current value of the requested attribute.