Abstract
A systematic method is proposed to generate time information on the paths and nodes on a time-window network for planning and selecting a path under a constraint on the latest entering time at the destination node. Specifically, three algorithms are proposed to generate six basic time characteristics of the nodes, including the earliest and latest times of arriving at, entering, and departing from each node on the network. Using the basic time characteristics, we identify inaccessible nodes that cannot be included in a feasible path and evaluate the accessible nodes’ flexibilities in the waiting time and staying time. We also propose a method for measuring adverse effects of including an arc. Finally, based on the time characteristics and the proposed analyses, we develop an algorithm that can find the most flexible path in a time-window network.
Similar content being viewed by others
References
Baker EK (1983). An exact algorithm for the time-constrained traveling salesman problem. Opns Res 31: 938–945.
Baker E (1982). Vehicle routing with time window constraints. Logist Transb Rev 18: 385–401.
Ahn BH and Shin JY (1991). Vehicle-routing with time windows and time-varying congestion. J Opl Res Soc 42: 393–400.
Balakrishnan N (1993). Simple heuristics for the vehicle routing problem with soft time windows. J Opl Res Soc 44: 279–287.
Desrochers M and Soumis F (1988). A reoptimization algorithm for the shortest path problem with time windows. Eur J Opl Res 35: 242–254.
Dumas Y, Desrosiers J, Gelinas E and Solomon MM (1995). An optimal algorithm for the traveling salesman problem with time windows. Opns Res 43: 367–371.
Desaulniters G and Villeneuve D (2000). The shortest path problem with time windows and linear waiting costs. Transp Sci 34: 312–319.
Dijkstra EW (1959). A note on two problems in connection with graphs. Numer Math 1: 269–271.
Fox BL (1978). Data structures and computer science techniques in operations research. Opns Res 26: 686–717.
Eppstein D (1994). Finding the k shortest paths. Proceeding of the 35th Annual Symposium on Foundations of Computer Science. pp 154–165.
Chen YL Rinks D and Tang K (1997). Critical path in an activity network with time constraints. Eur J Opl Res 100: 122–133.
Chen YL and Tang K (1998). Minimal time paths in a network with mixed time constraints. Comput Opns Res 25: 793–805.
Chen YL and Yang HH (2000). Shortest paths in traffic-light networks. Transp Res:B 34: 241–253.
Acknowledgements
We thank two anonymous referees for their many helpful suggestions that improved this paper. The first author was supported, in part, by the Ministry of Education (MOE) Program for Promoting Academic Excellence of Universities under the Grant Number 91-H-FA07-1-4.
Author information
Authors and Affiliations
Corresponding author
Appendix
Appendix
Algorithm I. Evaluation of EA i , EE i , and ED i :
Step 1: Initialization
For each node i, except the source node, set EA i =∞, EE i =∞, and ED i =∞;
EA 1=0; EE 1=0; ED 1=0;
Mark all the nodes as unexamined nodes;
Step 2: Let node i be the node with the minimum ED i value among the unexamined nodes;
For each unexamined successor j of node i, do
if ED i +dur(i, j)<EA j , then
EA j=EDi+dur(i, j);
If EA j > , then go to the next iteration of the for-loop;
Find the minimal k(1≤k≤E j ), such that EA j ≤Eend j k;
EE j=#128;;max{EAj, Ebeginj k};
If EE j > , then go to the next iteration of the for-loop;
Find the minimal k(1≤k≤D j ), such that EE j ≤Dend j k;
EDj=max{EEj, Dbeginj k};
If ED j has been modified, then EP j =i;
/* EP j is used to store the earliest path route */
Mark node i as an examined node;
Step 3: Repeat step 2 until all the nodes have been examined;
Algorithm II. Evaluation of LE i and LD i :
Step 1: Initialization
For each node i other than destination n, do LE i =−∞ and LD i =−∞;
LE n = ;
Mark all the nodes as unexamined nodes;
Step 2: Backward computation
Let node i be the node with the maximum LE i among the unexamined nodes;
For each unexamined predecessor j of i, do
if LE i –dur(j, i)>LD j , then
If LE i –dur(j, i)<Dbegin j 1, then go to the next iteration of the for-loop;
Find the maximal k(1≤k≤D j ) such that Dbegin j k≤LE i –dur(j, i);
LD j =max{LD j , min{LE i -dur(j, i), Dend j k};
If LD j <Dbegin j 1, then go to the next iteration of the for-loop;
Find the maximal k(1≤k≤E j ), such that Ebegin j k≤LD j ;
LE j =max{LE j , min{LD j , Eend j k}};
If LE j is changed, then set LP j =i;
/* LP j stores the latest path route */
Mark node i as an examined node;
Step 3: Repeat step 2 until all the nodes have been examined.
Algorithm III. Evaluation of LA i :
For each node i except the source node, do
begin
LA i =−∞;
For each predecessor node j of i, do
x=LE i −dur(j, i);
if x≥LD j then y=LD j
else if x≥ED j then begin
Find the maximal k such that Dbegin j k≤x;
y=min{Dend j k, x}
end
else y=−∞;
LA i =max{LA i , y+dur(j, i)};
if LA i , is changed, then set LAP i =j /* LAP i is used to store the node from which we
can arrive at node i in the latest time. */
end
Rights and permissions
About this article
Cite this article
Chen, YL., Hsiao, LJ. & Tang, K. Time analysis for planning a path in a time-window network. J Oper Res Soc 54, 860–870 (2003). https://doi.org/10.1057/palgrave.jors.2601583
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1057/palgrave.jors.2601583