Originally posted by: SystemAdmin
You have to set
subModel.settings.mainEndEnabled = true;
otherwise the end() has no effect.
Beside that there are memory leaks in the 5.x versions.
I experienced the same. To avoid this you should switch to
the current version.
Hope this helps.
Best regards
Norbert
#DecisionOptimization#OPLusingCPLEXOptimizer