Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Next: Model Creation and Modification Up: Environment Creation and Destruction Previous: GRBdiscardconcurrentenvs
GRBdiscardmultiobjenvs
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.
Arguments:
model: The model in which all multi objective environments will be discarded.
Example usage:
GRBenv *env0 = GRBgetmultiobjenv(model,0); GRBenv *env1 = GRBgetmultiobjenv(model,1); GRBsetintparam(env0, "Method", 2); GRBsetintparam(env1, "Method", 1); GRBoptimize(model); GRBdiscardmultiobjenvs(model);