discardMultiobjEnvs ( )

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.

Use getMultiobjEnv to create a multi-objective environment.

Example usage:

  env0 = model.getMultiobjEnv(0)
  env1 = model.getMultiobjEnv(1)

  env0.setParam('Method', 2)
  env1.setParam('Method', 1)