StochasticHillClimbing

@Serializable
@SerialName(value = "stochasticHillClimbing")
data class StochasticHillClimbing(val startingPoint: Map<String, Double>? = null, val maxIterations: Int, val randomRestart: RandomRestartSpec? = null, val streamNum: Int = 0, val name: String? = null, val replicationsPerEvaluation: Int) : SolverSpec(source)

Stochastic Hill Climbing. Mirrors ksl.simopt.solvers.algorithms.StochasticHillClimber.

Constructors

Link copied to clipboard
constructor(startingPoint: Map<String, Double>? = null, maxIterations: Int, randomRestart: RandomRestartSpec? = null, streamNum: Int = 0, name: String? = null, replicationsPerEvaluation: Int)

Properties

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
open override val streamNum: Int

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