SolverStateSnapshot

constructor(iterationNumber: Int, numOracleCalls: Int, numReplicationsRequested: Int, bestSolutionSoFar: Solution, currentSolution: Solution, estimatedObjFncValue: Double = bestSolutionSoFar.estimatedObjFncValue, penalizedObjFncValue: Double = bestSolutionSoFar.penalizedObjFncValue, solverSpecificState: Map<String, Double>? = null)(source)

Parameters

iterationNumber

The current algorithmic iteration or step at which this snapshot was taken.

numOracleCalls

The cumulative total number of times the simulation oracle has been invoked by the solver up to this point.

numReplicationsRequested

The cumulative total number of individual simulation replications requested across all oracle calls up to this point.

bestSolutionSoFar

The best Solution discovered by the solver up to this iteration.

estimatedObjFncValue

The objective function value associated with the bestSolutionSoFar.

penalizedObjFncValue

The penalized objective function value associated with the bestSolutionSoFar.

currentSolution

The latest solution found. It may not be the best due to algorithm trajectories.

solverSpecificState

An optional map containing algorithm-specific metrics that do not apply generally to all solvers (e.g., mapOf("temperature" to 50.0) for Simulated Annealing, or "splineCalls" for R-SPLINE). Defaults to null.