Fuzzy Vehicle Routing Problem With Uncertainty in Service Time
Fuzzy Vehicle Routing Problem With Uncertainty in Service Time
Fuzzy Vehicle Routing Problem With Uncertainty in Service Time
Abstract
In this paper we have extended the fuzzy multi objective optimization problem
considered by Gupta et al [8] by incorporating another attribute of minimization of
number of vehicles. Reducing the number of vehicles produces substantial savings in
the global transportation costs though some times this goal is achieved with a
compromise of other goal. The problem is solved by enhancing the genetic algorithm
(FVRPTW) developed by Gupta et al [8] in MATLAB. Also the time taken to serve a
customer is considered to be dynamic since practically it is highly impossible to
predict the exact time taken to serve a customer.
1. Introduction:
The Vehicle routing problem calls for the determination of the optimal set of routes to
be performed by a fleet of vehicles to serve a given set of customers, and it is one of
the most important, and studied, combinatorial optimization problems. Dantzig and
Ramser [3] introduced this problem in 1959 where they described a real-world
application concerning the delivery of gasoline to service station and proposed the
first mathematical programming formulation and algorithmic approach. In 1964,
Clarke and Wright [2] proposed an effective greedy heuristic that improved on the
Dantzig-Ramser approach. Following these two seminal papers, hundreds of models
and algorithms were proposed for the optimal and approximate solutions of the
different versions of VRP. The literature on the development of genetic algorithms
for solving the VRP is rather scant. There is an opportunity for the GA to provide
competitive results, given its relative robustness in the presence of complex
constraints. Some very effective implementations have been reported in the literature
for VRPTW (Potvin and Bengio [5], Thangiah[9]). The work done on the CVRP,
including its distance or time-constrained variant, was mostly aimed at evaluating the
impact of different parameters of a GA on the efficiency of the search. Breedam [1]
compares a GA with previously developed simulated annealing and tabu search
heuristics on different types of VRPs. A detailed literature survey on genetic
algorithm based VRP has been given by Gupta et al [7].
Recently application of fuzzy set to VRP to help find optimal (or near optimal)
solution is widely spreading. A fuzzy vehicle routing and scheduling problem with
five attributes was formulated by Lin [4] and they proposed to solve it with a pure
genetic algorithm method. They used the concept given by Gen and Cheng [6] to
replace the time windows by the concept of fuzzy due time since it can describe
customers preference better than fixed time window. We improved this model (refer
Gupta et al [8]) by also incorporating the time taken to serve each customer since it
affects the time window of the next customer. Here we developed a model with three
attributes; maximization of grade satisfaction, distance minimization, waiting time
minimization and the service time considered was deterministic (i.e. the time taken to
serve the customer was assumed based on experience). However, practically it is
difficult to assess the correct service time. Also it was felt that reducing the number
of vehicles produces substantial savings in the global transportation costs even
though some times this goal is achieved with a compromise of other goal. The
decision can be left to the decision maker’s priority. Therefore, in this paper we have
enhanced our model FVRPTW with four attributes, including fourth attribute to be
minimization of number of vehicles, and making the service time to be dynamic.
Fuzzy vehicle routing problem 499
We briefly describe the model taken by us in the previous work [6] and then discuss
the improvement done in the model. The concept of time windows does not model
the customer’s preference very well. Even though customers are asked to provide a
fixed time window for service, they really hope to be served at a desired time if
possible. Such a desired time is called a fuzzy due time. Fuzzy vehicle routing
problem is formulated based on the concept of fuzzy due time, where the membership
function of fuzzy due time corresponds to the grade of satisfaction of a service time.
It is improved by adding the time taken to serve each customer dynamically thereby
affecting waiting time of the other customers. The objectives considered here are to
maximize the average grade of satisfaction over customers, minimize the number of
vehicles, the total travel distance and total waiting time for vehicles.
The grade of satisfaction of service µi(t) can be defined for any service time (t>0) as
µi(t) = (1)
where (ei, li) represents the earliest and the latest start time of customer i and t is the
time at which the customer is served. In fuzzy set theory, a triangular fuzzy number
(TFN) with respect to the grade of satisfaction for service time can be defined by the
triplet (ei, ui, li). The membership function of the fuzzy due time of the customer i by
µi(ti) can be shown as equation (2). If a customer is served at his/her desired due
time, the grade of satisfaction for him/her is 1 (full satisfaction); otherwise, the grade
of satisfaction gradually decreases with the increase of difference between the service
time and desired due time. The grade of satisfaction will be 0 (no satisfaction) if the
service time falls outside the time interval.
= (2)
The overall degree of service satisfaction of vehicle k to all its service customers
(SC)k is calculated as
We can find out the maximal service satisfaction of vehicle k to all its service
customers through maximizing the value of (SC)k.
n m
Minimize FS = ∑∑ x
j =1 k =1
0 jk (7)
Where
Fitness is calculated based on the original objective functions. The weighted sum of
objectives for a chromosome is given by:
The fuzzy logic concept was first introduced by L.A. Zadeh in1965. It was proposed
as an extended version of Aristotelian logic considering all values between 0 and 1.
The updated mathematical model of fuzzy vehicle routing problems with time
windows (FVRPTW) is given below:
Constants
Variables
n m
Minimize ∑∑ x
j =1 k =1
0 jk , (3.1)
Maximize (3.2)
Minimize (3.3)
Minimize (3.4)
Subject to,
(3.5)
(3.6)
(3.7)
(3.8)
(3.9)
Fuzzy vehicle routing problem 503
(3.10)
(3.11)
(3.12)
(3.13)
where the subscript 0 stands for the central depot of the fleet of the vehicles.
Objective (3.1) minimizes fleet size, objective (3.2) maximizes the average grade of
satisfaction, objective (3.3) minimizes total travel distance, and objective (3.4)
minimizes total waiting time for vehicles. Constraint (3.5) ensures that the service
time for each customer is within a tolerable interval of time. Constraint (3.6) ensures
that each customer is serviced by one and only one vehicle. Constraint (3.7) and (3.8)
ensures that for each customer, there are only two customers directly connected with
him, one directly reaches him, and another he directly travels to by a vehicle.
Constraint (3.9) and (3.10) guarantee schedule feasibility with respect to time
considerations.
Fitness is calculated based on the objective function as shown in equation (8). The
four objectives considered are:
(i) minimizing the fleet size
(ii) minimizing the total distance traveled,
(iii) maximizing the average grade of customer satisfaction, and
(iv) minimizing total waiting time over vehicles.
There are tradeoffs between objectives. Thus the solution obtained is a compromised
solution (nearly optimal) for considering different objectives at the same time. It is
easier for a dispatcher to acquire a best compromise solution by minimizing the
overall cost of objectives. He can satisfy the bigger costs of the objectives but
sacrifice the smaller to minimize the overall cost.
The application of this improved model in a paper distribution problem where the
supplier delivers printing paper shipment to customers has been reconsidered. The
necessary data to execute the model is given below:
504 R. Gupta, B. Singh and D. Pandey
Destinations Distribution C1 C2 C3 C4 C5 C6 C7 C8
(Customers) Centre
Distribution 0 10 15 8 5 10 15 20 10
Centre
C1 10 0 5 5 10 15 20 15 15
C2 15 5 0 10 15 20 5 10 5
C3 8 5 10 0 20 5 8 5 20
C4 5 10 15 20 0 8 10 20 15
C5 10 15 20 5 8 0 5 15 20
C6 15 20 5 8 10 5 0 20 15
C7 20 15 10 5 20 15 20 0 8
C8 10 15 5 20 15 20 15 8 0
Destinations C1 C2 C3 C4
(Customers)
Service time e1 u1 l1 e2 u2 l2 e3 u3 l3 e4 u4 l4
Required time 8:00 9:00 10:00 9:00 10:00 11:00 10:00 11:00 12:00 11:00 12:00 13:00
Destinations C5 C6 C7 C8
(Customers)
Service time e5 u5 l5 e6 u6 l6 e7 u7 l7 e8 u8 l8
Required time 12:00 13:00 14:00 13:00 14:00 15:00 14:00 15:00 16:00 15:00 16:00 17:00
The paper supplier confronts a vehicle routing problem, which consists of a fleet of 4
vehicles and 8 customers located in the Northern Taiwan. The objective is to design a
dispatching strategy for distribution of papers to 8 customers by 4 vehicles in the least
time. It is assumed that the load in the vehicle doesn’t exceed its capacity. The
service time taken to serve each customer has been generated randomly to make the
system robust.
4. Experimental Results
Computational experiments were conducted to test the effectiveness of the proposed
algorithm. The basic setting of weights for the evaluation function and the parameters
(pop_size, max_gen) for genetic algorithms is given in Table 4.1.
Fuzzy vehicle routing problem 505
Based on the above settings, the population size was varied from 50 to 150. The
average results over 10 runs for each case are reported in Table 4.2. The results show
that when the population size is larger than 80, the total fitness is better. We get the
best fitness corresponding to population size of 120, in which we achieve the best
value for all the attributes with little compromise on slightly more waiting time.
Based on the above settings, the weights of objective functions (8) were varied as
shown in Table 4.3 to investigate how they impact on the final decision. From the
results we can see that emphasis on the objective of distance minimization will lead
to a much better solution (with total fitness of 0.2).
The chromosome and the best route corresponding to each setting have been
displayed in Table 4.4. The second column represents the chromosomes as a
sequence of customers generated randomly. The third column gives the number of
vehicle used to serve the customers. The last column shows the path which each
vehicle will follow starting from depot, satisfying the time windows of the customers
and coming back to depot..
ρ1 ρ2 ρ3 ρ4 pop_size max_gen
0.5 0.3 0.1 0.1 100 500
5. Conclusions
This algorithm provides many compromised strategies to dispatcher which helps him
taking a decision in any given situation. Looking at the customer’s preference he can
very well plan the priorities of the goals. Reducing the fleet size really helps the
dispatcher in saving company’s transportation cost. The solutions given above are the
best solutions under given circumstances from dispatcher’s point of view. In case any
customer demands an early service or doesn’t want to wait at all, an extra vehicle can
be arranged for that customer which will cost more to the dispatcher but customer’s
satisfaction grade will be high that will help the dispatcher in future business.
References
[1] A. V. Breedam, An analysis of the effect of local improvement operators in
genetic algorithms and simulated annealing for the vehicle routing problem, RUCA
Working Paper 96/14, University of Antwerp, Belgium, (1996).
Fuzzy vehicle routing problem 507
[5] J.Y. Potvin, and S. Bengio, The Vehicle Routing Problem with Time Windows
Part II: genetic search, INFORMS Journal on Computing, 8 (1996), 165-172.
[6] M.Gen and R. Cheng, Genetic Algorithms and Engineering Design, John Wiley
and Sons, 1996.
[7] R. Gupta, B. Singh and D. Pandey, Genetic Algorithm Based Vehicle Routing
Problems: The State of the Art, Vikram Mathematical Journal, Ujjain, India, 26
(2006), 89-110.
[8] R. Gupta, B. Singh and D. Pandey, A Genetic Approach for Fuzzy Vehicle
Routing Problems with Time Windows, communicated to Indian Academy of
Mathematics, Indore, India, (2009).
[9] S.R. Thangiah, Vehicle Routing with Time Windows using Genetic Algorithms,
Technical report SRU-CpSc-TR-93-23, Slippery Rock University, Slippery Rock,
PA, 1993.