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,
    string newvalue )