requestEvaluation

protected fun requestEvaluation(input: InputMap, numReps: Int = replicationsPerEvaluation.numReplicationsPerEvaluation(this), cachingAllowed: Boolean = true): Solution(source)

Requests an evaluation for a single input map and returns the resulting solution. The function prepares the input as an evaluation request, performs the evaluation, and subsequently emits and logs the resulting solution. CRN is not permitted for a single evaluation.

Return

the solution obtained after evaluating the input map

Parameters

input

an instance of InputMap representing the input variables and their values to be evaluated

numReps

the number of replications for each of the requested evaluations

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.