requestEvaluations

protected fun requestEvaluations(inputs: Set<InputMap>, numReps: Int = replicationsPerEvaluation.numReplicationsPerEvaluation(this), crnOption: Boolean = false, cachingAllowed: Boolean = true): Map<ModelInputs, Solution>(source)

Requests evaluations for a set of input maps. The function prepares the evaluation requests from the provided inputs and then performs evaluations to generate solutions.

Return

a list of solutions obtained after performing evaluations on the inputs

Parameters

inputs

a set of input maps, where each map contains input variables and their respective values

numReps

the number of replications for each of the requested evaluations

crnOption

indicates if common random numbers should be used for the evaluations. The default is false. If true, no caching is allowed.

cachingAllowed

indicates whether the evaluations can be satisfied from a solution cache. The default is true. This will permit some (or all) the replications to be satisfied from a cache.