You are on page 1of 4

International Journal of Trend in Research and Development, Volume 5(1), ISSN 2394-9333

www.ijtrd.com

An Optimization Model for Solving Time-dependent


Pick-up and Delivery Heterogeneous Vehicle Routing
Problem in Food Logistic
1
Irvan and 2Herman Mawengkang,
1
Departement of Mathematics, University Muhammadiyah Sumatera Utara, Medan, Indonesia
2
Department of Mathematics, University of Sumatera Utara, Medan, Indonesia

Abstract—Vehicle routing problem (VRP) is a well known comparison of their computational performance on the
model in logistic systems, such as food logistic. The model can capacitated VRP and HVRPs, while [8] Hoff et al. (2010)
be used to decide which route should be chosen by the fleet of reviewed several industrial aspects of combined fleet
homogeny vehicle in a way to minimize operational costs. composition and routing in sea transportation and road-based
However in practice, it is more practical to use vehicle with transportation. A comprehensive review for HVRP can be
different type and capacity, known as heterogeneous VRP. found in [12] Koc et al. (2016).
The Pickup and Delivery (PD) problem of Vehicle Routing is a
Due to the combinatorial nature of the VRP it is
further generalization of the VRP, as well as the HVRP, in
reasonable that the most approach addressed for solving the
which each customer demand is delivered with the associated
HVRP is heuristics. [13] Liu and Shen (1999) were the first to
vehicle and simultaneously pickup particular good from the
tackle the HVRP and developed a number of parallel insertions
customer. This paper considers a food logistic distribution
heuristics. [14] Braysy et al. (2008) presented a deterministic
problem in which the problem has a suitable structure as the
simulated annealing meta heuristic for the HVRP with time
HVRPPD. We use mixed integer nonlinear program to obtain
windows, outperforming the results of [13] (Liu and Shen
the optimal decision of the problem. A neighborhood search
(1999), and then [15] Braysy et al. (2009) developed a linearly
approach is developed for solving the result model.
scalable hybrid threshold-accepting and guided local search
Keywords—Heterogeneous Vehicle Routing Problem, meta heuristic for solving large scale HVRPTW instances. [16]
Logistic, Neighborhood search, Mixed Integer Nonlinear Coelho et al. (2016) designed a trajectory search heuristic to
Programming. solve a large-scale HVRPTW in which the vehicles are
allowed to have multi-trips. [17] Imran et al. (2009) use a
I. INTRODUCTION
variable neighborhood-based heuristics for solving the
The vehicle routing problem (VRP) is an interesting topic problem. [18] Jiang et al. (2015) developed a tabu search for
to be explored due to its combinatorial nature of the problem, solving HVRPTW, and they conducted the approach on a large
which makes the problem tractable [1], and its wide set of test cases. [19] Subramaniam et al. (2012) proposed a
applications to the real world logistic system. This statement is hybrid algorithm for the problem. Their algorithm is composed
scientifically reasonable as it can be observed that since its by an Iterrated Local Search based heuristic and a Set
introduction due to [2]Dantzig and Ramsey (1959) there are a Partitioning formulation. [20] Yousefikhoshbakht et al. (2016)
lot of literatures have been published to discuss development described a modified column generation to solve HVRPTW.
of methods to be used, applications and variety of its problem
The Pickup and Delivery Problem with Time Windows
structure ([3], [4], [5], [6], and [7]).
(PDVRPTW) is a further generalization of the VRPTW in
In classical VRP the vehicle used to deliver demands for which each customer request is associated with two locations:
the customers is assumed homogeny . However, in most an origin location where a certain demand must be picked up
practical logistic problems, customer demands are served using and a destination where this demand must be delivered. Each
a fleet of heterogeneous vehicles (see, e.g., [8] Hoff et route must also satisfy pairing and precedence constraints: for
al.,2010). This situation could create fleet dimensioning or each request, the origin must precede the destination, and both
composition problem and it is necessary to decide the trade-off locations must be visited by the same vehicle. The VRPTW
between owning and keeping a fleet and subcontracting. These can be seen as a special case of the PDVRPTW in which all
decisions should involve several variables such as requests have a common origin which corresponds to the depot
transportation rates, transportation costs and expected demand. [21] (Wassan and Nagy, 2014).
In VRP terms the use of heterogeneous vehicles are called
Since it generalizes the VRPTW, the PDVRPTW is
heterogeneous VRP (HVRP). Therefore the objective of the
clearly NP-hard. Two main approaches have been used to
HVRP is to find fleet composition and a corresponding routing
solve the PDVRPTW exactly: branch-and-price and branch-
plan that minimizes the total cost.
and-cut. Branch-and-price methods (see, e.g., [22] Barnhart et
HVRPs are rooted in the seminal paper of [9] Golden et al., 1998). [23] Desaulniers et al. (1998) use a branch-and-
al. (1984) and have evolved into a rich research area, in bound scheme in which lower bounds are computed by column
developing methods and applications. [10] Baldacci et al. generation. The first branch-and-price algorithm for the
(2008) provided a general overview of papers with a particular PDVRPTW was proposed by [24] Dumas et al. (1991) who
focus on lower bounding techniques and heuristics. The considered a set partitioning formulation of the problem in
authors also compared the performance of existing heuristics which each column corresponds to a feasible vehicle route and
described until 2008 on benchmark instances. [11] Baldacci et each constraint is associated to a request that must be satisfied
al. (2010) presented a review of exact algorithms and a exactly once. The resulting pricing subproblem is a shortest

IJTRD | Jan-Feb 2018


Available Online@www.ijtrd.com 268
International Journal of Trend in Research and Development, Volume 5(1), ISSN 2394-9333
www.ijtrd.com
path problem with time window, capacity, pairing and vehicle of type m which depends on the load capacity Qm
precedence constraints. This problem is solvable by dynamic
programming and the authors used an algorithm similar to the leaves the depot to serve customer‘s demand with route
one developed by [25] Desrosiers et al. (1986) for the single- {(i, j ), i V , j V \{0}} . On the arrival of customer
vehicle pickup and delivery problem with time windows. j ( j V \{0}) , the vehicle delivers the demand D j of FM
Several label elimination methods were proposed to accelerate
the dynamic programming algorithm, and arc elimination rules to the customer and pickup Pj of EC. The vehicle visits a
were used to reduce the size of the problem. The authors number of customers (at most once) and after finishing its job
pointed out that their approach works well when the demand of returns to the depot. It is assumed that the travelling cost is a
each customer is large with respect to vehicle capacity. fixed cost which consists of cost per travel unit (km) and cost
[26] Cortes et al. (2010) proposed an exact branch-and- per load unit (kg), which actually depends on the distance of
cut (B&C) algorithm for the PDVRPTW, which utilizes location. This travelling cost is denoted with
Benders combinatorial cuts. The proposed cuts could provide cij (i V , j V \{0}) . At the depot dispatching costs
significant CPU time savings, but the algorithm so far was
limited to solving instances with up to six requests. Another dci (i {0},{n}) are incurred. The other cost incurred in the
exact approach is addressed by [27] Ropke and Cordeau problem is a penalty cost, ( pci ) , due to the lateness of the
(2009) who introduce a new branch-and-cut-and-price
algorithm for solving PDVRPTW. They generate lower bound arrival to a customer i (i V \{0}) and/or the departure from
needed in the algorithm through column generation the linear a customer i (i V \{0}) .
programming relaxation. Another branch-and-cut approach,
based on a two-index formulation, was proposed by [28] Lu At the depot, a time window for vehicles to leave and to
and Dessouky (2004). This formulation contains a polynomial return to depot is given by [a0, b0]. The arrival time of a
number of constraints, but relies on extra variables to impose vehicle at customer i is denoted by ai and its departure time is
pairing and precedence constraints. For reviews on pickup and bi . Each route originates and terminates at the central depot
delivery problems, the reader is referred to the works of [29] and must satisfy the time window constraints, i.e., a vehicle
Savelsbergh and Sol (1995), [30] Desaulniers et al. (2002) and cannot start servicing customer i before ai and after bi
[3] Cordeau et al. (2007). however, the vehicle can arrive before ai and wait for service.
The service company focused in this paper has various III. MATHEMATICAL MODEL FORMULATION
type of vehicle in its operation to deliver demands for The decision variables consist of binary variables and
customers. Each type of vehicle has different capacities to continuous variables.
deliver demand and pickup container from customers. The
problem faced by the company can then be called HVRP with Binary variables.
pickup and delivery (HVRPPD). Due to the condition of the
customers‘ demand to be delivered the company put a strict xojk  1 if vehicle k  K travels from depot to customer
time limit in terms of the arrival time to each customer. This j V \{0} , otherwise x0 jk  0
condition has an impact to the delivery cost.
II. PROBLEM DESCRIPTION xijm  1 if vehicle of type m  K m is to deliver from
This paper considers daily scheduling problem of several customer i V to customer j V \{0} , i  j otherwise
vehicles with different capacity of a food company to deliver xijm  0 .
container of food materials FM) to a customer and to pick up
empty container (EC) from the customer.
zijk = 1 if vehicle k  K does not arrive in time at customer
To describe the problem mathematically let the distribution
network be expressed as a directed graph G  ( , ) , with
j V \{0} from i V , i  j , otherwise zijk  0 .
  {0,1,..., n} represents the vertex set of customers Non-negative continuous variables
involved except for   {0} and   {n} represent depot W0k Load of vehicle k  K when leaving the depot.
(the center for distribution).   {(i, j ) : i, j  ,i  j}
states the set of route to be travelled by the vehicles used. It is Wj Load of vehicle upon leaving customer node
necessary that for each route (i, j )  a travel cost cij is j V \{0} .
defined. All vehicle to be used are located at the distribution
center. Let  c be the set of customers‘ vertex, it is assumed lim Arrival time for vehicle type m  K m at customer

that each customer has a known fixed daily demand qi (  0 i V \{0}


) , a service time si (  0 ) , and a limited service time uim Duration of service of vehicle type m  K m at
windows [ai,bi] At the depot qi  qn  0 and also for the customer i V \{0}
service time si  sn  0 .
The main target of the manager is to use the available
Let a fleet of K vehicles composed by m different type of vehicle for each type efficiently, such that the total cost is
vehicles, each with capacity Qm is located at the depot. The minimized, the pick-up and delivery conditions are met, and
number of vehicles available for vehicle type m is n m. A the scheduled time is satisfied.

IJTRD | Jan-Feb 2018


Available Online@www.ijtrd.com 269
International Journal of Trend in Research and Development, Volume 5(1), ISSN 2394-9333
www.ijtrd.com
The objective or the problem is to minimize the total cost one, respectively. Constraints (8) state the vehicle load
which consists of traveling cost of all vehicle used, the restrictions associated with initial vehicle loads. Constraints
dispatching cost and the penalty cost in the planning horizon (9) ensure that each delivery does not exceed the capacity of
time of a day. each type of vehicle. Constraints (10 ) and (11) present vehicle
loads after the first customer and vehicle loads on the way,
Minimize dc
respectively, with M is a large constant number chosen
𝑗 ∈𝑉{0,𝑛} 𝑘∈𝐾 𝑥0𝑗𝑘 + 𝑖,𝑗 ∈𝑉{0},𝑖≠𝑗 𝑚 ∈𝐾𝑚 𝑐𝑖𝑗𝑚 𝑥𝑖𝑗𝑚 + arbitrarily. Constraints (12) and (13) present time window as
𝑖∈𝑉{0} 𝑗 ∈𝑉{0},𝑖≠𝑗 𝑘∈𝐾 𝑝𝑐𝑖 𝑧𝑖𝑗𝑘 (1) the committed scheduled time-dependent for each customer
Constraint (14) guarantees that the number availability of
Subject to active vehicle does not exceed the number of vehicle available
at the central depot. Constraint (15) represents the consistency

kK
x0 jk 1, j V \{0} (2) of load variable. The conditions for penalty are expressed in
Constraints (16), (17), and (18).


iV \{0}
xi 0 k  1 k  K (3) It can be observed that the model formulated in expressions
(1) – (18) is in the form of large scale Mixed Integer Nonlinear

  xijk 1,
Programming (MINLP).
j V \{0}, i  j (4)
iV \{0} kK
IV. THE METHOD USED


iV \{0}
xihk  
jV \{0}
xhjk h V \{0}, k  K , i  h  j Stage 0.
Solve the relaxation of model (1) to (18), as a large scale
(5) nonlinear programming.


jV \{0}
x1 jk  1; k  K (6) If all variables in the continuous optimal solution is integer
valued, the optimal integer solution to the problem (1) to (18)
is found. STOP.

iV \{0},i 1
xi1k  1; k  K (7) Otherwise go to Stage 1.
Stage 1.
Wok    Di xijk k  K (8) In this Stage we use a hybrid strategy, heuristic approach and
iV jV \{0} exact method.

D 
Step 1. Heuristic
i xijm  Qm m K m (9) Get row i* the smallest integer infeasibility, such that
iV jV \{0}
 i*  min{ fi ,1  fi }
W j  W0k  D j  Pj  M (1  xojk ) j V \{0}, k  K
(This choice is motivated by the desire for minimal
(10) deterioration in the objective function, and clearly corresponds
W j  Wi  D j  Pj  M (1   xijk ) i V \{0}, j V \{0}, i  j to the integer basic with smallest integer infeasibility).
kK
Step 2. Exact method
(11)
Do a pricing operation
lim  ai  xijm ; m  K m , i V (12) T 1
vi*  ei* B
T
jVc
  vi* j
T

Step 3. Calculate ij
ai 
jV \{0}
xijm  lim  uim  bi 
jV \{0}
xij m  K m , i  V \{0}, i  j With 𝑗 corresponds to

(13)  d j 
min  

jV \{0}
xojm  nm m  K m (14) j
  ij 
Calculate the maximum movement of nonbasic j at lower
Wjk  (Wik  q j ) xijk i V , j V \{0}, k  K , i  j (15) bound and upper bound.

 z
Otherwise go to next non-integer nonbasic or
ijk 1 (16) superbasic j (if available). Eventually the column j* is to be
i , jV \{0},i  j kK
increased form LB or decreased from UB. If none go to next
lik  ai zijk i, j V \{0}, i  j, k  K (17) i*.
Step 4.
uik  bi zijk i, j V \{0}, i  j, k  K (18) Solve Bj* = j* for j*
Step 5. Do ratio test for the basic variables in order to stay
Constraints (2) and (3)) are to ensure that exactly one feasible due to the releasing of nonbasic j* from its bounds.
vehicle regardless their type enters and departs from every Step 6. Exchange basis
customer and from the central depot.and comes back to the Step 7. If row i* = {} go to Stage 2, otherwise
depot. Constraints (4) is necessary to make sure that each Repeat from step 1.
customer is served by one and only one vehicle. Constraints Stage 2. Heuristic
(5) is to ensure that the same vehicle enters and leaves each Pass1 : adjust integer infeasible superbasics by fractional steps
customer and proceeds the continuity of route. Constraints (6) to reach complete integer feasibility.
and (7) present the availability of vehicles by bounding the Pass2 : adjust integer feasible superbasics. The objective of
number of route, related to vehicle k for each type, directly this phase is to conduct a highly localized neighbourhood
leaving from and returning to the central depot, not more than search to verify local optimality.

IJTRD | Jan-Feb 2018


Available Online@www.ijtrd.com 270
International Journal of Trend in Research and Development, Volume 5(1), ISSN 2394-9333
www.ijtrd.com
CONCLUSIONS size and mix vehicle routing problem with time windows,‖
Transportation Science, 42 (3), 2008, pp. 371-386.
The food company, considered in this paper, has a lot of [15] O. Braysy, P. Porkka, W. Dullaert, P. P. Repoussis, and C. D.
customers to be served with a variety of volume of food Tarantilis,‖A well scalable metaheuristic for the fleet size and mix
container. Therefore the company needs several type of vehicle vehicle routing problem with time windows,‖ Expert System and
Applications, 36 (4), 2009, pp. 8460-8475.
to carry out the deliveries and then to pickup empty container
from the customer. This paper is to develop a model of [16] . N. Coelho, A. Grasas, H. Ramalhinho, I. M. Coelho, M. J. F., Souza,
and R. C. Cruz, ―An ILS-based algorithm to solve a large-scale real
Heterogeneous Vehicle Routing with Time Windows Problem heterogeneous fleet VRP with multi-trips and docking constraints,‖
This model is used for solving the food logistic problem of a European Journal of Operational Research, 250, 2016, pp. 367-376.
company located in Medan city, Indonesia. The result model is [17] Imran, S. Salhi, and N. A. Wassan, ―A variable neighborhood-based
in the form of mixed integer non linear programming problem. heuristic for the heterogeneous fleet vehicle routing problem,‖ European
We solve the model using a hybrid of heuristic and exact Journal of Operational Research 197, 2009, pp. 509-518.
method. [18] J. Jiang, K. M. Ng, K.L. Poh and T. M. Teo, ―Vehicle routing problem
with a heterogeneous fleet and time windows,‖ Expert Systems with
References Applications, 41, 2015, pp. 3748-3760.
[19] A. Subramanian, P. H. V. Penna, E. Uchoa, and L. S. Ochi, ―A hybrid
[1] Phannikul, T. and Sindhuchao, S. (2010) ‘A customized tabu search for
algorithm for the Heterogeneous Fleet Vehicle Routing Problem,‖
vehicle routing problem with simultaneous pickup and deliver‘,
European Journal of Operational Research, 221, 2012, pp. 285-295.
International Journal of Science and Technology, Vol. 15, No. 2, pp.70–
82. [20] M. Yousefikoshbakht, A. Dolatnejad, F. Didehvar, and F.Rahmati, ―A
modified column generation to solve the heterogeneous fixed fleet open
[2] G. B. Dantzig, and J. H. Ramser, ―`The truck dispatching problem,‖
vehicle routing problem,‖ Journal of Engineering, Vol. 2016, 2016, pp.
Management Science, 6, 1959, pp. 80-91.
1-12.
[3] J.-F. Cordeau, G. Laporte, J.-Y. Potvin, and M.W.P. Savelsbergh,
[21] N. A. Wassan, and G. Nagy, ―Vehicle routing problem with deliveries
―Transportation on demand,‖ In C. Barnhart and G. Laporte, editors,
and pickups: Modeling issues and meta-heuristics solution approach,‖
Transportation, Handbooks in Operations Research and Management
Int. J. of Transportation, 2(1), 2014, pp. 95-110.
Science, 2007, pp. 429-466. Elsevier, Amsterdam.
[22] C. Barnhart, E.L. Johnson, G.L. Nemhauser, M.W.P. Savelsbergh, and
[4] G Laporte. ―Location routing problems in golden B, Assad A (eds)
P.H. Vance, ―Branch-and-price: Column generation for solving integer
Vehicle Routing: Methods and Studies (North-Holland: Amsterdam)‖,
programs,‖ Operations Research, 46, 1998, pp. 316-329.
1988, pp 293–318.
[23] G. Desaulniers, J. Desrosiers, I. Ioachim, M.M. Solomon, F. Soumis, and
[5] Golden, B. L., Raghavan S., Wasil E. A. 2008. The vehicle routing
D. Villeneuve, ―A unified framework for deterministic time constrained
problem: latest advances and new challenges. Springer, New York.
vehicle routing and crew scheduling problems,‖ In T.G. Crainic and G.
[6] Toth, P., Vigo, D. (2nd Eds.). Vehicle routing : Problems, Methods, and Laporte, editors, Fleet Management and Logistics, pp. 57-93. Kluwer,
Applications, Society for Industrial and Applied Mathematics & Norwell, MA, 1998.
Mathematical Optimization Society, Philadelphia PA, 2014.
[24] Y. Dumas, J. Desrosiers, and F. Soumis, ―The pickup and delivery
[7] M. Drexl, ―Applications of the vehicle routing problem with trailers and problem with time windows,‖ European Journal of Operational Research,
transshipment,‖ Technical Report LM-2011-06, Johannes Gutenberg 54, pp. 7-22, 1991.
University Mainz, 2011.
[25] J. Desrosiers, Y. Dumas, and F. Soumis, ‗A dynamic programming
[8] A. Hoff, H. Andersson, M. Christiansen, G. Hasle and A. Lokketangen, solution of the large-scale single-vehicle dial-a-ride problem with time
"Industrial aspects and literature survey: fleet composition and routing," windows,‖ American Journal of Mathematical and Management
Computers & Operations Research, 37(12), 2010, pp. 2041-2061. Sciences, 6, 1986, pp. 301-325.
[9] B. Golden, A. Assad, L. Levy, and F. G. Gheysens, ―The fleet size and [26] E-C. Cortes, E-C, M. Matamala, and C. Contardo, ―The pickup and
mix vehicle routing problem‖. Computers and Operations Research, 11, delivery problem with transfers: Formulation and a branch-and-cut
1984, pp. 49-66. solution method,‖ European Journal of Operational Research, 200(3),
[10] R. Baldacci, M. Battarra, and D. Vigo, ―Routing a heterogeneous fleet of 2010, 711{724}.
vehicles,‖ In B. L. Golden, S. Raghavan, E. A. Wasil, eds. The Vehicle [27] S. Ropke, and J. F. Cordeau, ―Branch and cut and price for the pickup
Routing Problem: Latest Advances and New Challenges, 2008, (pp. 1– and delivery problem with time windows,‖ Transportation Science, 43,
25). Springer, New York. 2009, pp. 267-286.
[11] R. Baldacci, P. Toth, and D. Vigo, ―Exact algorithms for routing [28] Q. Lu and M. Dessouky, ―An exact algorithm for the multiple vehicle
problems under vehicle capacity constraints,‖ Annals of Operations pickup and delivery problem,‖ Transportation Science, 38, 2004, pp.
Research 175, 2010,pp. 213–245. 503-514.
[12] C. T. Koc, O. Bektas, G. Jabali, and G. Laporte, ―Thirty years of [29] M.W.P. Savelsbergh and M. Sol, ―The general pickup and delivery
heterogeneous vehicle routing,‖ European Journal of Operational problem,‖ Transportation Science, 29, 1995, pp. 17-29.
Research, 249, 2016, pp. 1-21.
[30] G. Desaulniers, J. Desrosiers, A. Erdmann, M.M. Solomon, and F.
[13] F. H. Liu, and S. Y. Shen, ―The fleet size and mix vehicle routing Soumis, ―VRP with pickup and delivery,‖ In P. Toth and D. Vigo,
problem with time windows,‖ Journal of the Operational Research editors, The Vehicle Routing Problem, volume 9 of SIAM Monographs
Societry, 50(7), 1999, pp. 721-732. on Discrete Mathematics and Applications, chapter 9, pp. 225-242.
[14] O. Braysy, W. Dullaert, G. Hasle, D. Mester, and M. Gendreau, ―An SIAM, Philadelphia, 2002.
effective multi-restart deterministic annealing metaheuristic for the fleet

IJTRD | Jan-Feb 2018


Available Online@www.ijtrd.com 271

You might also like