Research Article  Open Access
Kerui Weng, Zihao Xu, "Flow Merging and Hub Route Optimization in Collaborative Transportation", Journal of Applied Mathematics, vol. 2014, Article ID 621487, 8 pages, 2014. https://doi.org/10.1155/2014/621487
Flow Merging and Hub Route Optimization in Collaborative Transportation
Abstract
This paper studies the optimal hub routing problem of merged tasks in collaborative transportation. This problem allows all carriers’ transportation tasks to reach the destinations optionally passing through 0, 1, or 2 hubs within limited distance, while a cost discount on arcs in the hub route could be acquired after paying fixed charges. The problem arises in the application of logistics, postal services, airline transportation, and so forth. We formulate the problem as a mixedinteger programming model, and provide two heuristic approaches, respectively, based on Lagrangian relaxation and Benders decomposition. Computational experiments show that the algorithms work well.
1. Introduction
With the rapid growth of manufacturing industry and Ecommerce in recent years, logistics industry is constantly expanding. However, many carriers still show small scale and low load ratio in developing countries such as China. At the same time, a number of consignors choose multibatch lessthantruckloads instead of singlebatch fulltruckloads in order to adapt to flexible production plans, which increases logistics costs. One promising way of improvement is a new transportation model called collaborative transportation (CT), which integrates all transportation demands and transportation resources to achieve economies of scale. For example, if transport tasks shown in Figure 1 dealt with a CT program as shown in Figure 2, then routing costs could be reduced by combing several transportation flows on a few arcs. A transportation task from node to is called OD flow . The route passing through no more than 2 hubs, such as , is called hub route. An arc is called hub arc if it carries enough OD flows and produces a freight cost discount on the arc due to economies of scale, which is the most favourable feature of CT. However, two unfavourable characteristics exist in CT. First, OD flows may increase touring distance. For instance, the distance of route A–B–E–D is obviously longer than the direct distance of route A–D. Second, to achieve discount, we have to pay a fixed charge to build hub arc, such as building railroad instead of highroad or buying heavy trucks to replace lightvans. Therefore, hub route with merging flows obtains discount on hub arc at the expense of additional transportation range and fixed charge. This encourages us to seek the optimal hub route of merging flows to maximize the profit of CT.
Flow merging and hub routing problem of collaborative transportation exists in many practices. For example, flight courses between small cities can be integrated into hub arcs of big cities, such as hub route small city—big city—big city—small city. In road line between two Chinese cities Guangzhou and Hong Kong, a logistics company may quote 2700 yuan, 3000 yuan, 3400 yuan, and 3600 yuan for fulltruckloads of 3 tons, 5 tons, 10 tons, and 12 tons, respectively, and the expenses per ton are 900 yuan, 600 yuan, 340 yuan, and 300 yuan. Petroleum exploitation companies in north China considered whether and where to build a railway to convey merging materials and reduce costs. The above applications indicate that larger vehicles loading larger flows generate cheaper transport costs. In other applications of CT where high response speed is required, we need to consider the distance constraints. For example, in express delivery business, customers require that the total transportation time of OD flow is less than the promised hour such as 24hour delivery or 48hour delivery. But in order to save transportation costs, most OD flows have to give up the direct paths and select longer hub routes. How to generate the savingandfast transportation plan with distance constraints? To reach this, we research flow merging and hub route problem in collaborative transportation (FMRICT) which finds the optimal hub route of merged flows within limited detouring distance, while hub arc can cut cost from discount if paid a fixed charge.
At present study of CT, the optimized route can be categorized into fleet’s route and flow’s hub route. Literatures about multidepot arc routing problem (MDARP) and multidepot pickup and delivery problem (MDPDP) are researches on fleet’s route. A fleet finished a task in MDARP if its tour starting and ending a depot directly passed arc . But to finish a task in MDPDP, fleet needs to find a minimal cost tour while node is before but not necessary last to node , which means picking up freight at and delivering it at . Obviously, MDPDP can achieve a lower cost than MDARP as shown in Figures 3, 4, and 5. However, MDPDP is more complex and extremely harder to solve large scale instances than MDARP. Most researches on MDPDP are tested on instances with single depot. Reference [1] tries to solve MDARP with 200 tasks by particle swarm optimization but does not provide the benchmark of computational time and solution quality. To the best of our knowledge there are no other efficient approaches with benchmark to large scale MDPDP, while MDARP with more than 1000 tasks can be solved with good benchmark in [2–4]. As shown in Figure 6, a promising innovation is the twostage CT program which takes full advantage of scale effect and decreases the complexity. The first stage merges the flows, and the second stage obtains the fleet’s tour by solving a MDARP which already has good heuristics. Accordingly, it is an important step to find the optimal hub route of merging flow.
Current studies on OD flow’s hub route of CT focus on the hubandspoke network design problem (HASNDP). Assuming that all arcs between hubs have transportation discount and requiring that all the OD flows have to pass one or two hubs, HASNDP seeks the best selecting of hub and arranges the right hub routes of OD flows to minimize the total cost. HASNDP was initially proposed by O’Kelly (1988) who built a quadratic programming model and provided two types of heuristic algorithms. In recent years, many studies are devoted to improve the model and the solution [5–8], while some scholars concentrate on the extension problem of HASNDP [9–16]. HASNDP and hub location problem have gained much attention. However, there still exist two defects. Firstly, requiring all the OD flows passing hubs may cause lots of detouring. For instance, in the conclusion of Weng [7], Xi’an was chosen as hub in Chinese airline Lhasa Xi’ning according to the result of HASNDP, which is obviously not right due to over detouring. Secondly, current researches of HASNDP emphasize on nodes’ cost while neglect arcs’ cost and the demand of incremental flows. HASNDP assumes that all arcs between hubs can automatically obtain economies of scale as long as hub costs are paid and OD flows pass one or two hubs, which conflicts some practice. For example, tasks shown in Figure 7 will be designed as hubandspoke network shown in Figure 8. Nodes , , and are chosen as hubs and all arcs between them enjoy discount of transportation costs. However, as we can see from Figure 8, no incremental flows pass through arc and it should not be given the transportation discount. In fact, the economies of scale for hub arcs need other two conditions including the incremental flows and the fixed charge to build more economic transport facilities. Researches [17–20] also find that some hub arcs do not have quantity strength after paying the hub costs while they still require tasks passing hubs and neglect the detouring distance limitation, which are distinguished from our work.
This paper is organized as follows. In Section 2, we formulate the mixedinteger programming model for FMRICT. Sections 3 and 4 provide two heuristic approaches, respectively, based on Lagrangian relaxation and Benders decomposition. Section 5 shows test performance of the algorithms.
2. Formulation
Consider a connected network , where is the set of edges and is the set of nodes. For all , let denote the OD flow from to . is the limited detouring distance of flow . is the unit flow cost of arc , and is the fixed cost when arc is selected as a hub arc. denotes the transportation cost discount of hub arcs. Binary decision variable if arc is selected as a hub arc and 0 otherwise. is the quantity of flow on nonhubarc . is the quantity of flow on hub arc . Binary variable if flow chooses route and 0 otherwise. FMRICT model could be formulated as ,
In (P1), objective function (1) accounts for the minimization of total routing costs plus fixed costs. Constraint (2) requires all tasks be finished. Constraint (3) and constraint (4) ensure the flow balance. If flow goes through the hub , then the flow going in must equal the flow going out of . Constraint (5) restricts to be 0 if arc is not selected as hub arc. and in constraints (5) and (6) are to avoid roundabout transportation. For instance, route and route are not acceptable. Constraint (6) controls the route distance, and constraint (7) is to define .
Compared to HASNDP which neglects detouring distance, (P1) makes tasks choose detour routes instead of direct routes if only they are more saving and control the distance by constraint (6). (P1) also helps the incremental flows of hub arcs by importing fixed charge as shown in Lemma 1. Define as the total flow on arc .
Lemma 1. In optimal solution of FMRICT, if is selected as a hub arc, then .
Proof. When , we can decrease the transportation costs of but increase fixed charge of . For every selected hub arc , it is optimal only if ; otherwise we can decrease costs by set and it is a contradiction to optimal solution. Therefore, the optimal flow on hub arc must satisfy .
3. Heuristic Algorithm Based on Lagrange Relaxation
is a complicated mixedinteger programming model that possesses about variables and constraints. The decision variables and constraints would be more than 50 thousands only if 10 nodes are included. FMRICT can be proven NP hard since it is an extension of fixed charge multicommodity network flow problem. Therefore, heuristic is needed for large scaled FMRICT. This section proposes a heuristic procedure based on Lagrange relaxation. The procedure uses the idea of relaxing parts of constraints by bringing them into the objective function with associated vector called the Lagrange multiplier and builds relaxed problem called Lagrangian dual problem which is relatively easily solved. A lower bound can be obtained from the solution of the Lagrangian dual problem, and an upper bound was found by refining the solution to a feasible solution of the original problem. The heuristic iteratively reduces the gap between upper bound and lower bound by updating the Lagrange multiplier. The main algorithm elements include the way of building relaxed problem called Lagrange dual problem, the way of constructing feasible solution, and the way of updating Lagrangian multipliers.
If we relax constraint (5) in and define as the Lagrangian multiplier of corresponding constraint, then the Lagrange dual problem can be obtained as follows:
Given , we can easily minimize the objective of (P2). For fixed costs, if , then , and 0 otherwise. For transportation costs, OD flow will select the shortest hub route. Let if flow going through hub arc , and otherwise. Let be the objective of (P2). The approaching procedure can be constructed as Algorithm 2.
The first step is to calculate the cost of arc for flow . The second step is to find the optimal hub route that satisfies distance constraints and to determine . The last step is to find hub arcs. is the optimal solution of (P2) and also becomes the lower bound of (P1). In this heuristic, we will augment lower bound to approach optimal value by subgradient optimization.
Algorithm 2 (solving the relaxed problem). For that satisfy , and , let , and
, .
For : find ; let ; if , then ; if , then ; if , then .
For , if , then , , else .
Algorithm 3 (construct feasible solution). , , , .
For , let while is the result of step of Algorithm 2. If , then .
For having , , let
For , find ; let , , , .
However, the optimal solution of may not be feasible to FMRICT by violating constraint (5) such as . Consequently, solution of will be adapted to feasible solution of the original problem. Let , , and be the feasible solution of , , and , respectively. Let denote the quantity of flow going through arc . The definition means that and if is hub arc; else and . Let be the objective value of feasible solution. Algorithm 3 is the procedure of obtaining feasible solution. After initialization in the first step, the second step is to determine the hub arc and to count fixed costs. The third step is to calculate the transportation costs of tasks in all arcs, and the last step is to make OD flow select the shortest hub route.
For given Lagrangian multiplier , both upper bound and lower bound could be obtained from Algorithms 2 and 3. Updating Lagrangian multiplier is to adjust the value of so that the upper bound and the lower bound would be more and more closer to the optimal value. Subgradient algorithm is such a method to update .
Let be the step length of iteration and be computed as
In (12), is the step length parameter at iteration , and is usually initialized by 2. Let be the current best upper bound and let and be solutions of the relaxed problem at current iteration. Lagrangian multiplier is updated as formula (13) to heighten the lower bound,
The main program of Lagrangian relaxation algorithm for solving FMRICT is as follows.
Algorithm 4 (Lagrangian relaxation algorithm for solving FMRICT). Initialize the parameters. Let , , , and . Set the current optimal lower bound .
Solve Lagrangian relaxation problem with Algorithm 2 to get , , and . Update .
According to Algorithm 3, acquire the feasible solution and and compute objective function (1) to get . Update .
Update step length parameter . If is not improved within steps, then let .
Update Lagrangian multiplier according to (12) and (13).
Determine if it has reached the termination criterion. End algorithm if any one of the following three criterions is established to be true: , , and .
Update iteration numbers and return to step .
4. Heuristic Algorithm Based on Benders Decomposition
This section approaches FMRICT with another method based on Benders decomposition to compare performance with Algorithm 4. By fixing some variables of the original problem, Benders decomposition partitions the original problem into master problem and subproblem which are easy to solve. Solve the subproblem to produce the upper bound and increase Benders’ cut to the master problem based on the solution of dual variable of the subproblem, and then solve the master problem to acquire the lower bound. The algorithm will iteratively reduce the gap between upper bound and lower bound.
For model , fix all to at the iteration ; then the subproblem is shown as in ,
is easy to solve, and we only need to make all OD flows select the minimum cost hub route within distance limitations. Let and be the dual variables of constraints (15) and (2) of at the iteration .
Feasible solution of and could be obtained according to duality theory, as shown in (17), In (17), . The economic meaning of is the incremental costs for adding one unit flow . And denotes the cutting route costs for unit flow when is selected as hub arc.
Benders’ cut at iteration is . And the master problem at iteration can be designed as model ,
In the iterative process, Benders decomposition gradually increases Benders’ cut by constraints (20), rather than considering all constraints at once, so that the algorithm efficiency is improved. Solving the master problem gives us the updated variables to try out for the next iteration, while solving the subproblem of provides us new trying schemes. Let , be the objective value of and at iteration . And let , be the current best lower bound and upper bound. The procedure is designed as in Algorithm 5.
Algorithm 5 (Benders decomposition method for solving FMRICT). Initialize parameters, , , and . Initialize hub arcs, and let for , which means that no hub arcs are selected at iteration 1. Initialize constraints in model by setting constraint (20) to be empty at first.
Calculate the dual variables of model according to (17). Compute . If , then .
Add Benders cut constraint to model and solve to get the lower bound . If , then . If there is no solution to , then the original problem is unsolvable and the algorithm is terminated.
Determine if it has reached the termination criterions. End algorithm if any one of the following two criterions is true: , .
Update according to the solution of model . Update and return to step two.
5. Computational Experiments
We code the algorithms in c♯ based on the VS2008 and run them on ThinkPad x60 notebook computer which is equipped with 2.1 GHZ Core2 CPU. In the procedure of Algorithm 5, we call Gurobi to solve model . The test instances are from AP data package that can be downloaded from http://people.brunel.ac.uk/mastjjb and includes postal flow data and distances data of 200 cities in Australia. With data about , , and so forth, AP data package has become a very famous algorithm testing platform for hubandspoke network design, while still lacking data about and . In our experiments, we let so that flow quantity of hub arcs is at least twice as much as directed flow quantity according to Lemma 1. Let , which means that the length of hub route is no more than 20 percent of the directed route. Moreover, the first , , , , and nodes were taken as instances in the AP data package, and the discount number is set by , , or . At first, we apply Gurobi’s & algorithm to obtain the exact solution of test cases, as shown in Table 1. We find that decision variables and constraints in the mixedinteger programming model would exceed thousands when , which is too large to solve by & algorithm on Gurobi. Then all the cases are tested with Algorithms 4 and 5. The result is shown in Table 2, in which the gap between upper bound and lower bound is defined by .


The experiment indicates that Algorithms 4 and 5, compared to Branch & Cut algorithm on Gurobi, are much more timesaving and capable of solving large scaled instances with more than nodes. Upper bounds obtained from Algorithm 5 have already reached the optimal solution in most instances. For all tested instances, maximum gaps obtained from Algorithms 4 and 5 are 6.8% and , averagely and , respectively. It is clear that both Benders decomposition method and Lagrangian relaxation algorithm possess pretty good performances on solving FMRICT problems.
As shown in Table 2, for small scaled instances with less than 15 nodes, Benders decomposition method could give the gap between upper bound and lower bound that is no more than within seconds, while Lagrangian relaxation algorithm no more than within seconds. For larger scaled problems with more than nodes, Benders decomposition method gives the gap that is no more than within seconds, while Lagrangian relaxation algorithm no more than within seconds. It implies that Algorithm 4 solves FMRICT problem faster, while Algorithm 5 gives better solutions.
6. Conclusion
The current collaborative transportation researches mainly consider the nodes cost of hubs, while ignore detouring cost, hub arcs cost, or incremental flows. FMRICT seeks a way of cutting down detouring route and building infrastructure or conveyances for hub arc and at the same time satisfies the demand of incremental flows by charge costs of building hub arc according to Lemma 1. All of them are very important in practice and are foundations of achieving economies of scale in collaborative transportation. We build a mixedinteger programming model of FMRICT and then construct Lagrangian relaxation algorithm and Benders decomposition method to solve FMRICT. The experiments indicate that both algorithms have pretty good computational performance. However, FMRICT considers only one discount rate. In many cases, flow quantity and transportation cost show a piecewise linear relationship, so that different scales of flow quantity and transportation tools produce different discount rates. Therefore, collaborative transportation routing problem with piecewise linear relationship between flow quantity and transportation costs is prospective for the next research.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
The research was supported by the National Natural Science Foundation of China (NSFC no. 71102151) and the Fundamental Research Funds for the Central Universities, China University of Geosciences (Wuhan), with nos. CUGL140424 and CUG120111. Thanks are also due to the anonymous referees who provided very valuable comments and pieces of advice.
References
 P. Sombuntham and V. Kachitvichayanukul, “A particle swarm optimization algorithm for multidepot vehicle routing problem with pickup and delivery requests,” in Proceedings of the International MultiConference of Engineers and Computer Scientists (IMECS '10), pp. 1998–2003, March 2010. View at: Google Scholar
 R. Liu, Z. Jiang, R. Y. K. Fung, F. Chen, and X. Liu, “Twophase heuristic algorithms for full truckloads multidepot capacitated vehicle routing problem in carrier collaboration,” Computers & Operations Research, vol. 37, no. 5, pp. 950–959, 2010. View at: Publisher Site  Google Scholar
 L. Xing, P. Rohlfshagen, Y. Chen, and X. Yao, “An evolutionary approach to the multidepot capacitated arc routing problem,” IEEE Transactions on Evolutionary Computation, vol. 14, no. 3, pp. 356–374, 2010. View at: Publisher Site  Google Scholar
 A. Kansou and A. Yassine, “New upper bounds for the multidepot capacitated arc routing problem,” International Journal of Metaheuristics, vol. 1, no. 1, pp. 81–95, 2010. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 V. Filipovic, J. Kratica, D. Tosic et al., “GA inspired heuristic for uncapacitated single allocation hub location problem,” Applications of Soft Computing, vol. 58, pp. 149–158, 2009. View at: Publisher Site  Google Scholar
 M. Köksalan and B. Soylu, “Bicriteria $p$hub location problems and evolutionary algorithms,” INFORMS Journal on Computing, vol. 22, no. 4, pp. 528–542, 2010. View at: Publisher Site  Google Scholar  MathSciNet
 K. R. Weng, Research on Location and Routing Optimization for HubandSpoke Logistics Network Design, University of Eluctronic Science and Technology Press, 2009, (Chinese).
 M. R. Silva and C. B. Cunha, “New simple and efficient heuristics for the uncapacitated single allocation hub location problem,” Computers & Operations Research, vol. 36, no. 12, pp. 3152–3165, 2009. View at: Publisher Site  Google Scholar
 M. Randall, “Solution approaches for the capacitated single allocation hub location problem using ant colony optimisation,” Computational Optimization and Applications, vol. 39, no. 2, pp. 239–261, 2008. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 I. Contreras, J. A. Díaz, and E. Fernández, “Lagrangean relaxation for the capacitated hub location problem with single assignment,” OR Spectrum. Quantitative Approaches in Management, vol. 31, no. 3, pp. 483–505, 2009. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 I. RodríguezMartín and J. J. SalazarGonzález, “A local branching heuristic for the capacitated fixedcharge network design problem,” Computers & Operations Research, vol. 37, no. 3, pp. 575–581, 2010. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 I. Correia, S. Nickel, and F. SaldanhadaGama, “The capacitated singleallocation hub location problem revisited: a note on a classical formulation,” European Journal of Operational Research, vol. 207, no. 1, pp. 92–96, 2010. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 I. Correia, S. Nickel, and F. SaldanhadaGama, “Singleassignment hub location problems with multiple capacity levels,” Transportation Research B, vol. 44, no. 89, pp. 1047–1066, 2010. View at: Publisher Site  Google Scholar
 J. Puerto, A. B. Ramos, and A. M. RodríguezChía, “Singleallocation ordered median hub location problems,” Computers & Operations Research, vol. 38, no. 2, pp. 559–570, 2011. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 J. F. Chen, “The uncapacitated hub location problem with allocation constraints,” in Proceedings of the 8th International Conference on Information and Management Sciences, vol. 8 of Information and Management Sciences, pp. 30–35, 2009. View at: Google Scholar
 H. A. Eiselt and V. Marianov, “A conditional phub location problem with attraction functions,” Computers & Operations Research, vol. 36, no. 12, pp. 3128–3135, 2009. View at: Publisher Site  Google Scholar
 J. F. Campbell, A. T. Ernst, and M. Krishnamoorthy, “Hub arc location problems: part I—introduction and results,” Management Science, vol. 51, no. 10, pp. 1540–1555, 2005. View at: Publisher Site  Google Scholar
 J. F. Campbell, A. T. Ernst, and M. Krishnamoorthy, “Hub arc location problems: part II—formulations and optimal algorithms,” Management Science, vol. 51, no. 10, pp. 1556–1571, 2005. View at: Publisher Site  Google Scholar
 J. F. Campbell, “Hub location for time definite transportation,” Computers & Operations Research, vol. 36, no. 12, pp. 3107–3116, 2009. View at: Publisher Site  Google Scholar
 R. S. De Camargo, G. De Miranda Jr., and H. P. L. Luna, “Benders decomposition for hub location problems with economies of scale,” Transportation Science, vol. 43, no. 1, pp. 86–97, 2009. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2014 Kerui Weng and Zihao Xu. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.