What is simulated annealing Algorithm?

The process is of heating and cooling a metal to change its internal structure. Although, for modifying its physical properties is known as annealing. As soon as the metal cools, it forms a new structure. Also, metal is going to retain its newly obtained properties. Although, we have to keep the variable temperature in a simulated annealing process.
First, we have to set high temperature. Then, left it to allow “cool” slowly with the proceeding algorithm. Further, if there is high temperature, algorithm accepts worse solutions with high frequency.

Start
Initialize k = 0; L = integer number of variables;
From i → j, search the performance difference Δ.
If Δ random(0,1) then accept;
Repeat steps 1 and 2 for L(k) steps.
k = k + 1;
Repeat steps 1 through 4 till the criteria matches.