Simulated Annealing
Secondary constructor for the SimulatedAnnealing class. This constructor provides a simplified way to initialize the Simulated Annealing algorithm with configurable parameters, while delegating certain default parameters to their respective values or functional objects.
Parameters
An implementation of the EvaluatorIfc interface, used to evaluate candidate solutions.
The starting temperature for the simulated annealing process. Must be a positive value.
Defines the cooling mechanism to reduce the temperature during the iteration process. Defaults to an ExponentialCoolingSchedule with the specified initialTemperature.
The temperature at which the simulated annealing process stops. Defaults to 0.001.
The maximum number of iterations for the simulated annealing process. Defaults to a predefined constant.
The number of replications to be performed for each evaluation of the objective function. Ensures robustness in the evaluation process.
The stream number used for managing random number generation streams. Defaults to 0.
Provides the random number generator streams. Defaults to the KSLRandom.DefaultRNStreamProvider.
An optional name for the simulated annealing process, useful for identification or debugging. Defaults to null.
Constructs a SimulatedAnnealing solver with the specified parameters.
Parameters
The evaluator responsible for calculating the objective function value of a solution. It must implement the EvaluatorIfc interface.
The starting temperature for the simulated annealing algorithm. Must be greater than 0.0.
the cooling schedule for the annealing process
the temperature used to stop the annealing process. If the current temperature goes below this temperature, the search process stops.
the maximum number of iterations permitted for the search process
An instance of ReplicationPerEvaluationIfc
defining the strategy for determining the number of replications per evaluation.
An optional random number stream used for stochastic behavior. Defaults to KSLRandom.defaultRNStream()
.
An optional name for this solver instance.