Research Article

Variable Neighborhood Search for Parallel Machines Scheduling Problem with Step Deteriorating Jobs

Algorithm 3

Procedure of neighborhood structure N S S 3 .
Procedure: 𝑁 𝑆 𝑆 3
𝑖 = 1
while  i ≀ n do
  𝑗 = 𝑗 + 1
 while   𝑗 ≀ 𝑛   do
  select randomly two jobs p and q from the current solution π‘₯
   π‘₯ ξ…ž = swap the two selected jobs on their positions
  if  Z( π‘₯ ξ…ž ) < Z(x) do
    π‘₯ = π‘₯ ξ…ž
    𝑗 = 𝑛
    𝑖 = 𝑛
  end  if
   𝑗 = 𝑗 + 1
 end  while
  𝑖 = 𝑖 + 1
end  while