Research Article

An Effective Heuristic-Based Approach for Partitioning

Algorithm 1

Annealing algorithm.
(1) Initialize the parameters of the annealing algorithm;
(2) Randomly generate an initial state as the ;
(3) K 1;
(4) while (system has been frozen) do
(5)  while (system equilibrium at ) do
(6)   call generation strategy for the ;
(7)    = cost( ) − cost( );
(8)    ;
(9)   if ( ) then
(10)    ;
(11)  end if
(12)  end while
(13)   ;
(14) end while
(15) return   ;