SimulatedAnnealing

@Serializable
@SerialName(value = "simulatedAnnealing")
data class SimulatedAnnealing(val startingPoint: Map<String, Double>? = null, val maxIterations: Int, val randomRestart: RandomRestartSpec? = null, val streamNum: Int = 0, val name: String? = null, val replicationsPerEvaluation: Int, val temperature: TemperatureSpec = TemperatureSpec.AutoCalibrate(), val coolingSchedule: CoolingScheduleSpec, val stoppingTemperature: Double) : SolverSpec(source)

Simulated Annealing. Mirrors ksl.simopt.solvers.algorithms.SimulatedAnnealing.

Constructors

Link copied to clipboard
constructor(startingPoint: Map<String, Double>? = null, maxIterations: Int, randomRestart: RandomRestartSpec? = null, streamNum: Int = 0, name: String? = null, replicationsPerEvaluation: Int, temperature: TemperatureSpec = TemperatureSpec.AutoCalibrate(), coolingSchedule: CoolingScheduleSpec, stoppingTemperature: Double)

Properties

Link copied to clipboard
Link copied to clipboard
open override val maxIterations: Int

Maximum number of main-loop iterations the solver is permitted to run; must be positive when validated.

Link copied to clipboard
open override val name: String?

Optional human-readable solver instance name.

Link copied to clipboard
open override val randomRestart: RandomRestartSpec?

Optional random-restart wrapper. When non-null the solver factory wraps the chosen algorithm in a ksl.simopt.solvers.algorithms.RandomRestartSolver.

Link copied to clipboard
open override val startingPoint: Map<String, Double>?

Optional starting point for the search, keyed by decision-variable name. When null, the solver chooses its own starting point.

Link copied to clipboard
Link copied to clipboard
open override val streamNum: Int

Random-number stream number used to seed the solver's stochastic decisions. 0 means "next available stream".

Link copied to clipboard