Algorithm 4. Repair (T level_max, (I = 1,…,7)).
| Require: T, level_max, (i = 1,…,7) are the infeasible solution, the parameter to control the strength of the perturbation procedure, and the number of neighbourhood respectively. |
| Ensure: An feasible solution T. |
| 1: level = 1; |
| 2: while ((T is infeasible solution) and (level level_max)) do |
| 3: = Perturbation(T, level); |
| 4: for do |
| 5: {local search} |
| 6: if then |
| 7: |
| 8: |
| 9: else |
| 10: |
| 11: if then |
| 12: |
| 13: if then |
| 14: |
| 15: else |
| 16: |
| 17: return T; |