Research Article

Shuffled Frog Leaping Algorithm for Preemptive Project Scheduling Problems with Resource Vacations Based on Patterson Set

Algorithm 3

Repair strategy for interchange operation.
Step  1. Initialize, ;
Step  2. From = position 1 to , update and ;
Step  3. ;
Step  4. From to , if is not in , search from to until ;
Step  5. put in and from to put ;
Step  6. add to and update ;
Step  7. , if , Stop; else go to Step  4.