Simulated annealing

class jmetal.algorithm.singleobjective.simulated_annealing.SimulatedAnnealing(problem: ~jmetal.core.problem.Problem[~jmetal.algorithm.singleobjective.simulated_annealing.S], mutation: ~jmetal.core.operator.Mutation, termination_criterion: ~jmetal.util.termination_criterion.TerminationCriterion, solution_generator: ~jmetal.util.generator.Generator = <jmetal.util.generator.RandomGenerator object>)[source]

Bases: Algorithm[S, R], Thread

compute_acceptance_probability(current: float, new: float, temperature: float) float[source]
create_initial_solutions() List[S][source]

Creates the initial list of solutions of a metaheuristic.

evaluate(solutions: List[S]) List[S][source]

Evaluates a solution list.

get_name() str[source]
init_progress() None[source]

Initialize the algorithm.

observable_data() dict[source]

Get observable data, with the information that will be seng to all observers each time.

result() R[source]
step() None[source]

Performs one iteration/step of the algorithm’s loop.

stopping_condition_is_met() bool[source]

The stopping condition is met or not.

update_progress() None[source]

Update the progress after each iteration.