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::getEnv to retrieve the environment associated with a model if you would like a parameter change to affect that model.

void set ( GRB_DoubleParam param,
    double newvalue )

void set ( GRB_IntParam param,
    int newvalue )

void set ( GRB_StringParam param,
    const string& newvalue )