Simulated annealing

class jmetal.algorithm.singleobjective.simulated_annealing.SimulatedAnnealing(problem: jmetal.core.problem.Problem[~S][S], mutation: jmetal.core.operator.Mutation, termination_criterion: jmetal.util.termination_criterion.TerminationCriterion)[source]

Bases: jmetal.core.algorithm.Algorithm, threading.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]
get_observable_data() → dict[source]

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

get_result() → R[source]
init_progress() → None[source]

Initialize the algorithm.

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.