While |
For to NI |
While (i) is not satisfied |
| (i) |
Start a new tour, , and create the FCL according to (ii). |
| (ii) |
If FCL is not empty |
While FCL is not empty |
Select a part reference which is in the FCL and assign as many bins as necessary to |
satisfy (iii). Remove the selected reference from FCL. |
| (iii) |
End while |
While Equation (iv) is satisfied |
| (iv) |
Create the SCL according to (v). |
| (v) |
If SCL is not empty |
Use the solution string, select a reference according to the given heuristic on the th |
element of the string and assign one bin of the selected reference to the tow train, . |
Else |
Update the stock level and capacity in the stations according to (vi) and (vii), respectively. |
Terminate the assigning process in the current tour. |
| (vi) |
| (vii) |
End if |
End while |
Else |
Leave the current tour without assigning any bins and update the stock level and capacity |
in the stations according to (vi) and (vii), respectively. |
End if |
End while |
Continue the solution process in the second part of the algorithm. |
Calculate the objective function |
If |
|
Else |
Calculate the according to (12) and generate the |
If |
|
End |
End |
Generate a neighbouring solution using the defined mutation operators. |
Terminate the process in the current inner loop if is the same for 5 consecutive iterations |
End if |
End for |
If |
|
End if |
Reduce the temperature using the decrement function presented as (13). |
Terminate the algorithm if is the same for 5 consecutive iteration |
End while |