Strojniški vestnik - Journal of Mechanical Engineering 59(2013)9, 564-572 © 2013 Journal of Mechanical Engineering. All rights reserved. D0l:10.5545/sv-jme.2010.268 Original Scientific Paper Received for review: 2010-12-28 Received revised form: 2011-03-03 *Accepted for publication: 2011-09-05 Scheduling for a Single-Terminal Intermodal System Recovery with Poisson Arrivals Nikola Markovic - Paul Schonfeld* Department of Civil and Environmental Engineering, University of Maryland, College Park, USA This paper studies the recovery of an intermodal freight system from a major disruption and develops a model for optimising vehicle schedules under disrupted conditions. The proposed model optimises the recovery of a single-terminal system with relatively short feeder routes on which vehicle roundtrip times are exponentially distributed and arrivals at the terminal are Poisson-distributed. Mathematical expectations are used to formulate the deterministic equivalent for the scheduling problem and a genetic algorithm is applied to optimise the schedules on main routes. The model developed in this paper can be applied to single-terminal transfer systems with any combination of transportation modes using discrete vehicles, as long as the feeder arrivals do not deviate much from the assumed Poisson distributions. Since its computational time is relatively insensitive to the numbers of vehicles on feeder routes, this model can be used to efficiently optimise intermodal systems with numerous vehicle arrivals. Keywords: scheduling, disruption, intermodal, Poisson, genetic algorithm, transfer 0 INTRODUCTION Efficient transfer coordination in an intermodal transportation network can reduce the dwell times of cargos at the transfer terminals where various routes interconnect, thereby also increasing the vehicle utilisation rates, reducing the need for direct routes to connect many origins and destinations, reducing storage requirements at transfer terminals, and improving total system efficiency. In this paper we analyse an intermodal freight system with a single transfer hub and develop a model that optimises the schedule of vehicles on main routes while assuming Poisson arrivals on feeder routes. This model determines the departure times on main routes that minimize the supplier's overall system cost, including storage, vehicle, in-terminal operation and late delivery penalty costs. The optimisation problem addressed in this paper is related to some classical problems of operations research, such as machine scheduling, lot sizing, and supply chains. Somewhat related machine scheduling problems can be found in [1] to [3]. [4] to [7] address the scheduling problem in transfer systems, but under different conditions from those considered here. For example, [4] and [5] analyse different transfer coordination policies and determine the thresholds in the intermodal systems with complex multi-stop routes and lower variance in travel durations, both typical for normal operations. In this paper, we analyse the case with high variances in travel times, which are typical of disrupted operations and model the arrivals as a Poisson process. [6] and [7] deal with scheduling takeoff times, a problem that will be studied in this paper. Both papers optimise departures on a single airline route and under different demand assumptions from those considered here (i.e. [6] assumes uniform demand, whereas [7] adopts time dependent demand). This paper is based on the same framework as [8] and develops a model which, unlike [8], is suitable for intermodal systems with numerous arrivals of vehicles on feeder routes. In [8], Markovic and Schonfeld develop a scheduling model which assumes generally distributed vehicle roundtrip durations and vehicles operating on multiple feeder routes. Low computational efficiency of the stochastic program used in [8] enabled only the optimisation of schedules in systems with relatively few arrivals on feeder routes. In this paper we provide a computationally less demanding model by assuming exponentially distributed vehicle roundtrips and fixed fleet size on feeder routes. These assumptions allow us to model the arrivals as a stationary Poisson process and derive the expectations needed to formulate a scheduling problem that is optimised much more efficiently than the stochastic program in [8]. Thus, the model developed here can efficiently optimise large intermodal systems with numerous arrivals on feeder routes. In this paper we analyse the recovery of a system from a major disruption during which large amounts of freight have accumulated along the feeder routes, which are assumed here to be served by trucks. To dissipate the backlogs we let the trucks on feeder routes operate nonstop and deliver cargo to the terminal where the freight is transferred to main routes, which are assumed here to be aircraft routes. Thus our transfer terminal represents an airport hub. We use pre-determined fleet sizes on feeder routes and seek to optimise the number of departures and specific 564 *Corr. Author's Address: Department of Civil & Environmental Engineering, University of Maryland, College Park, MD 20742, USA, pschon@umd.edu departure schedules on main (air) routes. We consider one-directional flow going from origins along the feeders' routes towards destinations at the main routes, as might be expected in emergency evacuations or recoveries from major disruptions. In Section 1 we describe the operations within the observed intermodal system and explain the tradeoff between different types of costs. The anticipated types of costs, which are included in the objective function, are formulated in Section 2. Section 3 explains the constraints, while Section 4 provides the model formulation that is further tested on numerical examples designed in Section 5. Finally we draw conclusions and suggest possible extensions of this work. 1 PROBLEM We consider an intermodal system with relatively short truck routes that feed cargo to major airplane routes (Fig. 1), which has suffered a major disruption. In order to reduce the backlogs accumulated along the feeder routes while the system is inoperative, each truck operates nonstop and fully loaded between an origin and the hub, without pausing between such round trips while backlogs persist. The trucks collect freight from multiple origins along their feeder routes and deliver it at the airport hub. When the takeoff on route is scheduled at time , the airplane is filled to capacity with freight, as long as freight backlogs persist. If the airplane cannot carry all the freight waiting at the airport, the remaining freight has to wait for the next flight with available capacity. On the other hand, if prior to the takeoff, there is little freight in the terminal's storage connecting to route l, the airplane's capacity is underused and an additional flight may be needed later. For simplicity, we assume that all trucks are similar and all operate at equal maximum capacity. Moreover, we assume that airplanes have similar capacities. Finally, we assume that the expected amount of cargo waiting for connections can never exceed a preset multiple (e.g. 0.8) of the terminal's storage capacity. Our objective is to find the optimal (i) number of takeoffs on each air route and (ii) corresponding schedule, for the given probabilistic durations of roundtrips on truck routes. In computing total cost we consider the storage cost, in-terminal operation cost, penalty for late delivery, and airline service cost. A tradeoff exists between the aforementioned types of costs. The earlier one schedules the takeoff, the lower are the storage and penalty costs associated with the freight that successfully connects. However, the earlier the takeoff is scheduled, the greater are the chances that an airplane's capacity will be underused due to insufficient level of stock. Operating less than full airplanes may require running additional flights, thereby increasing the airline service cost. —^ > j Fig. 1. Intermodal freight system 2 COSTS In this section we introduce the notation used and explain how various types of costs are computed. We begin with the assumptions that allow us to model the arrivals on feeder routes as a Poisson process. We then compute the arrival intensities, which are further used in the development of storage, in-terminal operation, penalty, and airline cost. Suppose that a single truck operates on a relatively short feeder route i whose starting and end point is the terminal where the truckload connects to the airplane route l. Let's assume that the duration of the truck's roundtrip is exponentially distributed with a mean denoted as 1/ X\. Moreover, it is reasonable to assume that the observed transportation process has the following three properties: 1. The probability that a truck will accomplish more than one roundtrip within an infinitesimal time interval is negligible. 2. The duration of a roundtrip does not depend on the duration of the previously completed roundtrip. 3. The probability that a roundtrip will end within the time interval t depends on the interval's length, rather than on the time period in which t was observed. Having adopted the above assumptions, we can model the truck arrivals as a Poisson process with the mean arrival rate XX according to [9] and [10]. If we assign to feeder route i more than one truck, the arrival rate on route i is given in Eq. (1), in which ni represents the number of trucks assigned to feeder route i. = n.X. (1) Furthermore, if we define with II the set of feeder routes connecting to main route l, the arrival rate of truckloads connecting to route l is: X = ^niX'i. (2) If we denote the jth takeoff time on route l as tj, the expected number of truckloads connecting to route l and arriving to terminal between two consecutive flights is: E[TR' (t> -1')] = X (t> -1>). (3) 2.1 Storage Cost To compute the storage cost, we need to keep track of the inventory level. Moreover, since multiple feeder routes connect to multiple main routes, we need to know the stock for each main route. Therefore we define the variable Sl, which defines the inventory level of freight connecting to main route l, after the jth takeoff. We also define Aj representing the amount of freight transported in the jth flight on route l. Considering the inflow and outflow of freight into the terminal storage, Eq. (4) has to hold for all flights on all routes. Please note that S'0, t'0 and A0 all equal 0. Moreover, we assume that all the freight arriving at the terminal before the last scheduled takeoff has to be flown. Thus we also set S'nl to equal 0. Sj-1 + A' (tj - t'j-1) = Aj + Sj Vj e Jl Vl e L. (4) Moreover, since we do not know in advance if there will be enough freight in the terminal's storage to fill the airplane, we specify in Eq. (5) that the airplane will be loaded with all the connecting freight found in terminal that can fit within the airplane's capacity, denoted Ac. A'j = max{Ac,j + (tj -1jj}. (5) Based on the previous derivations, in Eq. (6) we can compute the storage cost between two consecutive flights for freight connecting to route l. Please note that CDT denotes the storage cost per truckload-hour. ^(S)- + S]Jitl -1_l)CDT. (6) We can further compute the total storage cost for freight connecting to route l by summing Eq. (6) over all the flights in J1. SC =11 (Sj + S'j_l)(t'j -t'j_1)CDT. (7) 2 jJ Finally, we can compute the total storage cost by summing Eq. (7) over the set L, which denotes main routes. = 1 EE (S'j + jW; - tj_l)CDT . (8) 2 leL jJ 2.2 In-terminal Operation Cost Here we analyse the loading and unloading cost due to the cargo transfer from trucks to airplanes. We assume that the in-terminal operation cost is lower when a truck arrives slightly before the takeoff and takes its truckload directly to the airplane, instead of unloading it in the terminal storage. Therefore, let's define parameter d so that a truck arriving within the (tj - d, tj) interval takes its truckload directly to the airplane. Now we can compute the expected number of truckloads that will be loaded directly on the airplane: bd d. leL JeJ' (9) Here we assume that d is smaller than the interval between two consecutive flights on the same route. Thus, the expected number of truckloads being loaded directly onto the airplane depends on the number of takeoffs rather than on their schedule. If we denote Ctd to be the unit in-terminal operation cost for the case of direct transfer to the airplane, Cti to be the unit cost for the case of indirect transfer to the airplane, and G to be the total number of truckloads, then the total in-terminal operation cost is: IC = bdCtd + (G - bd )C„. (10) 2.3 Penalty Cost A penalty is imposed for late delivery, reflecting the lower value of freight that is delivered later. Here we assume that the time of the takeoff is relevant for computing the penalty cost. We define a penalty function fp as the piecewise linear function of takeoff time starting from the beginning of the observed time period (the moment the system starts recovering from a disruption), as shown in Fig. 2. TakeoffTime [hr] Fig. 2. Penalty function fp Now we can compute the penalty cost by summing the penalty for all the flights on all the air routes, as shown in Eq. (11). Please note that we again use Aj as defined in Eq. (5), which denotes the number of truckloads carried on the jth takeoff on route l. PC = ZZ Ajfp (tj). leL jJ (11) 2.4 Airline Cost The last type of cost considered is the airline service cost, which covers the use of both airplanes and airport facilities. It is proportional to the number of the airplane roundtrips (takeoffs). We denote the number of takeoffs on route l as nl. Moreover, we denote as C'A the cost of an airplane roundtrip on route l. Finally, the total airline service cost is: ac=x ncA. (12) t1 -11 > t Vj e J V1 e L. (14) The last constraint we consider is the terminal's storage capacity. We assume that the expected amount of freight at the terminal should never exceed the multiple ms of the storage capacity Sc. Since we previously explained how the expected inventory level for freight connecting to route l at takeoff time tj is computed, we must now ensure that the total expected inventory never exceeds the storage capacity msSc. Thus we define parameterpt and control the total inventory level at time pt. In order to do so we first need to find the inventory level of freight connecting to route l at time pt. We introduce sl which denotes the takeoff time on route l prior to pt and define kl which equals the takeoff index j. s' = max {tj: tj < pt}, k' = mdexj :(tj < pt a t' > pt) (15) (16) Now we can compute the expected inventory of freight connecting to route l as: S'ki +^(Pt - s ). (17) Finally we can define the storage capacity constraint by summing Eq. (17) over the set of main routes and setting the sum below the storage capacity Sc multiplied by ms (a safety factor). Please note that the constraint in Eq. (18) should hold for any real value of time parameter pt. XS'k, +X' (p, - s') < Scms Vp, e R. (18) 3 CONSTRAINTS In this section we analyse several constraints needed in order for the mathematical model to fairly represent the real world. The first constraint that we consider is the time window constraint for takeoffs. Utilisation of airport facilities is often restricted to certain time slots. Thus each takeoff must be scheduled within a prespecified time interval. Therefore, the time window constraint is: a1- < t1- < b' Vi e J' Vl e L. 11 1 J (13) Since limited airport capacity might require a minimum time interval between any two flights, we introduce the following constraint. 4 MODEL In the previous section, the types of costs and constraints considered were explained. Now we can present the mathematical formulation of the model in Eqs. (19) to (30), which represents a nonlinear program. Here we provide a compact formulation of the objective function using Eqs. (8), and (10) to (12). In Eqs. (20) to (30), we provide the constraints and other previously derived relationships. MinTC = SC + IC + PC + AC, (19) subject to: S' +1'(tj - t'j_l) = A + Sj Vj e Jl Vl e L, (20) S'j_1 + A! (tj - tj._1) = Aj + Sj Vj e J! V! e L, (20) a!j < tj < bj Vj e J! Vl e L, (21) t'j - j * U Vj e J V' e L, (22) XS'k, +A' (pt - S) < Scms Vp, e R, (23) leL A'j = max{Ac,S,j_1 +A'(tj -1jj}, (24) s' = max{{ :t\
pt), (26)
b d, (27)
l^L jJ
S'0 = t'0 = A0 = S'n, = 0, (28)
tj e R+ Vj e J' Vl e L, (29)
«' e Z+ V/ e L. (30)
The total cost function is a function of the number of takeoffs and takeoff times, as explained in the problem statement. The nonlinear model shown in Eqs. (19) to (30) optimises the schedule while taking into consideration the capacity of airplanes, airport and terminal storage, and time windows for takeoffs. In the following section we apply a genetic algorithm (GA) to optimise the schedule in two case studies. Interested readers may refer to [11] and [12] for more information about GA's.
5 APPLICATION
In order to test our model, we designed two case studies. In the first case, the schedule in an intermodal system with a single main route is optimised. In this simplified optimisation problem we examine the anticipated tradeoff in types of costs through sensitivity analysis. In the second case we analyse a complex system with multiple main routes and time windows.
5.1 Case Study with a Single Air Route
We analyse a system with ten feeder truck routes connecting to a single airplane main route. In Table 1 we provide the average roundtrip time on each feeder route, as well as the number of vehicles operating on
each truck route. We seek to optimise the number of takeoffs and corresponding schedule assuming that all the freight arriving at the terminal before the last takeoff has to be transported. For this case, we assume the input data from Table 2. The optimisation results for 4 to 9 takeoffs are presented in Table 3. We present an optimised schedule for six different numbers of takeoffs and corresponding costs in dollars. Please note that within "other costs" we consider storage, penalty, loading and unloading costs. Moreover, by marginal savings in other costs we consider savings in storage, penalty, loading and unloading costs due to introducing an additional roundtrip flight.
Table 1. Vehicle size and roundtrip duration
Feeder route Average roundtrip duration 1 / [hr] Number of trucks in feeder route
1 1.23 3
2 1.97 4
3 1.73 1
4 2.10 2
5 2.16 1
6 1.94 2
7 2.18 5
8 1.86 2
9 1.68 1
10 2.00 3
The results presented in Table 3 show that the minimum total cost occurs in the case with five takeoffs. Therefore we can conclude that at the cost of 7000 $/flight, one more flight than necessary to satisfy the demand should be introduced. Moreover, we can observe that storage, penalty and loading/ unloading cost decrease with the increase in the number of takeoffs. This outcome was expected and it confirmed the tradeoff between types of cost that was explained in the problem statement. We also note that the marginal savings in storage, penalty and loading/ unloading cost decreases with the number of aircraft roundtrips, which is another anticipated outcome.
Based on the values for storage, penalty and loading/unloading cost we can explore how different flight costs affect the optimised number of takeoffs and thereby the schedule. In Fig. 3, we plot total cost for the case of 4, 5, 6, 7, 8 and 9 roundtrips vs. aircraft roundtrip cost. Fig. 3 also shows five threshold values for airplane roundtrip cost which determine the optimal number of takeoffs. Those values are 1357, 1871, 2771, 4277 and 7509 dollars, respectively. Clearly, for a relatively low cost per plane roundtrip, the total system cost is optimised by scheduling more takeoffs than necessary to satisfy the demand. As the
Table 2. Input data
Airplane capacity A 50 truckloads In-terminal cost Ctd 25 $/truckload
Flight cost C1 A 7,000 $/roundtrip In-terminal cost cti 45 $/truckload
Terminal storage capacity Sc 87.5 truckloads Time of the last takeoff i 15 hrs
Storage multiple (safety factor) ms 0.8 Minimum headway ^min 0.8 hrs
Storage cost CDT 4 $/truckload-hr Arrival rate based on the data from Table 1 X1 12.95 veh/hr
Amount of time d 15 min Penalty function fp (t) 0 if t<2 125t-250 if 2