Documentation


GRBEnv::get()

Query the value of a parameter.

double get ( GRB_DoubleParam param )

    Query the value of a double-valued parameter.

    Arguments:

    param: The parameter being queried. Please consult the parameter section for a complete list of Gurobi parameters, including descriptions of their purposes and their minimum, maximum, and default values.

    Return value:

    The current value of the requested parameter.

int get ( GRB_IntParam param )

    Query the value of an int-valued parameter.

    Arguments:

    param: The parameter being queried. Please consult the parameter section for a complete list of Gurobi parameters, including descriptions of their purposes and their minimum, maximum, and default values.

    Return value:

    The current value of the requested parameter.

const string get ( GRB_StringParam param )

    Query the value of a string-valued parameter.

    Arguments:

    param: The parameter being queried. Please consult the parameter section for a complete list of Gurobi parameters, including descriptions of their purposes and their minimum, maximum, and default values.

    Return value:

    The current value of the requested parameter.