Stochastic Solver
constructor(evaluator: EvaluatorIfc, maxIterations: Int, replicationsPerEvaluation: ReplicationPerEvaluationIfc, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)
Creates a stochastic solver with the specified parameters.
Parameters
evaluator
The evaluator responsible for assessing the quality of solutions. Must implement the EvaluatorIfc interface.
max Iterations
The maximum number of iterations allowed for the solving process.
replications Per Evaluation
Strategy to determine the number of replications to perform for each evaluation.
stream Num
the random number stream number, defaults to 0, which means the next stream
stream Provider
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider
name
Optional name identifier for this instance of the solver.