GRBGenConstr::get()


GRBGenConstr::get()

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