GRBConstr.get()


GRBConstr.get()

Query the value of a constraint 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.