I received a large model with an optimization experiment with memory issues. If i uncheck “Allow parallel evaluations” the optimization runs, however takes way too long. I’ve already disabled a bunch of non-necessary functions and the single evaluation consumes only up to about 5% of the available memory, which is still too much for parallel evaluations.
I found the getParralelEvaluatorsCount() method and was wondering if there is something akin to a set function for it but couldn’t find anything.
https://anylogic.help/api/com/anylogic/engine/ExperimentMultipleRuns.html#getParallelEvaluatorsCount()
At default the count on the pc I’m using is 64 which is probably why the optimization runs out of memory.
If there isn’t a direct setter are there any other ways to adjust the number so the model doesn’t have to be reworked fundamentally?
Thanks!