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.