Optimizing Route for Hazardous Materials Logistics Based on Hybrid Ant Colony Algorithm

Optimizing Route for Hazardous Materials Logistics (ORHML) belongs to a class of problems referred to as NP-Hard, and a strict constraint of it makes it harder to solve. In order to dealing with ORHML, an improved hybrid ant colony algorithm (HACA) was devised. To achieve the purpose of balancing risk and cost for route based on the principle of ACA that used to solve TSP, the improved HACA was designed. Considering the capacity of road network and the maximum expected risk limits, a route optimization model to minimize the total cost is established based on network flow theory. Improvement on route construction rule and pheromone updating rule was adopted on the basis of the former algorithm. An example was analyzed to demonstrate the correctness of the application. It is proved that improved HACA is efficient and feasible in solving ORHML.


Introduction
Hazardous materials, which have different physical and chemical properties, have high risk during transportation, as a series of problems may arise in this process.Route optimization is a complex combinatorial optimization problem, which is a typical NP-complete problem and difficult to come up with a direct answer.It is a practical problem in urgent need of solution in which we can find the optimal plan under the restrictions quickly, accurately, safely, and economically.
Optimizing Route for Hazardous Materials Logistics (ORHML) can be described as follows.Given a set of hazardous materials and an underlying network consisting of a number of nodes and capacitated arcs, we wish to find an optimal routing plan to ship the hazardous materials through the network at lowest cost without violating the capacity limits.ORHML models also appear as subproblems in more complicated models, such as distribution system design and capacitated network design.
ORHML has attracted the attention of many OR researchers.Kara et al. [1] presented several route planning models of road.Verma and Verter [2] gave a number of route planning models of rail.Iakovou [3] provided route planning models of water.Miller-Hooks [4] modeled ORHML as a path selection problem in a stochastic time-varying network.Dell'Olmo et al. [5] finding a number of spatially dissimilar paths between an origin and a destination can also be considered in this area.Jin and Batta [6] presented a risk model that took into account the dependency to the impedances of preceding road segments.Erkut and Verter [7] proposed a collection of edges in place of an origin-destination route for a hazmat shipment, where travel on this path can be viewed as a probabilistic experiment.It considered minimizing for a given OD pair in a hazmat transport network is a shortest path problem which is solved easily for even large networks.Their work also pointed out that this approximation is likely to result in a very small error in measuring the incidence probability along a hazmat transport route [8].
In general, in spite of their more realistic assumption, most of the exact versions of risk models have some puzzling properties and these models may not be suitable for hazmat transportation planning.We suggest that researchers and practitioners consider the properties of the risk models carefully.
Successful ant colony algorithms have been developed for several combinatorial optimization problems, such as Traveling Salesman Problem (TSP) and Vehicle Routing Problem (VRP).
Based on the successful application of ant colony algorithm to TSP, a new ACA was adopted in solving ORHML.A collaborative metaheuristic approach is inspired by the foraging behavior of real colonies of ants.The basic ACA application is a large number of simple artificial agents that are able to build good solutions for hard combinatorial optimization problems through low-level based communications.Real ants cooperate in their search for food by depositing chemical traces (pheromones) on the floor.

Model Analysis
ORHML optimization model can be demonstrated as follows: where  = (, ) represents the actual road network, in which the set of nodes  represents a road intersection, and arc set  indicates the connection between the intersection of sections.If (, ) denotes the sections, then obviously ,  ∈  and (, ) ∈ . represent a different flow of hazardous materials set  ∈ ;  represents the hazardous materials .   represents hazardous materials  using the arc (, );    represents the unit cost when hazardous materials  use arc (, );    represents the unit risk when hazardous materials  use arc (, ). represents the capacity constraints of the road. represents the node-arc incidence matrix  as the parameter [9].
() represents the supply amount or demand amount in point  of hazardous materials ,   () > 0 means that the supply,   () < 0 which means that the demand.
Based on the risk analysis theory, the risk of hazardous materials  in (, ) can be calculated by the following formula [10]: where    represents the traffic accident of hazardous materials  in (, );   represents the leak accident of hazardous materials  in (, );   represents the accident loss of hazardous materials  in (, ).  = {casualties along the road, casualties in the vehicle, property damage, traffic interruption, evacuation, environmental damage}.  (   ) represents the risk of loss caused by the harm .
(1) Casualties along the road   (  1 ): where   represents the length of the road;   represents the radius of the influence area for the accident disaster;   represents the population density along the road; HLV represents the value of the loss of life.
(2) Casualties in the vehicle   (  2 ): where  1  represents the traffic flow of bus;  2  represents the traffic flow of car;  1 represents the patronage of bus;  2 represents the patronage of car.
(3) Property damage   (  3 ): where CLV 1 represents the loss value of bus; CLV 2 represents the loss value of car.
(4) Traffic interruption   (  4 ): where  1 represents the traffic disruption time;  0 represents per unit time; TLV represents the value of loss time.

Solving Strategies
HACA goal is to find the shortest tour.In HACA  ants build tours in parallel, where  is a parameter.Each ant is randomly assigned to a starting node and has to build a solution, that is, a complete tour.A tour is built node by node: each ant iteratively adds new nodes until all nodes have been visited.Improvement process of solution strategy is present in the algorithm; this strategy can transform solution of the problem to a single ant path.Given multiple source points, ink points, and the corresponding flow, construct an ant colony; in the initial state, the ants are randomly distributed in each source point; the ants' next point is selected at random.Updated according to the flow from the source point to sink point as weight.When the ant went to the source point and the corresponding sink point, place the ants to another source point, begin the next search process until all sources and sinks were finished, and then complete a cycle of the ant.
As can be seen in Figure 1 [11].
When ant  is located in node , it chooses the next node  probabilistically in the set of feasible nodes according to    ().
In the HACA, original version formula for    () is The number of next nodes which ant  in node  could select is represented by win  ().In basic ant colony algorithm, win  () = cnt (allowed  ), cnt (allowed  ) denotes the number of nodes in set allowed  .The value of win  () should be adjusted dynamically: The sum of ants is represented by ; there are  trails from node ; the number of ants that pass node  is   , and   is distributing in  trails with number  1 ,  2 , . . .  : Using for reference the idea of ant- algorithm of Dorigo, the meliorative route construction rule can be expressed as follows =  0 +  0 −   , called saving;   = (  +   )/.Variable induced considering the time constraint.The algorithm constructs two ant colonies to realize the goal of optimization: minimize the cost and risk of the hazardous materials transportation.These two ant colonies are the HACA-RISK and HACA-COST, which are used to determine the optimal route.In consideration of the two together, we may find better solutions to the problem.After getting the improved solution, the overall pheromone update would be used to get the exchange of information concerning the advantages and disadvantages of the solution [12].
The HACA-RISK optimization process is to get the feasible solution which uses one less risk than  gb .HACA-RISK process is used to determine a shorter path under the circumstances.Once a new better feasible solution has been figured out,  gb should be updated.These two processes will If the least cost has been figured out by this algorithm, the HACA-RISK optimization process can be stopped, and then we shift to the HACA-COST optimization process.
In the HACA-COST we introduce an integer vector IN; IN  means the times that the point has not been covered by the solution.This parameter should be updated correspondingly with the optimal solution.Whenever a new solution has been found, the overall pheromone update should be applied to reset  gb .
The HACA-COST optimization process is similar to the traditional HACA optimization process which is to optimize the utilization of the load capacity and volume of RISKs.
The optimizing process can be divided into two parts: first, the ants move between the various points in search of the optimal solution; second, decompose the optimal solution into  min subsets according to the location of the original node, then allocate goods to the RISKs.
The movement of ants in the HACA-COST and HACA-RISK is similar to each other.At the beginning of the algorithm, ants are randomly distributed among all the nodes.From the initial node, the ants determine the next move within the scope of available points, on the basis of the probability and the restrictions on RISK load capacity and volume.The time and cost of all nodes to the virtual origin node are 0, and no direct connection between the virtual origin nodes is allowed.Once the ants arrive the terminal node, thus begins the construction of the next subset.After traversing all the nodes, the ants return to the initial node to form a loop, that is, feasible solution.
In the HACA-COST optimization process, a feasible solution  1 , . . .,   is formed through the collaboration of all the ant colonies.Compare  1 , . . .,   with  gb , if better, update  gb with the value of  1 , . . .,   .When the above process was being completed, the obtained solution may still be incomplete (and may have missed points), so the insertion process is needed as further optimization.Insertion process is mainly to deal with the point that has not been included in the existing solution.The process determines the optimal feasible insertion position (the shortest path) for each point until the plug cannot find a viable location [13].

Example and Analysis
As can be seen in Figure 2, there are two kinds of hazardous materials  (flammable liquid) and  (poisonous gas) : , from note A to note H, flow is 60 units; , from note B to note   ,   ) can be seen in Table 2.
Total expected risk    is shown in Table 3. Set Fright = 0.5 yuan/km/unit.The cost   can be shown in Table 4.
In view of complexity of this problem, the whole level optimization solutions are obtained based on the random searching and evolution process of the improved ant colony algorithm.The solution can be seen in Figure 3.

Summary
Solving the ORHML is to determine route plans that can make a minimum of risk and safety under the premise of restrictions of the placements.That is, to seek a safe routing plan that could obtain the lowest cost with the conditions has been known.
A new ant colony optimization based approach to solve ORHML was introduced.In particular, the algorithm has been designed to solve ORHML with a balance between the safe and the cost.Pinpointing the characteristics of this problem, our algorithm introduces a new methodology for optimizing multiple objective functions.We consider the optimization of the safe and the cost at the same time.This paper analyzes the differences of the ant colony algorithms in solving the restricted ORHML.In order to deal with ORHML, an improved HACA was devised.Pinpointing the characteristics of this problem, we consider the optimization of cost and risk together.The basic idea is to coordinate the activity of different ant colonies, each of them optimizing a different objective.These colonies work by using independent pheromone trails but they collaborate by exchanging information.Furthermore, the integrated use of HACA-SAFE and HACA-COST has been applied as the improvement of the solving strategy.Finally, the feasibility and effectiveness of this method has been scrutinized with practical examples.From the result on the test problem, we can conclude that the model and the heuristic procedures are quite successful in solving ORHML.
come to an end if a solution with the use of fewer cost comes up.At the same time, a new ant colony can be built on the basis of this new solution, which restarts a new interactive optimization process.

Table 2 :
The probabilities of hazard losses.

Table 3 :
Total expected risk.

Table 4 :
The cost.