Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

The growing traffic volume puts a huge pressure on container port as an interface between seaborne transport and hinterland transport. Rail transport is regarded as an effective way to tackle the above challenges due to its high capability and low emission. Therefore, improving the efficiency of rail terminal operations at seaports is essential to ensure the sustainability of global container transport chains. This study aims to improve the efficiency of container loading process at a seaport by optimizing the dynamic assignment of internal vehicle fleet in the process of moving containers from storage yards at maritime terminals to the train at the rail terminal.

A number of survey papers have reviewed operations management at container ports and terminals, e.g. Stahlbock and Voss [6]; Carlo et al. [4]. However, the operations management issues directly associated with rail terminals at seaports have been understudied. A few papers focused on the container loading problem, which aims to assign containers to the wagon slots of the train by minimizing the unproductive operations at the rail terminal and/or in the storage areas [1, 2]. Caballini et al. [3] developed a mixed integer linear mathematical programming model to optimize the timings of the trains and the use of the handling resources devoted to rail port operations. The authors further extended the deterministic model to deal with unexpected situations or uncertainty by adopting an event-triggered receding-horizon planning approach. Their model does not consider the regular uncertainty in the container processing times.

There is a high level of uncertainty/variability in the process of moving containers from storage yards to the rail terminal. A need has emerged for tools that have the capability of appropriately determining the dynamic internal vehicle assignment in order to load containers onto the train within the time window. In this paper, we focus on the container loading process at a seaport from storage yards to trains. We will formulate the problem into a stochastic dynamic programming model, with the aim to minimize the total logistics costs associated with moving containers from storage yards to the train plus the penalty cost of underutilizing the train capacity.

2 Model and Solution

The process of transporting containers from storage yards to the train includes the following main activities (see Fig. 1): Internal Moving Vehicle (IMV) receives a message to collect a container; the container is landed on the IMV; IMV transports the container to the rail terminal (either to the Rail Terminal (RT) buffer area before the working time window, which is called pre-staging, or to the Rail Mounted Gantry crane (RMG) directly during working time window); the pre-staged containers are moved from the RT buffers to the RMG; RMG loads the container to a wagon slot on the train.

Fig. 1
figure 1

The process of transporting containers from yards to train

Consider the loading process of a single train under periodic-review scheme with a working time window (0, T). The decision variables include: q: the number of containers to be pre-staged from storage yards to the rail terminal (RT) buffer before the working time window; u V(t): the planned flow rate (i.e., the number of assigned IMV) to move containers from yards to the RMG over the working time window; and u B(t): the planned flow rate (i.e., the assigned number of IMV) to move containers from RT buffer to the RMG over the working time window. We assume that one IMV carries one container. Other parameters are introduced and shown in Tables 1 and 2. The objective is to minimize the total cost incurred during pre-staging containers, transporting containers from yards to RMG, transporting containers from RM buffer to RMG, RMG crane handling containers, container storage at buffers, and penalty for underutilizing the train capacity.

Table 1 Notation of static parameters
Table 2 Notation of dynamic parameters and variables

2.1 Model

The discrete-time dynamics of the transportation system can be described by

$$ x^{B} \left( t \right) = x^{B} \left( {t{-} 1} \right){-}\xi^{B} \left( t \right),{\text{for}}\,t = 1, 2,\, \ldots ,\,T; $$
(1)
$$ x^{T} \left( t \right) = x^{T} \left( {t{-}\, 1} \right) + \xi^{V} \left( t \right) + \xi^{B} \left( t \right),{\text{for}}\,t = 1, 2, \ldots ,T. $$
(2)
$$ x^{B} \left( 0 \right) = q;x^{T} \left( 0 \right) = 0;0 \le q \le Q^{B} ; $$
(3)
$$ 0 \le \xi^{V} \left( t \right) \le u^{V} \left( t \right);0 \le \xi^{B} \left( t \right) \le u^{B} \left( t \right); $$
(4)
$$ 0 \le u^{V} \left( t \right) \le U^{V} \left( t \right);\quad 0 \le u^{B} \left( t \right) \le \hbox{min} \left( {x^{B} \left( {t{-} 1} \right),U^{B} \left( t \right)} \right); $$
(5)
$$ u^{V} \left( t \right) + u^{B} \left( t \right) \le \hbox{min} \left( {Q^{T} {-}x^{T} \left( {t{-} 1} \right),Q^{C} } \right); $$
(6)

The initial number of containers in the RT buffer is q, and the initial number of containers on the train is 0. It should be noted that due to the uncertainty in container processing time, the actual number of containers that reach the RMG in one period, represented by ξ(t), is often lower than the planned flow rate u(t). Thus we have constraints in (4). The planned flow rate u(t) is also constrained by the maximum number of IMVs available, by the capacity of the train and by the capacity of the RMG, as shown in (5, 6).

The objective function is given by:

$$ \begin{aligned} J_{0} \left( {q,0,0} \right) & = {\text{E}}[q \cdot c^{P} + \sum\nolimits_{t = 0}^{T} {c^{S} x^{B} (t)} + \sum\nolimits_{t = 1}^{T} {(c^{V} u^{V} \left( t \right)} + c^{B} u^{B} \left( t \right) + c^{C} \left( {^{B} \left( t \right) +^{V} (t)} \right)) \\ & \quad + c^{U} \cdot (Q^{T} - \xi^{T} \left( T \right))] \\ \end{aligned} $$
(7)

On the right-hand-side of the above equation, the first term is the pre-staging cost; the second term is the storage costs at RT buffer; the third term represents the container movement costs from yard to RMG, from RT buffer to RMG, from RMG to train; the fourth term represents the penalty cost for underutilizing the train capacity. Following the stochastic dynamic programming theory [5], the backwards optimality equation is given by (for t = 0, 1, …, T):

$$ \begin{aligned} J_{t} \left( {x^{B} \left( t \right),x^{T} \left( t \right)} \right) & = \hbox{min} \{ q \cdot c^{P} \cdot {\text{I}}\left\{ {t = 0} \right\} + c^{S} x^{B} (t) + c^{V} u^{V} (t + 1) \\ & \quad + c^{B} u^{B} (t + 1)c^{U} \cdot \left( {Q^{T} {-}x^{T} \left( t \right)} \right) \cdot {\text{I}}\left\{ {t = {\text{T}}} \right\} \\ & \quad + {\text{E}}[c^{C} (\xi^{B} (t + 1) + \xi^{V} (t + 1)) + J_{t + 1} \left( {x^{B} \left( {t + 1} \right),x^{T} \left( {t + 1} \right)} \right)]\} \\ \end{aligned} $$
(8)

where \( J_{T + 1} \left( {x^{B} \left( {T + 1} \right),x^{T} \left( {T + 1} \right)} \right) = 0 \), and I{condition} is an indicator function. It takes 1 if the condition in {} is true, 0 otherwise.

2.2 Solution

The stochastic dynamic programming problem in (1)–(8) can be solved using the backwards value iteration algorithm (c.f. [5]).

  1. Step 1:

    Let \( J_{T + 1} \left( {x^{B} ,x^{T} } \right) = 0 \) for any (x B, x T). Let t = T.

  2. Step 2:

    Use (8) to calculate the optimal value function \( J_{t} \left( {x^{B} \left( t \right),x^{T} \left( t \right)} \right) \) subject to (1)–(6), and the optimal control \( u_{t}^{V} \left( {x^{B} \left( t \right),x^{T} \left( t \right)} \right) \) and \( u_{t}^{B} \left( {x^{B} \left( t \right),x^{T} \left( t \right)} \right) \).

  3. Step 3:

    Let t = t − 1. If t ≥ 0, go to Step 2.

  4. Step 4:

    Identify the optimal q *. Return the optimal cost J 0(q *, 0); the optimal decision variables \( q^{*} ,u_{t}^{V} \left( {x^{B} \left( t \right), x^{T} \left( t \right)} \right) \), \( u_{t}^{B} \left( {x^{B} \left( t \right),x^{T} \left( t \right)} \right) \).

3 Numerical Examples

In this section, we first provide an empirical case to demonstrate the container loading process at a seaport rail terminal and calibrate the input data. Secondly, we perform a range of experiments to illustrate the application of the proposed models.

Figure 2 shows the empirical data of container loading rates at a real rail terminal within a day (from a real case study in the UK). In total six trains are handled within a day, and each time period is 30 min. The number of containers handled per period ranges from 0 to 15. The working time window for each train ranges from 4 periods (i.e. 2 h) to 8 periods (i.e. 4 h). We calibrate the input data of the reference scenario as follows: the time period is 30 min; Q T = 40; \( Q^{B} = 30 \); \( Q^{C} = 15 \); \( U^{V} \left( t \right) = 15 \); \( U^{B} \left( t \right) = 15 \). We assume \( x^{B} \left( t \right) \equiv u^{B} \left( t \right) \) and \( \xi x^{V} \left( t \right) = u^{V} \left( t \right) \cdot z \), where z follows a uniform distribution. Here we want to focus on the uncertainty in the process from yards to rail terminal by assuming deterministic operations from RT buffer to RMG. Moreover, let \( c^{P} = 4 \); \( c^{V} = 5 \); \( c^{B} = 2 \); \( c^{C} = 1 \); \( c^{S} = 1 \); \( c^{U} = 100 \). It should be noted that the above cost coefficients are hypothetical and only the relative values of these cost elements are meaningful.

Fig. 2
figure 2

Empirical data of container loading rate at a rail terminal within a day

Now we apply the model to optimize the pre-staging decision and the dynamic IMV assignment. As the length of working time window is an important factor, we experiment with three levels of working window, i.e. T = 4, 6, 8, which correspond to 2, 3, and 4 h working windows respectively. The results are given in Table 3.

Table 3 Optimizing IMV assignment and pre-staging

From Table 3, it can be seen that: (i) in the deterministic situation, we have q * = 0, which means zero pre-staging is optimal. This is intuitively true due to the facts: (a) pre-staging plus moving containers from RT buffer to RMG costs more than directly moving containers from yard to RMG; (b) the working time window is sufficiently large to move containers directly from yards to RMG to fully load the train; (ii) J 0(q *, 0) is increasing in the degree of uncertainty; and q * is increasing in the degree of uncertainty; (iii) by comparing the results with that of zero pre-staging cases (not included in this paper due to page limit), the cost saving of the best pre-staging decision from zero pre-staging is increasing as the degree of uncertainty increases. This indicates the importance of determine appropriate pre-staging. (iv) At the same degree of uncertainty, J 0(q *, 0) is decreasing as the time window increases; and q * is decreasing as the time window increases. When the time window is adequately large, zero pre-staging tends to be optimal.

4 Conclusions

This study considers the optimal assignment of IMV fleet and container pre-staging at a seaport rail terminal in the presence of uncertainty. The mathematical model developed using stochastic dynamic programming can plan the container flow at aggregate level, without the need to address the detailed discrete events, therefore can avoid the NP hard combinational optimization problem. Another innovation of the developed model is the ability of yielding optimal plans under dynamic mode and accommodating stochastic factors. However, when the dimension of state and decision variables increases, the computation complexity of the model also increases significantly. Numerical examples based on a real case are provided to illustrate the effectiveness of the model. Further research includes combining both discharge and load trains into a single optimization model.