GRBEnv::set()

Set the value of a parameter.

Important notes:

Note that a model gets its own copy of the environment when it is created. Changes to the original environment have no effect on the copy. Use GRBModel::set to change a parameter on an existing model.

void set ( GRB_DoubleParam param,
    double newvalue )

void set ( GRB_IntParam param,
    int newvalue )

void set ( GRB_StringParam param,
    const string& newvalue )

void set ( const string& param,
    const string& newvalue )