• 沒有找到結果。

具時間窗的車輛途程問題之研究

N/A
N/A
Protected

Academic year: 2021

Share "具時間窗的車輛途程問題之研究"

Copied!
5
0
0

加載中.... (立即查看全文)

全文

(1)

 

 

An Investigation of the Vehicle Routing Problem with Time Windows

NSC-88-2213-E-009-041

87  8  1  88  7  31 

 !"# $%&'()*+* ,-.)/

    !"#$%& '&()*+,-./01 2 34 567869 :;<=>?-@ABC/>?DEFGH I.JKLM 34% 567 869:NO;<=>?)*PQ-R STUVWDE%X?YVZ[HI.JK LM 34%NO;<=>?- \]^_ 569:` 34`a Abstract

This research is concerning the vehicle routing problem with multiple vehicle types and time window constraints. Several insertion-based savings method heuristics are presented. The heuristics are tested on twenty-four 100-customer problems modified from the literature. We did some experiment to demonstrate that heuristics with the consideration of a sequential route construction parameter would yield significantly better solution quality than all other heuristics tested. Key words: vehicle routing, heuristics, time

windows, heterogeneous fleets 

The classical fleet size and mix vehicle routing problem (FSMVRP) is a problem of simultaneously determining the composition and routing of a heterogeneous fleet of vehicles in order to service a pre-specified set of customers with known delivery demands from a central depot. Since the temporal aspect of vehicle routing problems has become increasingly important in realistic applications, this study extends the classical FSMVRP by imposing time window constraints on the customers and the central depot. The time window constraints considered in this paper constitute “hard” constraints. That is, a vehicle can not visit a customer beyond a specified latest starting service time and must wait if it arrives too early at a customer location. Clearly, the FSMVRP with time windows (FSMVRPTW) can also be regarded as a generalization of the classical vehicle routing problem with time windows (VRPTW).

We now state our problem in detail as follows. Let G = (V, A) be a directed graph with node set V = N ∪ {0} and arc set A = {(i, j)| i∈V, j∈V, i ≠

j}, where N = {1, 2,…, n} denotes the customer set, and node 0 denotes the central depot. With each node i∈V is associated a demand qi, a service time si and a time window (ai, bi) except that q0 and s0 are zero. A distance matrix [di, j]

and a travel time matrix [ti, j] defined on the arc set are known. Moreover, we have a given number of vehicle types with known fixed costs and known capacities. Each type of vehicles is assumed to be available with infinite supply. The objective of the FSMV RPTW is to minimize the sum of the vehicle fixed costs and routing costs such that the following constraints are satisfied. (1) Each route begins and ends at the central depot. (2) Each customer in N is visited exactly once without violating the time window constraints. (3) The total demand of all customers served on a route can not exceed the capacity of the vehicle assigned to that route. One perhaps may argue that the total cost seems to be an inappropriate sum of long-term and short-term costs. In fact, this surrogate cost should not result in any confusion if one really catches what he intends to plan. Depending on the planning purpose, the total cost approach can be justified as follows.

Case (a): Regard the FSMVRPTW as a short-term (or daily) issue.

A distribution manager might be interested in minimizing total cost for a daily service with known customer demands. In here we may treat the fixed cost term as operational related vehicle fixed costs, not the vehicle capital/purchasing costs. For example, servicing customers by using an owned fleet, we perhaps need to consider the following vehicle dependent fixed costs such as fixed dispatching costs, payment in driving different types of vehicles for drivers, and fees for the need of on-truck workers when using larger vehicles. Note that sunk costs such as purchasing/depreciation cost, insurance cost and tax should be exclude d when one plans a routing schedule for a daily service. That is, costs considered here are not from an accounting viewpoint. Moreover, even if in the extreme case no vehicle related fixed cost is considered, one may simply set the vehicle fixed cost term mentioned in the paper to zero.

Case (b): Regard the FSMVRPTW as a mid-term (or long-term) issue.

(2)

purchase/lease a fleet of vehicles for future services, then the fleet size and mix problem becomes a mid-term planning issue. Customer attributes such as demands, time windows or others for a planning period are usually with uncertainties. How to estimate or forecast the possible needs is not the purpose of this paper and they will be assumed as given data. Once we view the FSMVRPTW as a mid-term issue, the primary purpose should be the finding of the best fleet composition; a routing schedule determined under this situation appears to be useless and an exact routing plan with known demands should be rescheduled for each day. Considering routing and scheduling as factors in mid-term planning is to possibly help in determining an appropriate heterogeneous fleet of vehicles for future services. For mid-term planning purpose, the costs such as purchasing/depreciation cost, insurance cost and tax mentioned in case (a) now have to be considered as a fixed cost term for each specific type of vehicles. A linkage between the aspects of short-term and mid-term should not be ignored as one makes a planning decision. Thus, a surrogate cost should not raise the question of an inappropriate sum of mid-term cost and short-term cost (or daily cost).

In consideration of the possible strengths and weaknesses of the methods for the FSMV RP and the VRPTW, we developed several insertion-based savings heuristics for solving the FSMVRPTW. Throughout the paper, ‘vehicle’ and ‘route’ will be used interchangeably.

According to the literature1-4, heuristic methods for FSMV RP can be summarized as follows. (1) Adaptations of the Clarke and Wright savings algorithm1. (2) The giant tour

partitioning approach1 (route first-cluster

second). (3) The matching based savings

heuristics2. (4) The generalized assignment

based heuristic3. (5) The sophisticated

improvement based heuristic4. (6) composite heuristics5. Recently, Salhi and Sari6 first proposed a multi-level composite heuristic for the multi-depot FSMVRP.

METHODOLOGY FOR THE FSMVRPTW It is clear that a route may contain either only one customer or more than one customer. Let TYPE-I and TYPE-II represent the sets of routes containing only one customer and containing at least two customers, respectively. For an arbitrary directed TYPE-II route, say (0-f-…-g-0), we will call (f-…-g) a generalized customer and (g-…-f) a reversed generalized customer.

For the traditional savings algorithms based on the Clarke-Wright formula8, any two routes to be combined must fall into one of the following three cases: (a) TYPE-I, TYPE-I; (b) TYPE-I, TYPE-II; (c) TYPE-II, TYPE-II.

Knowing that insertion-type algorithms yield better solution quality in solving the VRPTW, we instead of the combining operation of CW-based algorithms by using the insertion point of view. Usually, all links of each route are potential insertion positions for a standard customer. Therefore, a good idea to solve the FSM VRPTW is that for a standard customer, a generalized customer, or a reversed generalized customer we should compute their possible resulting savings with respect to each link of other routes.

Our savings formulae are extensions of the formulae proposed by Golden et al.1 for solving FSMVRP (details can refer to their paper.)

The feasibility conditions and modified savings formulae for solving the FSMVRPTW, and the improvement process are developed. Feasibility conditions

To simplify the analysis, we assume that the travel time matrix [ti, j] satisfies the triangle inequality. Without loss of generality, the depot with no time window and each customer with zero service time are assumed.

Note that vehicle departure times from the central depot are decision variables. We will assume that initially the first customer on each constructed route is serviced at the earliest possible time. After the complete vehicle schedules have been created, we can compute the actual departure time for each vehicle from the central depot by eliminating any unnecessary waiting time.

Regarding the capacity feasibility condition for a pair of routes under consideration, we only require that the sum of their total demands can not exceed the largest vehicle capacity.

For the cases of (TYPE-I, TYPE-I) and (TYPE-I, TYPE-II), we simply try to insert a standard customer into a link of the other route under consideration. It is not hard to see that we need to check two conditions if a route only containing customer k is to be inserted into a candidate link (i, j).

For the case of (TYPE-II, TYPE-II), more complex operations in checking time feasibility are needed because of the presence of a generalized customer and of a reversed generalized customer. We first describe the operations for the generalized customer.

In case of considering the reversed generalized customer of an arbitrary route, we need first see whether the corresponding route examined in a reverse direction is still time- feasible. Other operations are similar to the insertion of a generalized customer.

Modified savings formulae

The savings formulas for VRPMVT described previously consider both the spatial costs and the vehicle acquisition costs. However, temporal constraints should not be ignored in solving

(3)

VRPMVTTW because route feasibility may be strongly affected by the time windows. To be less myopic, the temporal restriction should be a factor in determining which two routes to be selected. We now describe the modified savings formulas for each of the three different cases in the following.

Case (1): the insertion of a TYPE-I route into link

( ,

i

II

j

II

)

of a TYPE-II route.

Let

k

I be the customer of a given TYPE-I

route. For cost spent in actual traveling, this operation will reduce cost

2c

0,kI

+

c

i jII, II by paying extra cost

c

i kII, I

+

c

k jI, II. Thus, the net savings is

2c

0,kI

+

c

i jII, II

c

i kII, I

c

k jI, II. To maintain route feasibility for the future insertions, one possible way is that for customer

j

II we try to minimize its pushed forward time due to the insertion of customer

k

I. Therefore, we can compute the temporal opportunity cost by using

D

newjII

D

jII. In contrast to the CW savings

S

i j, , our modified CW-savings (MS) for VRPMVTTW is given by

(

)

.

w

0

where

),

D

D

(

)

w

(

)

c

c

c

c

(

w

j

,

k

,

i

MS

II II II I I II II II I j new j j , k k , i j , i k 0, II I II

1

1

2

×

+

×

=

To consider the possible savings in vehicle acquisition costs, we define other modified formulas in a manner similar to those savings formulas for VRPMVT as follows. Modified Combined Savings (MCS)

).

z

F(z

)

F(z

)

F(z

)

j

,

k

,

i

MS(

)

j

,

k

,

i

MCS(

II I II I II I II II I II

+

+

+

=

Modified Optimistic Opportunity Savings (MOOS)

(

P(z

z

)

z

z

)

.

F

)

j

,

k

,

i

MCS(

)

j

,

k

,

i

MOOS(

II I II I II I II II I II

+

+

=

Modified Realistic Opportunity Savings (MROS)

(

P(z

z

)

z

z

)

.

F

)

(

)

j

,

k

,

i

MCS(

)

j

,

k

,

i

MROS(

II I II I II I II II I II

+

τ

δ

+

=

MROS with a route shape parameter λλλλ

(

)

c

.

w

)

j

,

k

,

i

MROS(

)

j

,

k

,

i

(

MROS

II II,j i II I II II I II

λ

×

+

=

λ

1

Case (2): the insertion of a TYPE-I route into a link of another TYPE-I route.

This situation is special instances of Case (1) if

we let either i or j in above equations be the central depot. For the purpose of being used later, we denote the related savings formulas for this case by substituting the superscripts I and II in the above equations with the respective notations I1 and I2. For example, the modified combined savings will be given by

).

z

F(z

)

F(z

)

F(z

)

j

,

k

,

i

MS(

)

j

,

k

,

i

MCS(

2 1 2 1 2 1 2 2 1 2 I I I I I I I I I I

+

+

+

=

Case (3): the insertion of generalized customer

(

f

II1

− −

K

g

II1

)

of a TYPE-II route into link

( ,

i

II2

j

II2

)

of a distinct TYPE-II route.

For cost spent in actual traveling, this operation will save a quantity of

c

0,fII1

+

c

gII1,0

+

c

iII2,jII2 by paying extra cost

c

iII2,fII1

+

c

gII1,jII2. Thus, the net savings is

c

0,fII1

+

c

gII1,0

+

c

iII2,jII2

c

iII2,fII1

c

gII1,jII2. In contrast to the insertion of a standard customer, the insertion of a generalized customer tends to result in a bigger pushed forward time for customer

j

II2. To be on a equal computation basis, we change the temporal opportunity cost used in the above two cases to

(

D

newjII2

D

jII2

) /

cus

II1 , where

cus

II1 is the

number of customers that consists of the generalized customer

(

f

II1

− −

K

g

II1

)

. Accordingly, the modified CW savings for the case of (TYPE-II, TYPE-II) can be expressed as follows.

.

cus

/

)

D

D

(

)

w

(

)

c

c

c

c

c

(

w

)

j

,

g

,

f

,

i

MS(

1 2 II 2 II 2 II 1 II 1 II 2 II 2 II 2 II 1 II 1 II 2 1 1 2 II j new j j , g f , i j , i , g f , II II II II

×

+

+

×

=

1

0 0

All other modified savings formulas for this case can be obtained in a way similar to those formulas in Case (1). For example, the modified combined savings is given by

).

z

F(z

)

F(z

)

F(z

)

j

,

g

,

f

,

i

MS(

)

j

,

g

,

f

,

i

MCS(

2 1 2 1 2 1 1 2 2 1 1 2 II II II II II II II II II II II II

+

+

+

=

Composite improvement scheme

As mentioned previously, several solutions built in the construction phase are recorded and passed to the improvement phase. It is known that a worse solution can be reached during an improving process for methods such as simulated annealing and tabu search in order to avoid trapping in a local minimum. With the same consideration, our composite improvement scheme consists of the following two major

(4)

procedures: a perturbation procedure intending to jump to a poor solution and an improvement procedure purely finding a better solution. Before improving each solution obtained in the construction phase, we construct a cyclic route list for each solution. The purpose of the route list is to define our search sequence when performing the improvement process. In our current implementation, we first find the farthest customer on each route (with respect to the central depot) and then starting from one of these customers we sequenced them by repeatedly finding their nearest neighbor.

Accordingly, the cyclic route list is well

defined. 

COMPUTATION RESULTS

For convenience, we use MCS, MOOS, MROS, MC S-, MOOS-, MROS- to denote

the heuristics that use the respective savings formulae. Furthermore, MCS- ., MOOS-.,

MROS-.!refer to the last three heuristics with

the consideration of parameter. In order to evaluate the performance of our heuristics, we have modified those savings algorithms of Golden et al.1 for comparison purpose.

The problems we tested are from Solomon’s data sets for VRPTW7 except that costs for the different types of vehicles are added. The problem set by Solomon consists of fifty-six 100-customer problems of six data types. All heuristics were programmed in Fortran-90 and run on a Pentium-233 personal computer. Computations were all real arithmetic.



In order to avoid constructing too many short routes, a parameter η that represents the degree of sequential route construction was considered and verified. Moreover, a number of best solutions each corresponding to a different mix of vehicles are recorded in the construction phase and passed to a improvement phase in which a worse solution can be allowed during the improving process. Computational results demonstrate that our insertion-based savings strategy is encouraging. The introduction of parameter η into our heuristics has significantly improved the solution quality.

In the paper, performance evaluation is through the comparisons of solution results for different heuristics. Justifying them by using a tight lower bound to the FSMVRPTW would be more meaningful. From a practical viewpoint, other variants of the FSMVRPTW are also worth studying further. The model presented in the paper has been extended in order to satisfy more practical needs such as multiple uses of vehicles, limited private fleets with an outside carrier option, vehicle accessibility to customer location and transfer points. The extended version is now acting as a core module of a

distribution planning decision support system that includes a geographic information sub system and a global positioning subsystem for a transportation company in Taiwan.  

The outcome of this research is promising. Readers may find the related results in further detail in the literature 9-12.



1. B. Golden, A. Assad, L. Levy and E. Gheysens (1984) The fleet size and mix vehicle routing problem. Comps & Opns Res. 11, 49-66.

2. M. Desrochers and T.W. Verhoog (1991) A new heuristic for the fleet size and mix vehicle routing problem. Comps & Opns Res. 18, 263-274.

3. E. Gheysens, B. Golden and A. Assad (1986) A new heuristic for determining fleet size and composition. Math. Prog. Studies 26, 233-236.

4. S. Salhi and G.K. Rand (1993) Incorporating vehicle routing into the vehicle fleet composition problem. Eur. J. Opl Res. 66, 313-330.

5. A.F.W. Han and B.C.M. Chang (1995) New

heuristics for fleet size and mix vehicle routing problem. Presented at the INFORMS Fall’95 International Conference Meetings, New Orleans, US. October 1995.

6. S. Salhi and M. Sari (1997) A multi-level composite heuristic for the multi-depot vehicle fleet mix problem. Eur. J. Opl Res. 103, 95-112.

7. M.M. Solomon (1987) Algorithms for the vehicle routing and scheduling with time window constraints. Opns Res. 15, 254-265. 8. G. Clarke and J. Wright (1964) Scheduling of vehicles from a central depot to a number of delivery points. Opns Res. 12, 568-581. 9. Liu, F.H. and Shen, S.Y. (1999). A Method for VRP with Multiple Vehicle Types and Time Window. Proceedings of the National Science Council: Part A: Physical Science and Engineering, 23(4), pp. 526-536. 10. Liu, F.H. and Shen, S.Y. (1999) A

route-neighborhood-based metaheuristic for vehicle routing problem with time windows. European Journal of Operational Research, 118, pp. 485-504.

11. Liu, F.H. and Shen, S.Y. (1999). The Fleet Size and Mix Vehicle Routing Problem with Time Window. Journal of the Operational Research Society, 50, pp. 721-732.

12. Shen, S.Y. (1999). Time Window

Constrained Vehicle Routing Problems. Doctoral Dissertation (Advisor: F. H. Liu), Department of Industrial Engineering & Management, National Chiao Tung University, Taiwan, Republic of China.

(5)

參考文獻

相關文件

Both problems are special cases of the optimum communication spanning tree problem, and are reduced to the minimum routing cost spanning tree (MRCT) prob- lem when all the

Microphone and 600 ohm line conduits shall be mechanically and electrically connected to receptacle boxes and electrically grounded to the audio system ground point.. Lines in

Given a graph and a set of p sources, the problem of finding the minimum routing cost spanning tree (MRCT) is NP-hard for any constant p &gt; 1 [9].. When p = 1, i.e., there is only

• Any node that does not have a local replica of the object periodically creates a QoS-advert message contains (a) its δ i deadline value and (b) depending-on , the ID of the node

Experiment a little with the Hello program. It will say that it has no clue what you mean by ouch. The exact wording of the error message is dependent on the compiler, but it might

Since the sink is aware of the location of the interested area, simple greedy geographic routing scheme is used to send a data request (in the form of

Therefore, the purpose of this study is to propose a model, named as the Interhub Heterogeneous Fleet Routing Problem (IHFRP), to deal with the route design

此外,由文獻回顧(詳第二章)可知,實務的車輛配送路線排程可藉由車 輛路線問題(Vehicle Routing