Companion
Functions
Creates an instance of an Evaluator
for a given problem definition and simulation model which uses a memory-based solution cache to improve the efficiency of evaluations. The simulation execution is based on a SimulationProvider, which runs locally in the same thread as the evaluator. During the evaluation process the same model is used repeatedly.
Creates an instance of Evaluator
for managing simulation service problem evaluation. The method validates the compatibility of the problem definition with the provided model, constructs a simulator using the model, and initializes the evaluator with a solution cache.
The list of requests may come from different solvers. The requests may have the same design point (inputs). If so, we need to remove any requests for the same inputs, and keep the duplicate that has the maximum number of replications. This ensures that the evaluation covers any request with fewer replications and does not repeat expensive simulation evaluations on the same input values.