Research Article

Research on Optimization Model of Logistics Transportation Truck Path considering Environmental Impact: Experimental Data from Xiqing District, Tianjin

Table 3

The steps of ACO algorithms.

ACO algorithm

Inputs: O–D nodes (o, d) and parameters of K, NC, , , , Q
The arrival rate for each truck and the travel time distribution for each area
The real-time traffic flow on each route
Returns: optimal truck paths
Step 1. Initialization:
Initialize border nodes and tabu list
For each do
Let border node o be the origin location
/
End for
Step 2. Path selection:
For i 1 to do
For each do
Choose the next node j according to the equation mentioned
Add edge i, j to
End for
End for
Step 3. Path extension:
Compute / is the total cost of travel for ant k
Update and according to the equation mentioned
While not end condition do
Go to Step 2
End while
Print optimal truck paths