Abstract

Mathematical models for path planning and vehicle scheduling for logistic distribution of hazardous materials in full container load (FCL) are established, with their problem-solving methods proposed. First, a two-stage multiobjective optimization algorithm is designed for path planning. In the first stage, pulse algorithm is used to obtain the Pareto paths from the distribution center to each destination. In the second stage, a multiobjective optimization method based on Nondominated Sorting Genetic Algorithm II (NSGA-II) is designed to obtain candidate transport paths. Second, with analysis on the operating process of vehicles with hazardous materials in FCL, the vehicle scheduling problem is converted to Vehicle Routing Problem with Time Windows (VRPTW). A problem-solving method based on estimation of distribution is adopted. A transport timetable for all vehicles based on their transport paths is calculated, with participation of the decision-makers. A visual vehicle scheduling plan is presented for the decision-makers. Last, two examples are used to test the method proposed in this study: distribution of hazardous materials in a small-scale test network and distribution of oil products for sixteen gas stations in the main districts of Lanzhou city. In both examples, our method is used to obtain the path selection and vehicle scheduling plan, proving that validity of our method is verified.

1. Introduction

Similar to that of ordinary goods, logistic distribution of hazardous materials can be classified as full container load (FCL) [1, 2] and less than container load (LCL) [3]. If the transport volume required by a destination is no less than the capacity of one transportation vehicle, there will be no less than one vehicle involved in a logistic job. To efficiently finish the job, operation of vehicles in FCL is necessary. Distribution of goods in LCL can be attributed to the commonly seen Vehicle Routing Problem (VRP). To plan for the logistic distribution of ordinary goods in FCL, the generalized shortest paths between the distribution center and multiple destinations can be adopted. However, optimization of distribution of hazardous materials involves at least two objectives: transportation cost and risk. In such scenario, multiple nondominated paths between the distribution center and the destinations exist. As a result, a vehicle transport path has to be chosen according to risk preferences in a specific situation.

The problem of path planning and vehicle scheduling for logistic distribution of hazardous materials in LCL is fundamentally the multiobjective VRP [4]. Zografos and Androutsopoulos established a Vehicle Routing Problem with Time Windows (VRPTW) model for distribution of hazardous materials and designed an insertion-based biobjective heuristic algorithm. On such basis, they introduced a model for the issue of emergency site selection and designed a Lagrangian relaxation heuristic algorithm [5]. Their contributions constituted a full set of decision support system for transport path planning of hazardous materials and coordinated emergency response arrangement after accidents. In a case study of natural gas transportation in Thailand, Pradhananga et al. proposed a genetic algorithm, converting the HAZMAT Vehicle Routing Problem with Time Windows (HVRPTW) with multiple objectives, namely, transportation cost and risk, into a single objective problem through linear weighting [6]. Later, they proposed a multiobjective ant colony algorithm targeting at solving this problem, the validity of which was verified in a case of distribution of liquefied petroleum gas in Osaka, Japan [7].

Existing studies on path planning and vehicle scheduling for logistic distribution of hazardous materials in FCL focus on transportation of hazardous materials between an origin and a destination (OD), while those between a distribution center and multiple destinations are rarely seen. In this study, the problem-solving of logistic distribution of hazardous materials in FCL is divided into two stages: path planning and vehicle scheduling. First, a multiobjective optimization model targeting at transportation cost and risk is established for path planning. However, if existing evolutionary multiobjective optimization algorithms are adopted, all the nodes along the transportation network have to be encoded. By doing so, the extended length of code in the case of large-scale transportation networks will result in large volumes of calculation, which leads to difficulty in finding the optimal solution under limited number of iterations. To avoid such situation, we design the two-stage method mentioned. In the first stage, a pulse algorithm is used to obtain the Pareto-optimal paths from the distribution center to each destination, so that only the Pareto-optimal paths obtained are allowed as candidate solutions subsequently. In the second stage, the Pareto-optimal paths obtained in the first stage are encoded to calculate the final results using algorithms based on Nondominated Sorting Genetic Algorithm II (NSGA-II). By segmenting the problem into subproblems in two stages, the volume of calculation is significantly reduced, which leads to an increased efficiency in calculation and correspondingly raises probability of obtaining the optimal solution. Then, based on the path plan selected by decision-makers, each distribution job of a destination is treated as a node in VRP, with time window of the node being the time window of the destination. By doing so, vehicle scheduling problem is converted to a single objective VRPTW. An algorithm based on Univariate Marginal Distribution Algorithm (UMDA) is designed to solve the VRPTW, to obtain a transport schedule for all vehicles.

2. Mathematical Model

To solve the distribution problem of vehicles with hazardous materials in FCL, optimizations are carried out in both path planning and vehicle scheduling stages, with a purpose of minimizing transportation cost and total risk of all transportation jobs. To simplify the risk evaluation process of transportation of hazardous materials, two assumptions are proposed on the premise of not violating practical conditions.

() Risks produced for vehicles with the same type in the same road section are equivalent. The risks are relevant only to conditions of a specific road section, without considering other factors such as whether loaded volume of a vehicle reaches its capacity and vehicle conditions.

() The risk value of a vehicle transporting with no loads is zero. That is, when a vehicle returns to the distribution center after unloading hazardous materials in a destination site, it chooses a path with the minimum transportation cost.

In a transport network , represents a set of nodes and represents a set of road sections between these nodes. The potential risk for a vehicle of a certain type transporting hazardous materials in a road section is . The transportation cost induced can be classified into two cases: cost of for transport with FCL when the travel time is and cost of for transport with no load when the travel time is . Assume there are destinations () to distribute hazardous materials to them. Each destination requires a transport volume of , with a time window of for destination . There are multiple paths from the distribution center to the destination . All vehicles start from the distribution center and return to the distribution center after finishing its job. The capacity of each vehicle is . The average loading time and unloading time for a vehicle are and , respectively. Variable indicates ; namely, the road section is in the path from the distribution center to the destination ; otherwise, . Subsequently, we analyze the distribution time, number of vehicles, as well as the total traveling distance of vehicles, and the total risk.

2.1. Number of Vehicles

Distribution of vehicles with FCL, namely, , is mainly concerned in this section. In this condition, a vehicle can either finish the whole job or commit a portion of a job. The number of vehicles required by a destination is . can be determined in the following rules:(1)When is an integer, .(2)When is not an integer, .

The total number of vehicles required to finish distribution jobs of all destinations is . The number of vehicles required on the condition of given required transport volume of a destination is constant. Although the total number of vehicles is constant, the same vehicle is allowed to participate in distribution jobs of multiple destinations when the condition of time window is satisfied. Issues concerning the number of vehicles dispatched and schedules for vehicles leaving/arriving will be discussed in the section of vehicle scheduling optimization.

2.2. Total Cost and Risk of Vehicle Travel

To finish the distribution job of destination , vehicles have to be involved. The transportation cost of all vehicles from the distribution center to the destinations is the sum of transportation cost of all road sections traveled, namely,Based on assumption (), the returning path of a vehicle with no load from the destination to the distribution center is the path with minimum cost, represented as , with its value calculated using the shortest path algorithm. According to the analysis above, the transportation cost involved in the distribution job for the destination is .

Similarly, the total risk involved in the distribution job of destination is

2.3. Vehicle Path Optimization

The following mathematical model (P1) of vehicle path optimization can be established:

The objective function (3) is a functional expression of transportation cost, and the objective function (4) is a functional expression of transportation risk. Constraint (5) ensures the formation of a complete transportation path from the distribution center to destinations.

2.4. Distribution Time

The travel time of a vehicle from the distribution center to destination and its corresponding returning time are, respectively,

The time used by a vehicle for a round trip from the distribution center to the destination and, after it finishes distribution, back to the distribution center is in total

Assuming the leaving time of a vehicle from the distribution center is , the time moment when the vehicle arrives at the distribution center from destination should be . Since the required time window for destination is , the time moment when the vehicle arrives at the destination should satisfy the following condition:

2.5. Vehicle Scheduling

By solving model P1, the vehicle travel paths from the distribution center to various destinations and back to the distribution center are obtained. Decision-makers are allowed to choose favorable travel paths depending on the specific risk preferences, though how to determine a vehicle dispatching plan is still an issue to be addressed. With limited vehicles available, the number of vehicles for dispatching is an optimization objective to be considered.

For convenience, each distribution job for a destination is divided into several assignments; namely, a distribution for a vehicle is considered as an assignment. Any one assignment should be finished within the time range from the earliest starting time to the latest ending time. Each assignment should be undertaken by only one vehicle. Each vehicle undertakes a new assignment only after it finishes an assignment on hand. Each assignment can be viewed as a node in a two-dimensional plane. All the destinations can be arranged according to the serial numbers of nodes. In this way, each assignment in a distribution job can be thus numbered. For example, the assignments for the distribution job to destination can be represented by ; assignments for can be represented by ; assignments for can be represented by . represents the set of all assignments. The vehicle scheduling problem can be converted to VRP with time windows (Figure 1), with the objective function indicating a balance between minimum number of vehicles and average minimum loads carried by each vehicle. The time window and service time for assignment are and , respectively. Since a node carries only information of assignments, transport volume is not contained and can be regarded as zero, and no restriction is posed on the capacity of vehicles.

is used to indicate whether a vehicle continues with assignment after it finishes assignment . If yes, , else . () is used to indicate whether assignment is implemented by vehicle . If yes, , else . The vehicle scheduling problem can be described by the following model (P2):

The objective function (11) represents the minimum number of vehicles and difference of their travel time, where . The first part of this function represents the minimum number of vehicles; is a sufficiently large integer, to ensure the priority level of the objective of vehicle number. The second part represents minimized standard deviation of travel time of all vehicles under the same number of vehicles, to ensure minimum difference in transport jobs for each vehicle. Constraints (12)–(15) guarantee that each vehicle can carry out only one assignment at a time. That is, assignments can be carried out by a vehicle consecutively, but not in parallel. In addition, an assignment can be carried out by only one vehicle. Constraint (16) represents the time moment when node is reached. Constraint (17) ensures satisfaction of time window restriction at the moment when node is reached.

3. Problem-Solving Method

The optimization objective of model P1 is to obtain the Pareto-optimal solution sets of total cost and total risk for distribution jobs from the distribution center to all destinations. This process can be viewed as a calculation of transportation cost and risk involved in the path formed by connecting the distribution center to each destination (see Figure 2). represents the cost and risk of the path before reaching destination from the distribution center; represents the cost and risk of the path from the destination back to the distribution center. Assume is a solution among the Pareto solution set. If ( indicating domination), then will not emerge in the Pareto solution set. This conclusion can be simply proved by contradiction. If is one solution among the Pareto solution set, then either or has to hold. Namely, either or should be correct, which contradicts .

As can be seen, in order to obtain the Pareto solution set of model P1, a Pareto-optimal solution is calculated for the path from the distribution center to each destination, so that other paths are excluded out. A two-stage method is adopted.

The problem of finding the path from the distribution center to each destination is essentially a biobjective shortest path problem (BSP). Generally, there are two types of solutions to it: dynamic programming (DP) [8, 9] and ranking [10]. Pulse algorithm [11] is a precise algorithm to solve BSP. Although an idea of recursively traversing all paths in a network is adopted, it is still efficient by using a four-step pruning mechanism to exclude dominated paths effectively. Other than the advantage of high efficiency, this algorithm has a virtue of finding a full set of Pareto-optimal solution, which is hardly achievable in heuristic or evolutionary algorithms. The key procedure to pulse algorithm is a newly added node, if satisfying one of the following four conditions, incoming partial path will be pruned, which means the incoming partial path containing this node will be eliminated.(1)It contains cycles.(2)It exceeds either one or both upper bounds [11] defined by the nadir point before reaching the end node.(3)It is dominated by any solution which is in current efficient set before reaching the end node.(4)Each node that is passed by a feasible path is marked with a label storing two objective values of the path. If the incoming partial path is dominated by either objective value stored in the label, then this path is dropped, or else the objective value of this path will be added in the label of the node.

In the second stage, the Pareto paths obtained in the first stage are encoded to calculate the final results using multiobjective optimization based on NSGA-II [12]. Since no paths other than the Pareto paths are involved in the second stage, the length of code is significantly shrunk when using multiobjective optimization. Therefore, the chance of obtaining the optimal solution increases prominently under the same size of population and number of iterations.

The following introduces encoding method, fitness function, and population regeneration strategy for NSGA-II.

(1) Individual Coding. Natural number is adopted for individual coding, the length of coding is , and Figure 3 shows the format of the encoding.

Where , is Pareto-optimal path set from the distribution center to the destination nodes . If the th value of the code is , then it means th path (obtained by the first stage) from the distribution center to the destination node is adopted for transportation. For example, the numbers of Pareto-optimal paths from the distribution center to the destination nodes are 2, 3, 5, and 4, respectively. Then a code of 1,4,3,5] means the 1st (1 mod 2), 1st (4 mod 3), 3rd (3 mod 5), and 1st (5 mod 4) of the Pareto paths from o to for the individual are adopted for transportation.

(2) Fitness Function. Assuming represents an individual, is used to represent fitness of the individual , where and are transportation cost and risk, respectively, based on the selected path plan of individual .

(3) Population Updating Strategy. A population adds in new individuals by crossover, for which integers are used. First, two individuals are randomly selected in the population, with two positions, and (), randomly generated. These two individuals, and , are crossed over to generate two new individuals.

Mutation is also operated with integers to obtain new individuals. An individual is selected randomly, while two positions, and (), are randomly generated. Positions of the selected individual, and , are subtracted by separately, with absolute values taken, to generate a new individual.

Model P2 is targeted at the objective of balance between number of vehicles and transport job intensity undertaken by each vehicle, which is essentially VRP. Except that the transport distance and number of vehicles in the objective function should be replaced by number of vehicles and fairness of transport assignments, other steps can be solved by referring to the problem-solving method for VRPTW. In this study, the problem-solving method based on UMDA for VRPHTW given by literature [13] based on estimation of distribution is adopted.

The problem-solving process for path planning and vehicle scheduling of hazardous materials transportation is shown in Figure 4.

4. Numerical Example

4.1. A Small-Scale Network

Figure 5 shows a test transportation network, where node 0 represents the distribution center, and nodes 1, 2, 4, 7, and 8 represent destinations. The distance and risk of each road section in the network are shown in Table 1. The required transport volume and time window of each destination are shown in Table 2. The capacity of a vehicle is 13.5 m3. The average loading time, unloading time, and the average travel speed of a vehicle are 0.75 h, 0.75 h, and 45 km/h, respectively. The cost for transport in FCL is 50 $/km; the cost for transport with no load is 10 $/km. A vehicle transport plan aims to minimize the transportation cost and risk.

Table 2 shows the required transport volumes of all destinations as well as the accepted unloading time windows, which is hard, indicating a waiting action if a vehicle arrives earlier than the earliest starting time specified.

After the first stage, Pareto shortest path (departing path) and shortest distance paths (returning path) between the distribution center to each destination can be obtained (Table 3).

When the Pareto paths set is obtained, the Pareto solution set of total cost and risk for transportation between the distribution center and all destinations can be obtained. Table 4 shows the path selection plans after decoding of Pareto solutions.

When a certain transport plan is selected, model P2 is used to solve the results for the path adopted. In this way, a vehicle scheduling plan under the current path selection plan is acquired. For example, when path plan 1 is selected in Table 4, the vehicle scheduling plan of Table 5 can be obtained, and when path plan 14 is selected, the vehicle scheduling plan of Table 6 can be obtained. The column of node represents the distribution node arrived at by a vehicle. The timetable shows the time moments of a vehicle in a round trip for loading start (LS), departure from the distribution center (DD), unloading start at the destination (US), returning after unloading finishes (RU), and arriving back at the distribution center (AC).

4.2. Comparison with General NSGA-II

In addition, a general NSGA-II algorithm (GNA) is designed for the path planning in order to illustrate the effectiveness of the two-stage algorithm (TSA) proposed. Different from the two-stage algorithm, in the general NSGA-II algorithm, the priority based encoding [14] method is adopted, and the encoding length is . However, in the second stage of the two-stage algorithm, the encoding length is only . For the example in Section 4.1, the parameters of two algorithms are set as follows: the size of population is 100, and the iteration number is 50 generations. In Figures 6(a)6(d) is the Pareto-optimal front obtained by iterative 5, 10, 20, and 50 generations, respectively. By comparison, it can be found that the final solution can be obtained by using the TSA when the iteration reaches the 10th generation (14 plans, see Table 4) while the GNA still fails to obtain the optimal solution until the fiftieth iteration. This is just a network of 9 nodes and this gap will become even bigger for large-scale networks. There is no direct relationship between the encoding length and the network size in the two-stage algorithm, so, for large-scale networks, the algorithm is still valid.

5. Case Study

The proposed methodology was implemented for the urban transportation network in Lanzhou, China. Daily traffic volumes of all road sections in realistic road networks of main districts are used to estimate vehicle travel time for all road sections. In addition, other factors such as distribution of population and facilities, as well as probabilities and consequences of traffic accident, along the road sections involved, are also considered to establish a traditional model [15] to estimate the risk value of each road section for vehicle transportation. Thus a transport network for hazardous materials (see Figure 7) in main districts of Lanzhou is formed, containing 170 nodes and 272 edges. Distribution of gasoline 92# (★) for 16 gas stations (●) under PetroChina in this network is taken as an example to calculate vehicle scheduling plans for oil product transportation.

Table 7 shows the positions of 16 gas stations in the network, indicated by their nearest nodes (destination site ), as well as their needs of gasoline, and the time window of distribution. The position of the distribution center is indicated by node 1. The volume of a transportation vehicle (tank car) is 13.5 m3. Traveling fee of a tank car in FCL in urban highways is 200 RMB/h, while that with no load is 150 RMB/h, eliminating cost of loading and unloading. Time for either loading or unloading is 0.75 h.

C# is the programming language to implement the algorithm. The running environment is PC i5-3470 3.20 GHz, 4G. Parameters setting in the program and CPU times of vehicles are shown in Table 8. A total of 164 path selection plans are obtained. When a certain plan is selected, the corresponding timetable for vehicle operation can be obtained by the vehicle scheduling program.

A path plan is a choice based on game between transportation cost and risk by a decision-maker with a specific risk preference. For example, in plan 1, which has the lowest transportation cost but the highest transportation risk, the transportation time is 4,396.58 RMB, while the transportation risk is 3.2262; 8 vehicles are needed to complete jobs. As another example, in plan 164, which has the lowest transportation risk but the highest transportation cost, the transportation time is 4,609.83 RMB, while the transportation risk is 2.5586; also, 8 vehicles are needed to complete jobs. The traveling path and transport timetable for all vehicles in plan 164 are shown in Tables 9 and 10.

6. Conclusion

Distribution of hazardous materials in FCL is essentially a multistage combinatorial optimization problem. In this study, a decision approach for distribution of hazardous materials in FCL with a single distribution center is formed, which can provide a decision support for transportation enterprises and administrative authorities.

In this study, mathematical models for path planning and vehicle scheduling problems are established, respectively, with corresponding problem-solving algorithms designed. In order to solve the path planning model, a two-stage algorithm is designed. Based on screening of paths in the first stage, the computational complexity of the second stage involved in the global path optimization is significantly reduced, which improves calculation efficiency. In obtaining the vehicle scheduling plan, the operating process of a transporting vehicle is converted to single objective VRPTW. Then the problem-solving method for VRPTW on the basis of estimation of distribution is adopted to obtain the timetable for all vehicles.

The proposed approach was applied to a hypothetical numerical example, as well as an application to a real case in distribution of gasoline of Lanzhou, China. The numerical example showed that, for small-scale problems, the two-stage algorithm can obtain Pareto-optimal front faster in the same iteration. However, for large-scale problems, due to the length of coding, it is difficult to obtain Pareto-optimal path set in a limited iterative step; in the second stage, the problem size of VRPTW is only related to the number of destination nodes, not to the scale of the transportation network. Therefore, the vehicle scheduling method has high efficiency, whether it is small-scale or large-scale transportation network.

Our purpose is to design a decision support system for path planning and vehicle scheduling of distribution of hazardous materials in FCL. Further research has to be done at least in two directions: distribution of hazardous materials in FCL with multiple distribution centers and transportation with different volumes vehicle will be focused on.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

This research was jointly supported by the National Natural Science Foundation of China (nos. 61064012, 61364026, and 51408288), Natural Science Foundation of Gansu (1610RJZA048, 1610RJZA037), Youth Foundation of Lanzhou Jiaotong University (2015026), and LZJTU (201604) EP.