|void||GRBdiscardmultiobjenvs (||GRBmodel||*model )|
Discard all multi-objective environments associated with the model, thus restoring multi objective optimization to its default behavior.
Please refer to the discussion of Multiple Objectives for information on how to specify multiple objective functions and control the trade-off between them.
model: The model in which all multi objective environments will be discarded.
GRBenv *env0 = GRBgetmultiobjenv(model,0); GRBenv *env1 = GRBgetmultiobjenv(model,1); GRBsetintparam(env0, "Method", 2); GRBsetintparam(env1, "Method", 1); GRBoptimize(model); GRBdiscardmultiobjenvs(model);