Filter Content By
discardConcurrentEnvs ( )
Discard concurrent environments for a model.
The concurrent environments created by getConcurrentEnv will be used by every subsequent call to the concurrent optimizer until the concurrent environments are discarded.
env0 = model.getConcurrentEnv(0) env1 = model.getConcurrentEnv(1) env0.setParam('Method', 0) env1.setParam('Method', 1) model.optimize() model.discardConcurrentEnvs()