Joint Optimization of Train Timetable and Rolling Stock Circulation Plan with Flexible Composition and Skip-Stop Strategies for Co-Transportation of Passenger and Freight

Jianian He , Jianguo Qi , Lixing Yang , Zhen Di , Housheng Zhou , Chuntian Zhang

Engineering ›› 2025, Vol. 55 ›› Issue (12) : 291 -316.

PDF (9216KB)
Engineering ›› 2025, Vol. 55 ›› Issue (12) : 291 -316. DOI: 10.1016/j.eng.2025.07.005
Research
research-article

Joint Optimization of Train Timetable and Rolling Stock Circulation Plan with Flexible Composition and Skip-Stop Strategies for Co-Transportation of Passenger and Freight

Author information +
History +
PDF (9216KB)

Abstract

Considering the development of urban freight transport, this paper presents an operational strategy for freight transport based on the urban metro system. To improve the alignment between service capacity and transport demand under passenger and freight co-transportation (PFCT), a mixed-integer nonlinear programming model (MINLP) is developed to simultaneously optimize the train timetable (TT) and rolling stock circulation plan (RSCP), with particular consideration of flexible train composition mode and skip-stop strategies. Moreover, by introducing allocation rules for passengers and freight, the tripartite interests of operators, passengers, and freight agents are synergistically considered in the proposed model. To facilitate the model solution, a variable neighborhood search (VNS) algorithm is designed for the generation of high-quality solutions in a reasonable computational time. Finally, based on a simplified example and empirical data from the Beijing Metro Yizhuang Line, several sets of numerical examples are implemented to validate the applicability and effectiveness of the model and the approach.

Graphical abstract

Keywords

Train timetable / Rolling stock circulation plan / Passenger and freight co-transportation / Variable neighborhood search algorithm

Highlight

Cite this article

Download citation ▾
Jianian He, Jianguo Qi, Lixing Yang, Zhen Di, Housheng Zhou, Chuntian Zhang. Joint Optimization of Train Timetable and Rolling Stock Circulation Plan with Flexible Composition and Skip-Stop Strategies for Co-Transportation of Passenger and Freight. Engineering, 2025, 55(12): 291-316 DOI:10.1016/j.eng.2025.07.005

登录浏览全文

4963

注册一个新账户 忘记密码

1. Introduction

The rapid growth in the number of motor vehicles in cities exacerbates the issue of traffic congestion and pollution. Meanwhile, growing e-commerce has significantly increased the demand for urban freight transport. For example, the daily volume of the received and delivered express has reached approximately 15 million pieces in Beijing. All along, urban freight transport has always been road-dominated [1] and mostly relies on trucks, which account for 40% of the pollutants within cities [2,3] and increase the risk of accidents. According to statistics [4], global freight demand is growing by approximately 3% per year, which implies that by 2050, freight demand will triple than that of the current demand today. And almost half of the freight transport takes place in urban areas in terms of vehicle-kilometers [5].

Developing the underground space of a city for freight transportation become a potential and superior plan for coping with a series of problems caused by limited urban road resources. Considering the complexity of building an underground logistics system, which includes city planning, transportation safety, infrastructure construction, and logistics management, building a specialized underground freight transportation and distribution system is difficult in the short term [6]. As a punctual, convenient, large-capacity, and low-emission transportation system, the metro system provides a more realistic possibility as a new mode of urban freight transport. In 2007, Nuzzolo et al. [7] explored the potential of utilizing passenger train infrastructure for freight transportation between Naples and Sorrento during off-peak hours, proposing modifications to passenger trains to accommodate additional freight capacity. In Newcastle, Motraghi and Marinov [8] assessed the viability of incorporating the metro system into urban freight transport and the feasibility of a metro-based baggage transportation service from the city center to the airport was also verified in practice by Brice et al. [9]. In particular, some innovative transportation concepts have been proposed to integrate freight and passenger transports within shared systems [[10], [11], [12]]. For instance, Chebbi and Chaouachi [13] introduced a two-tier shared transportation framework for the simultaneous movement of goods and passengers using the same personal rapid transit (PRT) vehicles. Bruzzone et al. [14] proposed the use of an integrated system for passenger and cargo transportation, instead of the traditional approach of separate transport for passengers and freight delivery. These studies highlighted the growing interest in integrated transport and underscored the potential of metro systems in freight transportation.

However, integrating freight transport into an urban passenger metro network is a complex and systemic decision [15]. Existing metro systems were initially engineered for passenger conveyance and are not suitable for direct adaptation to logistic operations. Therefore, the first step is to retrofit the station and train (e.g., storage space for freight in the station, carriage of trains), which is a long-term strategic decision. This study mainly focuses on the operational level, specifically during off-peak hours, and explores the feasibility of passenger and freight co-transportation (PFCT) in urban metro systems from the following aspects.

(1) Determining the optimal train timetable (TT) for the operation period. PFCT means that the passenger and freight share both infrastructure and operating time. Notably, passenger transport remains the first priority, and its operational constraints must be ensured (e.g., train dwell times, skip-stop strategies). Nevertheless, to provide quality service, the TT should be designed to accommodate both time-varying passenger and freight demands.

(2) Formulating an appropriate train composition scheme. Sharing carriages between passengers and freight inevitably affects passenger transport, particularly in terms of conflicts between cargo loading/unloading and passenger boarding/alighting at stations. In some regions, the mixing of freight with passenger carriages is prohibited. A more suitable approach is to employ separate passenger and freight carriages that can be coupled or uncoupled based on the dynamic passenger and freight demands, thereby ensuring a precise match between service provision and demand. Furthermore, different train composition schemes significantly affect the operating costs, and the feasibility of these schemes is constrained by the availability of rolling stocks. Therefore, an optimal train composition scheme requires balancing the service capacity with operating costs under the support of rolling stock circulation plan (RSCP).

(3) Coordinating passenger assignment and freight dispatch. For both passenger and freight, it is essential to design appropriate allocation rules and make decisions regarding specific trains and boarding times. In this process, both temporal (i.e., arrival times of passengers and freight) and spatial (i.e., train capacity, skip-stop strategies) constraints must be considered. Moreover, considering the priority of passenger and freight services, one party (that is, operators, passengers, or freight agents) may need to compromise to maximize the overall system benefits.

The issues mentioned above are closely connected. To achieve high-quality train operation and passenger/freight allocation plans, this study develops a joint optimization approach for TT and RSCP by considering flexible composition and skip-stop strategies to promote a better match between the service capacity and transport demand, thereby reducing the operating costs and further verifying the possibility of PFCT in urban metro system.

1.1. Literature review

As an environmentally friendly alternative to urban freight transport, metro-based urban freight transport has significant potential, along with substantial economic and environmental benefits [[15], [16], [17]]. This motivated the investigation on the joint optimization problem for PFCT in an urban metro system. Considering the two key issues of TT and RSCP in operating an urban metro system, this study is dedicated to optimizing both train operations and passenger/freight allocation plans. The related literature review is organized into the following three parts.

1.1.1. Train stop and timetabling problem

For urban metro systems, train stop and TT are two key components in operation and management, and have attracted considerable interest. As an effective technology for enhancing service and efficiency, train skip-stop strategies refer to situations where the train may skip some stations along the metro line. For instance, to determine the optimal skip-stop strategy, a nonlinear integer programming (IP) model was formulated by Abdelhafiez et al. [18]. The results obtained by the heuristic algorithm were compared with the results of the all-stop strategy, which saved 10% of passenger travel time. Focusing on enhancing the fairness performance in an overcrowded urban network, Shang et al. [19] constructed discrete states according to the times that the passenger misses a train to characterize the fairness performance of the whole system, and developed a multi-commodity flow model to optimize the train skip-stop schedule. Jiang et al. [20] introduced a synchronized optimization strategy for managing passenger inflows and optimizing the train skip-stop operations. A nonlinear model was constructed to minimize the detained passenger penalties, which was solved using Q-learning.

The TT problem, which is a key problem in urban metro systems, determines when each train arrives at and departs from each station. Considering the time-dependent characteristics of passenger demand in urban metro systems [21], the formulation of a demand-sensitive TT is particularly important for satisfying passenger demands and improving service quality [22,23]. Specifically, with the dynamic passenger flow, Niu and Zhou [22] optimized the TT for an oversaturated metro corridor. A model was constructed to reduce passenger waiting time and the number of detained passengers due to limited train capacity, which was solved using a genetic algorithm. To optimize the TT, Barrena et al. [24] presented three formulations to minimize the passenger waiting time and performed numerical experiments using the branch-and-cut algorithm, which highlighted the benefits of designing a flexible timetable that aligns with fluctuating demand. To meet the passenger travel demand with the required service, Shi et al. [23] developed a specific maximum headway function to optimize the TT. Facing the phenomenon of oversaturation, Shi et al. [25] presented an efficient approach to simultaneously optimize the TT and precise passenger flow control tactics, which was also applied in metro networks [26]. Considering the dynamics and uncertainty of passenger demand, Gong et al. [27] constructed a model aimed at jointly optimizing the overall number of trains, determining departure intervals and making decisions regarding speed profiles. The model was linearized and solved using an improved variable neighborhood search (VNS) algorithm. Based on an innovative flexible composition mode, Zhou et al. [28] developed a synergistic optimization model of TT and RSCP to better cope with the tidal traffic phenomenon in some metro lines. However, few studies exist on timetable optimization for time-varying passenger and freight demands. Behiri et al. [15] addressed the issue of timetabling at the operational level in their discussion on freight transport in an urban metro system. However, they did not provide specific methods for solving this problem.

Considering the interaction between the train stop pattern and timetable, many studies have focused on devising efficient strategies to simultaneously optimize these two problems from the perspective of system optimization. The investigation by Yang et al. [29] focused on establishing a modeling framework for the joint optimization of train stop and TT problems. From the perspective of energy-efficient subway operations, Yang et al. [30] constructed a multi-objective model to jointly optimize the TT and stopping pattern. Based on a time–space network, Tian and Niu [31] constructed a linear IP model to optimize TT and skip-stop decisions under dynamic passenger demand, which was solved using a column generation framework. Wu et al. [32] sought to address the issue of unequal waiting times by refining the train skip-stopping scheme and TT. They introduced a mixed-integer linear programming (MILP) model combined with a VNS algorithm to achieve acceptable solutions within a reasonable computational time.

1.1.2. Train composition and rolling stock circulation planning problem

Most previous studies on train operations in urban metro systems have assumed that the train composition is fixed. However, it is difficult for the fixed composition mode to satisfy the time and space imbalance distribution of passenger demand. The flexible composition mode, which can change the train composition according to variations in passenger demand, has received tremendous attention. For instance, Liu et al. [33] defined four types of train compositions based on existing train composition techniques, which implied that trains with different compositions could be operated to accommodate passenger demand. With considering multiple routes and train sizes, Li et al. [34] constructed an optimization model for train operations, which was directly solved by commercial solvers. Xu et al. [35] established a model for optimizing a train operating scheme considering full-length and short-distance routings, and different types of train compositions, which was solved using a genetic algorithm.

In addition to the given multiple types of train compositions, many studies have considered the RSCP when examining the flexible composition mode. To accommodate the tidal passenger demand, Zhou et al. [28] constructed a collaborative model to co-optimize the TT and RSCP by permitting the adjustment of train compositions through coupling or decoupling operations at the terminals of metro lines. Pan et al. [36] proposed two models for this problem using time–space networks by incorporating flexible coupling/decoupling activities, which was solved using a heuristic algorithm based on a column generation framework. Both considering the passenger service quality and operator costs, Zhao et al. [37] proposed a multi-objective mixed-integer nonlinear programming model (MINLP) model aimed at reducing passenger waiting time, minimizing the rolling stock requirements, and lowering the frequency of coupling and decoupling operations.

Moreover, the RSCP is typically formulated subsequent to the TT [38,39]. Since the sequential decision-making approach usually falls short in achieving optimal system performance, many studies have focused on collaboratively optimizing the TT and RSCP problems [28,36,[40], [41], [42]]. For example, considering energy consumption, Mo et al. [43] developed a collaborative optimization framework for the TT and RSCP, which can be directly addressed using the CPLEX solver. With a similar problem background, Wang et al. [44] extended their analysis to incorporate various train operation parameters (running and dwelling times). Yang et al. [45] concentrated on integrated optimization of the TT and RSCP with heterogeneous rolling stocks, which was solved using an iterative programming method.

1.1.3. Metro-based urban freight transport problem

The development of underground logistics systems provides an effective method for addressing sustainable urban freight transport in the future [5,[46], [47], [48]]. In the short term, developing urban freight transportation based on the existing metro network is an alternative method for alleviating the pressure on urban freight transport, which can also help make full use of the surplus capacity of metro lines during off-peak periods.

At the macro level, several studies have been performed on issues such as logistics network planning and infrastructure upgrades. Regarding the coordinated planning of land use and policy for infrastructure development, Horl et al. [49] explored the potential for the enhanced utilization of railway infrastructure in freight transportation, specifically focusing on the first and last urban miles. Zhao et al. [6] divided an urban metro network into several subnetworks and formulated a facility location model to identify the final metro distribution hubs by evaluating the importance of each station. Considering service capacity, freight demand, and regional connectivity, Dong et al. [50] introduced a metro-based logistic system network planning strategy, which constructed an MILP model, and developed a hybrid algorithm for this problem. Zheng et al. [51] developed a location optimization approach for a metro-based underground logistics system (MULS) to facilitate freight transportation using a metro network during off-peak hours, which adopted a Voronoi diagram to determine station locations.

At the operational level, Motraghi and Marinov [8] and Dampier and Marinov [52] demonstrated the conceptual feasibility of incorporating urban metro systems into freight transport through an examination of the Newcastle metro network. As a further application, Brice et al. [9] investigated a baggage transportation service from the city center to Newcastle airport using the metro system and showcased the possibility of this innovative system. Behiri et al. [15] centered their research on the rail freight transport scheduling problem. They developed a decision support tool to assist decision makers in modeling and assessing dynamic changes in the system under various scenarios. Ozturk and Patrick [2] introduced a decision support system for the metro-based freight transport problem together with mathematical methods for the optimal allocation of freight. Li et al. [53] formulated an optimization model to determine the TT and freight allocation plan, where freight transport can be realized using dedicated freight trains or the unused capacity of passenger carriages. Hörsting and Cleophas [54] introduced a model to optimize the TT and cargo allocation plans to reduce waiting passengers and container delays. To advance sustainable urban freight transportation at the operational level, Di et al. [55] developed an optimization model with aim of minimizing the operational costs and total delay penalties, and an improved Benders decomposition algorithm was developed to solve the proposed model. Based on the traditional optimization model of passenger transportation under the fixed composition mode, Qi et al. [56] developed a PFCT model based on the flexible composition mode and all-stop strategy.

As discussed above, most literature has studied the metro-based urban freight transport problem with a pre-given timetable or without considering the RSCP. In face of the diversity of passenger and freight demands, the separately optimized method is difficult to achieve a system-optimized operational plan that balances the tripartite interests of operators, passengers, and freight agents.

1.2. Focus of this study

To utilize the excess capacity of urban metro systems during off-peak periods and realize the sustainable development of urban freight transport, this study develops a joint optimization method of TT and RSCP for PFCT, in which the flexible composition mode and the skip-stop strategies are particularly considered. Table 1 [2,15,[53], [54], [55],[57], [58], [59], [60]] lists several closely related studies. It can be observed that: ① Few studies considered the tripartite interests of operators, passengers, and freight agents. Typically, a single perspective on service quality or operating cost is not the optimal decision for the system. Therefore, the key issue that needs to be addressed is a method to enhance the freight transport services quality with the most economical train operating plan while ensuring the first priority of passenger transport; ② the time-dependent passenger demand is an important piece of information for designing train operation plans, whereas in some metro-based freight transport problems, only the freight transport process was modeled, and very few studies have included both time-dependent passenger and freight demand in their specific modeling process; and ③ the train composition scheme, stopping plan, TT, and passenger/freight allocation plan are typically intertwined and greatly affected by each other, and previous studies generally considered only a partial of them and have not included all these closely connected elements in a unified modeling framework.

Based on the above analysis, the main contributions of this paper are as follows:

(1) Focusing on metro-based PFCT during off-peak hours, this paper proposes a joint optimization of TT and RSCP on a bi-directional metro line, with special consideration of flexible composition mode and skip-stop strategies. In this method, different train composition modes can be selected to cope with unbalanced and time-varying passenger and freight demands, and train skip-stop strategies are considered to improve transportation efficiency. In comparison with the conventional fixed composition mode and all-stop pattern, this approach enables a more accurate match between passenger and freight demands, enhances the quality of transport services, and significantly minimizes the operating costs for metro enterprises.

(2) An MINLP model is constructed for the system optimization problem. The model considers the practical train operation constraints as well as passenger and freight demand constraints, in which the ideas of flexible train composition and skip-stop strategies are embedded into the model to capture the dynamic change process of passenger and cargo group boarding, on-boarding, and alighting. In particular, based on the idea of cargo grouping, multiple constraints (i.e., two first in, first out (FIFO) rules) are used in the model to portray the inherent priorities in cargo group allocation to ensure both efficiency and fairness of freight transport. The objective function of the model is to reduce operating costs, passenger detention, and cargo group delays, which reflects a synergistic consideration of the interests of operators, passengers, and freight agents.

(3) Given the complexity of the model, a customized VNS algorithm is applied to generate high-quality solutions within a reasonable computational time. To evaluate the performance of the proposed methods, several sets of numerical experiments are performed with a simplified example and an empirical example of the Beijing Metro Yizhuang Line. Furthermore, we also compare our approaches with the conventional operating modes (i.e., fixed composition mode and all-stop strategy), which further validates the effectiveness of the proposed approaches for meeting time-dependent passenger and freight demands.

The remaining sections are organized as follows. Section 2 presents a detailed problem statement and modeling assumptions. An MINLP model is formulated for the considered problem in Section 3. To solve the complex model, in Section 4, a heuristic algorithm based on the VNS algorithm is developed. In Section 5, a simplified example and an empirical case with historical operational data of the Beijing Metro Yizhuang Line, are carried out to verify the proposed methods. Section 6 ends with some conclusions and directions for further research.

2. Problem statements

The problem of interest considers the PFCT on a bi-directional urban metro line, as shown in Fig. 1. Two sets of trains represented by K¯ and K_, are respectively scheduled in different directions and there are two depots at each end of the line.

Regarding transportation carriers, there are generally two basic modes for metro-based freight transport problems. One is the shared train mode, in which a train serves both passengers and freight [55], and the other is the dedicated train mode, in which a train exclusively carries either passengers or freight [2]. Some studies have also proposed a mixed mode of utilizing extra space in passenger train carriages for freight transportation in addition to dedicated freight trains [53]. However, legislation in some countries prohibits the mixing of freight with passenger transportation in the same carriage for various reasons [15]. Therefore, we particularly take into account the flexible train composition mode, where trains can couple or decouple in the depot at the end of the line. By this way, multiple train composition types with different lengths (i.e., different numbers of passenger and freight carriages in each type of train composition mode) can be considered by giving a set of different composition types. That means the train can be a single passenger or freight train composition, or a mixed passenger and freight train composition, to address different scales of passenger and freight demand, as shown in Fig. 2. Nevertheless, the effective implementation of a flexible train composition scheme relies heavily on the quality of the RSCP. In addition, the initial number of each type of rolling stock in the depot is usually given in advance, and the formulation of the composition scheme needs to strictly meet the constraints of the available rolling stocks (i.e., resources are limited).

Typically, considering the large passenger flow during peak hours, utilization of the metro system for freight transportation services usually occurs during off-peak hours. For ease of modeling, the continuous scheduling horizon [0,T] is discretized into a sum of T time intervals with the length of each interval as δ. With passenger data collected from the Auto Fare Collection (AFC) system, we use the time-dependent origin–destination matrix to describe each passenger’s itinerary and arrival time.

The inclusion of freight transport makes management more difficult for operators. To guarantee the safety, efficiency, and fairness of the process of freight aggregation, handling, and transportation, and to achieve large-scale freight transport while minimizing the inconvenience to passengers, the idea of cargo grouping is applied, which has been employed for passenger transport by Shang et al. [19] and Wu et al. [32]. Specifically, if cargos successively arrive at the origin station during the same time period and have the same destination, they can be integrated into a cargo group. The completion of the cargo group is subject to any of the following conditions: ① The cumulative number of cargos is up to the number limitation of the cargo group, and ② the duration of the grouping process reaches the upper limit of the setting time. The cargo grouping process serves as a preprocessing step to enhance train resource utilization while ensuring high-quality freight transportation services. In this context, grouped cargo can include some high-value, lightweight goods such as express parcels. In this paper, it is assumed that the information of the cargo groups is given in advance. Cargo groups are transported in standard freight containers, as assumed and applied in several previous studies [2,15]. Furthermore, from a fairness perspective, the cargo group allocation process should follow a spatial–temporal prioritization, which can be expanded into the following sub-rules [19,32]: ① For each station, cargo groups that arrive earlier have priority in terms of the temporal sequence for boarding trains, and ② cargo groups waiting at upstream stations have spatial priority for boarding trains. Hence, the cargo group allocation process is jointly constrained by the train capacity (i.e., train composition type), the train skip-stop strategies, and the two FIFO rules.

From the above analysis, this study aims to develop a reasonable train operating scheme (i.e., TT, skip-stop strategies, and RSCP) to better match the time-dependent passenger and freight demands by considering flexible train operation modes and establishing strict rules for passenger and freight allocation. And some assumptions are made as follows:

Assumption 1. This paper addresses the passenger and freight co-transportation under the general conditions, of which the uncertain disturbances of various events are not considered. The section travelling time and the required dwell times for passenger and freight transportation at each stop station are assumed to be fixed values.

Assumption 2. We consider a bi-directional metro line with multiple types of train compositions being operated in each direction. The coupling and splitting operations are assumed to be implemented only in the depot and the corresponding duration times of these operations are pre-given.

Assumption 3. Since this paper studies the PFCT during the off-peak hours with sufficient train capacity, the passenger and freight demands are assumed be given in advance and all transportation requirements are guaranteed to be satisfied.

Assumption 4. Taking into account the interference between passengers and freight, in this study, only some of the designated stations are allowed for carrying out freight transport. And all cargos are pre-grouped and loaded into standard freight containers in accordance with the grouping rules.

3. Mathematical formulation

3.1. Notations and decision variables

All the symbols and parameters involved in the formulation of the model are listed in Table 2.

Depending on the characteristics of the problem studied, the variables can be divided into two main parts. The first part contains variables related to train operations, including the TT, skip-stop strategies, and RSCP. The second includes variables related to passenger and freight allocations. Then, the first part of variables is listed as follows.

(1) Variables related to TT.

tk,i(a): integer variable, the arrival time of train k at station i.

tk,i(d): integer variable, the departure time of train k from station i.

The above variables are the primary decision variables in the TT formulation.

(2) Variables related to skip-stop strategies.

xk,n: binary variable, if train k chooses the passenger stopping mode n, xk,n=1; otherwise, xk,n=0.

ψk,v: binary variable, if train k chooses the freight stopping mode v, ψk,v=1; otherwise, ψk,v=0.

These two variables are related to train skip-stop strategies for passenger and freight transport, respectively, which together determine the stopping mode of each train. Typically, as mentioned in many studies, these variables are also closely related to the TT problem (i.e., when a train decides to skip a station, it reduces its dwell time at that station, and the TT is changed accordingly). For clarity, the following variables are introduced to denote the actual dwell time of each train at each station, which is determined by the selected stopping mode for passenger and freight transport.

tk,i(dwell): integer variable, denoting the dwell time of train k at station i, taking either 0 or a fixed value depending on the chosen stopping modes.

(3) Variables related to rolling stock circulation plan.

yk,m: binary variable, if train k chooses the train composition m, yk,m=1; otherwise, yk,m=0.

For the determination of the RSCP, the above variables are first defined to select a specific composition for each train in accordance with passenger/freight demand, which is limited by the number of available rolling stocks in each depot. However, the number of available rolling stocks in each depot usually changes with the train departures or arrivals at the depot. For the successful execution of train composition scheme, the following variables are introduced as the indicator of train departure by calculating the number of passenger/freight rolling stocks available at each depot (see Section 3.2.2 for more details).

ρk,i(t): binary variable, if train k departs from station i at or before time t, ρk,i(t)=1; otherwise, ρk,i(t)=0.

The second part contains variables related to the allocation of passengers and freight, including those representing their distribution on each train and those capturing variations in passenger and freight flows, listed as follows.

(1) Variables related to passenger allocation.

λk,i,j: integer variable, the number of passengers arriving at station i with destination station j that successfully board train k between trains k and k-1.

sk,i,j: integer variable, the number of passengers arriving at station i going to station j between trains k and k-1 that can not board train k and need to wait for train k+1 or train k+2.

ϱk,i(t): binary variable, if timestamp t falls between the departure time of train k-1 from station i and the departure time of train k from station i (i.e., [tk1,i(d), tk,i(d)]), ϱk,i(t)=1; otherwise, ϱk,i(t)=0.

Pk,i(board): integer variable, the number of passengers boarding train k at station i.

Pk,i(alight): integer variable, the number of passengers alighting from train k at station i.

Pk,i(in): integer variable, the number of passengers on train k between station i and station i+1.

(2) Variables related to freight allocation.

γk,f: binary variable, if f group of cargos are assigned to train k, γk,f=1; otherwise, γk,f=0.

zk,f: binary variable, if f group of cargos arrive at their departure station earlier than the departure time of train k, zk,f=1; otherwise, zk,f=0.

Capk,i: integer variable, the available cargo capacity of train k at station i.

wf: integer variable, the delay time of f group of cargo.

3.2. System constraints

This subsection systematically introduces various constraints related to the TT, RSCP, and the dynamic evolution of passengers and cargo groups, ensuring the feasibility of the solutions. Additionally, the concepts of flexible train composition and skip-stop strategies are incorporated into these constraints.

3.2.1. TT and stop-skipping constraints

According to assumption 1, the section travelling time and train dwell time are pre-determined. Consequently, the departure and arrival times of train k at each station i should comply with the following constraints:

nNxk,n=1,kK¯orkK_
vVψk,v=1,kK¯orkK_
tk,idwell=maxtk,iPdwell·nNxk,n·θn,i,tk,iFdwell·vVψk,v·v,i,kK¯,iS¯orkK_,iS_
tk,id=tk,ia+tk,idwell,kK¯,iS¯\1,SorkK_,iS_\S+1,2S
tk,ia=tk,i1d+tk,i1run,kK¯,iS¯\1orkK_,iS_\S+1

In particular, this study takes the train skip-stop strategies into consideration, which are embedded into the constraints of TT. The decision variable xk,n/ψk,v indicates the choice of stopping mode by train service k for passenger/freight transport, where xk,n=1/ψk,v=1 indicates that train service k chooses the stopping mode n/v, and xk,n=0/ψk,v=0 otherwise. Constraints in Eqs. (1), (2) imply that train k can only choose one passenger stopping mode n and one freight stopping mode v. The specific information of the stopping modes n/v is given in advance, where θn,i=1/v,i=1 indicates that the stopping mode n/v stops at station i, and θn,i=0/v,i=0 otherwise. With the given required dwell time (i.e., tk,i(Pdwell),tk,i(Fdwell)) and the selected stopping modes, the actual dwell time of train k at station i can be calculated by constraint in Eq. (3). Thus, given the departure time of the first train from the original station in the upstream and downstream direction, that is, t1,1(d), t1,|S|+1(d), if the departure headway is determined, the time of each train departing from/arriving at each station can be calculated using constraints in Eqs. (4), (5).

Taking Fig. 3 as an example, the stations marked in red (i.e., stations 1, 3, 6) are those capable of handling freight operations. The blue (denoted as I) and red (denoted as II) solid lines represent the selected stopping modes for passenger and freight, respectively, where solid dots indicate stops and hollow dots indicate skipping operations. The final stopping pattern is obtained by integrating these two stopping modes, as shown by the black solid line (denoted as III). For instance, the final dwell times of Train A at the first three stations can be given by t1=maxtA,1(Pdwell),tA,1(Fdwell), t2=tA,2(Pdwell), and t3=tA,3(Fdwell). This approach allows for more flexibly adjustment of dwell time to accommodate both passenger and freight loading/unloading requirements, while also considering the operational efficiency of the train. Furthermore, under specific spatial and temporal conditions, such as lower passenger demand during off-peak hours, as shown with Train B, dedicated freight trains (e.g., S-F, L-F) can be utilized to transport cargo groups to reduce unnecessary stops, thereby improving operational efficiency and service level.

$\begin{gathered}h_{\min } \leq t_{k+1, i}^{(\mathrm{d})}-t_{k, i}^{(\mathrm{d})} \leq h_{\max }, \forall k \in \bar{K} \backslash\{|\bar{K}|\}, \\ i \in \bar{S} \backslash\{|S|\} \text { or } \forall k \in \underline{K} \backslash\{|\underline{K}|\}, i \in \underline{S} \backslash\{|2 S|\}\end{gathered}$

Constraint in Eq. (6) is established to ensure that any two adjacent train services k+1 and k are kept within a safe and reasonable range, which are the commonly used constraints.

3.2.2. Train composition and rolling stock constraints

In order to ensure an optimal alignment between the available train capacity and the passenger/freight demand, and to avoid capacity wastage or overcrowding, it is assumed that different passenger and freight rolling stocks can be coupled and decoupled in the depot. Thus, multiple train composition types will be applied in the operations. However, owing to certain realistic conditions (e.g., train length constraints and station capacity constraints), the types of train composition are usually limited. In this study, the feasibility of the generated train composition is ensured by providing alternative sets of train composition types and only one type of composition can be applied to each train, leading to constraint in Eq. (7).

mMyk,m=1,kK¯orkK_

In practice, successful implementation of flexible train composition scheme is based on an appropriate RSCP. With the given initial number of rolling stocks in the depot, the number of rolling stocks in the depot will dynamically change during operations with different types of train arrivals after finishing previous services or departures for executing new services. For a more explicit expression, an auxiliary binary variable ρk,i(t) has been used in many studies [22,28] to denote the departure status of trains, where ρk,i(t)=1 signifies that train k departs from station i before or at timestamp t, and ρk,i(t)=0 otherwise. Constraint in Eq. (8) expresses the relationship between tk,i(d) and ρk,i(t) and constraint in Eq. (9) ensures that ρk,i(t) does not decrease over time. Furthermore, to construct linear constraints on passenger allocation (i.e., passenger–train coupling), we introduce the binary variable ϱk,i(t) to calculate the timestamps between trains k-1 and k at station i, leading to constraint in Eq. (10).

tk,id=ρk,i1+t1,tTt·ρk,itρk,it1,kK¯,iS¯orkK_,iS_
ρk,it1ρk,it,kK¯,iS¯,t1,tTorkK_,iS_,t1,tT
ϱk,it=1ρk,itifk=1ρk1,itρk,itotherwise,kK¯,iS¯,tTorkK_,iS_,tT

Using the definition of the auxiliary variable ρk,i(t), the number of different types of rolling stocks in the depot at any given time can be calculated separately. The following constraints ensure sufficient rolling stocks for the subsequent services at any time while maintaining the feasibility of train operation for the metro systems.

INVP¯+kK_mMρk,2Sttswitchtfix·yk,m·vmPkK¯mMρk,1t+tswitch+tk,1dwell·yk,m·vmP1,t,ttswitchtfix,t+tswitch+tk,1dwellT
INVF¯+kK_mMρk,2Sttswitchtfix·yk,m·vmFkK¯mMρk,1t+tswitch+tk,1dwell·yk,m·vmF1,t,ttswitchtfix,t+tswitch+tk,1dwellT

Here, INVP¯ and INVF¯ represent the initial number of passenger and freight rolling stocks in depot 1, which increases with the train in the downstream direction entering the depot and decreases with train in the upstream direction departing from the depot. Specifically, t(switch) indicates the time of the train from the terminal station to the depot or the time from the depot to the original station. t(fix) indicates the time for the train to complete the coupling and uncoupling operations at the depot (i.e., the time for the train to prepare for the next services after it arrives at the depot). Therefore, if train k has left the terminal station 2|S| in the downstream direction at or before moment ttswitchtfix, that is, ρk,2|S|(tt(switch)t(fix))=1, it indicates that at moment t, all rolling stocks in the composition mode selected by train k are already available for implementing the services in the upstream direction. Similarly, if train k in the upstream direction has left the original station 1 at or before the t+t(switch)+tk,1(dwell) moment, that is, ρk,1(t+t(switch)+tk,1(dwell))=1, all rolling stocks in the composition mode selected by train k are no longer available at t. Since vm(P) and vm(F) represent the number of passenger and freight rolling stocks in composition type m selected by train k, constraints in Eqs. (11), (12) can ensure that there always exists at least one passenger and freight rolling stock at any time t in depot 1. In addition, because the required preparation time (i.e., t(switch), t(fix)) has already been considered in the above constraints, the specific linkage between different rolling stocks can be easily determined according to the generated flexible train composition plan.

For the number of passenger and freight rolling stocks in depot 2, similar constraints in Eqs. (13), (14) can be formulated as follows.

INVP_+kK¯mMρk,Sttswitchtfix·yk,m·vmPkK_mMρk,S+1t+tswitch+tk,S+1dwell·yk,m·vmP1,t,ttswitchtfix,t+tswitch+tk,S+1dwellT
INVF_+kK¯mMρk,Sttswitchtfix·yk,m·vmFkK_mMρk,S+1t+tswitch+tk,S+1dwell·yk,m·vmF1,t,ttswitchtfix,t+tswitch+tk,S+1dwellT

3.2.3. Passenger demand constraints

Considering the background of the problem of PFCT in urban metro systems based on flexible train composition and skip-stop strategies, it is hoped that the operating costs of metro lines can be minimized under the premise of guaranteeing the quality of the transport service. This study allows a small number of passengers to at most wait for the following two services when they miss the first service at the station, leading to constraint in Eq. (15).

λk,i,j+sk,i,j=tTϕi,j,t·ϱ1,it,k=1λk,i,j+sk,i,j=tTϕi,j,t·ϱ2,it+sk1,i,j,k=2λk,i,j+sk,i,j=tTϕi,j,t·ϱk,it+sk1,i,j+sk2,i,j,otherwisek,k1,k2K¯,i<jS¯ork,k1,k2K_,i<jS_

In these constraints, λk,i,j denotes the number of passengers arriving at station i with destination station j that successfully board train k between service trains k and k-1. ϕi,j,t denotes the number of passengers arriving at station i at time t with destination station j. In particular, sk,i,j is introduced to denote passengers that can not be serviced by the first train k when they arrive at station i and have to wait for the following train k+1 or k+2, which will be denoted as detained passengers in the following description. Clearly, the following three situations will be occurred: ① For the first train, the number of passengers arriving at station i before the first train departing from station i is exactly the passengers boarding train 1 (i.e., λ1,i,j) and the detained passengers (i.e., s1,i,j). ② For the second train, the number of passengers arriving at station i during the time between trains 2 and 1 departing from station i plus the number of remaining passengers when train 1 departs from station i (i.e., s1,i,j) equals to the number of passengers boarding train 2 (i.e., λ2,i,j) plus the number of detained passengers (i.e., s2,i,j). ③ For the other trains, the number of passengers arriving at station i during the time between service trains k and k-1 departing from station i plus the number of remaining passengers when train k-1 and train k-2 depart from station i equals to the number of passengers boarding train k plus the number of detained passengers (i.e., sk,i,j).

For clarity, Fig. 4 provides an example of the aforementioned situations for calculating the number of detained passengers. In this figure, different colors are used to indicate the corresponding passengers arriving between adjacent trains k and k-1 board train k or detaining to wait for the following train k or k+1. Green represents the passenger who can successfully board the first arriving train upon arrival at station i. Blue and yellow represent passengers who have to wait for the following one or two trains, respectively, when they miss the first train at station i. In this example, assuming train k-2 has the passenger capacity of two, and four passengers arrive at station i between the departures of trains k-3 and k-2 (i.e., tTϕi,j,t·ϱk2,i(t)=4), two passengers will be detained (i.e., sk2,i,j=2, as shown by yellow icons) owing to the train capacity limitation. And in order to make a better balance between the provided service and operating costs, if train k-1 is scheduled to not provide service for passengers at station i (e.g., train k-1 is a freight train or train k-1 skips station i as the brought benefit can cover the penalty cost of detained passengers), passengers arriving between trains k-2 and k-1 (i.e., tTϕi,j,t·ϱk1,i(t)=1, as shown by blue icons) and passengers detained by train k-2 (i.e., sk2,i,j, as shown by yellow icons) will continue to wait at station i for the subsequent train k. It is worth noting that, because the detained passengers by train k-2 have reached the limit of the number of passengers waiting, it must be ensured that train k has sufficient capacity to carry these passengers. Otherwise, the whole train operation plan needs to be regenerated. In particular, this study examines the impact of train skip-stop strategies and flexible composition mode. The constraint in Eq. (15) can easily be reformulated to impose different restrictions on the maximum number of passengers waiting, thereby enabling different levels of service to passengers.

λk,i,jU·nNxk,n·θn,i·θn,j,kK¯,i<jS¯orkK_,i<jS_

Constraint in Eq. (16) establishes the connection between the selected stopping mode and the passenger allocation. A passenger can only be served by a train that stops at both the origin and destination (OD) stations. This implies that if the passengers for a certain OD pair are transported by train k (i.e., λk,i,j>0), then the selected stopping mode of train k must stop at both stations of this OD pair (i.e., xk,n·θn,i·θn,j=1). Otherwise, if the selected stopping mode of train k does not stop at either station of a certain OD pair (i.e., xk,n·θn,i·θn,j=0), the passenger travelling between this OD pair cannot be assigned to this train (i.e., λk,i,j=0).

When a train stops at a station, some on-board passengers alight as their journey ends, while waiting passengers on the platform board, leading to a dynamic change in the number of on-board passengers.

Pk,iboard=j=i+1Sλk,i,j,kK¯,i<jS¯
Pk,iboard=j=i+12Sλk,i,j,kK_,i<jS_

Constraints in Eqs. (17), (18) denote the number of boarding passengers of each train at different stations in the upward and downward directions, respectively. Here, the number of passengers boarding train k at station i, denoted as Pk,i(board), is the total number of passengers travelling from station i to subsequent stations in the same direction on this train.

Pk,jalight=0,j=1orj=S+1Pk,jalight=i=1j1λk,i,j,otherwise,kK¯,i<jS¯orkK_,i<jS_

Similarly, except for the original station in each direction where no passenger alight, the number of passengers alighting from train k at station j equals the total number of passengers transported by train k from the preceding stations whose destination is station j, as captured by constraint in Eq. (19).

With the boarding and alighting passengers defined above, the dynamic passenger load on each train can be determined using constraints in Eq. (20).

Pk,iin=Pk,iboard,i=1ori=S+1,Pk,iin=0,i=Sori=2SPk,iin=Pk,i1in+Pk,iboardPk,ialight,otherwise,kK¯,iS¯orkK_,iS_.

Here, the number of on-board passengers when train k departs from station i (i.e., Pk,i(in)) is determined by the on-board passengers at station i-1, plus the number of passengers boarding at station i, minus those alighting at station i. Naturally, at the original station, the on-board passenger count equals the number of boarding passengers, while at the terminal station, no passengers remain on-board.

Finally, because the capacity of a train is determined its selected composition mode, we use parameter Qm(P) to denote the rated capacity of the mth train composition mode. Then, for passenger safety and comfort, constraint in Eq. (21) are formulated to ensure that the rated capacity of train k cannot be exceeded.

Pk,iinmMQmP·yk,m,kK¯,iS¯orkK_,iS_

3.2.4. Freight demand constraints

In this study, metro-based freight transport services were conducted during periods of unsaturated passenger flows. To ensure service quality, spatial–temporal FIFO rules are specifically introduced to regulate the boarding process of cargo groups.

The allocation of cargo groups is determined by their arrival times and group sizes. Subsequently, a set of rigid constraints is considered to develop the freight transportation scheme.

kK¯γk,f=1,fF
kK_γk,f=1,fF

The binary decision variable γk,f is introduced to determine the transportation plan for cargo groups. γk,f=1 indicates that cargo group f is arranged to train k, and γk,f=0 otherwise. Each cargo group can be transported only by one train service. To maintain the viability of the transportation plan, certain conditions must be satisfied. That is, if cargo group f is arranged to train k (i.e., γk,f=1), train k must stop at both the origin of and destination ef of cargo group f, and the arrival time of cargo group f at the origin station should be earlier than the departure time of train k from that station (i.e., tof(f)<tk,of(d)). The following constraints were set for this purpose.

γk,fnNψk,v·v,of,kK¯,ofS¯,fForkK_,ofS_,fF
γk,fnNψk,v·v,ef,kK¯,efS¯,fForkK_,efS_,fF
U·zk,f+tofftk,ofd,kK¯,ofS¯,fForkK_,ofS_,fF.
U·zk,f1+toff<tk,ofd,kK¯,ofS¯,fForkK_,ofS_,fF.
γk,fzk,f,kK¯,fForkK_,fF.

Here, the binary variable zk,f is introduced to indicate the relationship between the arrival time of cargo group f and the departure time of train k from station of. If cargo group f arrives at its origin station earlier than the departure time of train k from this station, zk,f=1; otherwise, zk,f=0. Consequently, constraints in Eqs. (26), (27), (28) ensure the temporal feasibility of cargo group transportation by linking the TT with the cargo group allocation. Additionally, the spatial feasibility of cargo group transportation is ensured by constraints in Eqs. (24), (25), which establish connections between the selected stopping mode and the cargo group allocation.

Constraint in Eq. (29) is specifically expressed to ensure that the allocation of cargo groups follows the FIFO rule in time, which means that cargo groups arriving earlier are given boarding priority at each station. Specifically, for any two cargo groups f and f sharing the same origin station, where cargo group f arrives earlier than the cargo group f. If cargo group f is assigned to train k, then cargo group f must be allocated to either train k or an earlier train service.

τ=1kγτ,f'γk,f,tof'f'toff,kK¯,f',fForkK_,f',fF.

Constraint in Eq. (30) is formulated to ensure that the allocation of cargo groups follows the FIFO rule in space. This rule means that available trains should not leave cargo groups from upstream stations behind, while reserving capacity for cargo groups in the downstream stations. And the so-called available train shall contain the following conditions: ① The train k shall stop at the origin station of cargo group f, that is, vVψk,v·v,of=1; ② the arrival time of cargo group f shall be earlier than the departure time of train k at station of, that is, zk,f=1 ; ③ the train shall have available capacity at the time of arrival at that station, that is, Capk,of-gf0. It is worth noting that the right-hand side of the inequality for constraint in Eq. (30) has an additional integer 1 added to it, which is intended to ensure that if the first two conditions are satisfied and the available freight capacity of train k at station of is exactly equal to the amount of freight in cargo group f, that is, Capk,of-gf=0, cargo group f should be transported by train k or the preceding trains (i.e., make sure that the right-hand side of the inequality is greater than 0).

U·τ=1kγτ,fUvVψk,v·v,of1+Uzk,f1+Capk,ofgf+1,kK¯,ofS¯,fForkK_,ofS_,fF

As for the available capacity (i.e., Capk,i) of each train at each station, it can be calculated using constraints in Eqs. (31), (32), (33). Specifically, the available capacity of the train at the original station can be calculated using constraints in Eqs. (31), (32), which is the rated freight capacity of the selected mode minus the number of cargos departing from the original station. The available capacity of train k at intermediate station i is calculated based on the available capacity at station i-1, adding the number of cargos unloaded at station i and subtracting those loaded at station i, as specified in constraint in Eq. (33).

Capk,1=mMQmF·yk,mfF1¯gf·γk,f,kK¯
Capk,S+1=mMQmF·yk,mfFS+1¯gf·γk,f,kK_
Capk,i=Capk,i1+fFi_gf·γk,ffFi¯gf·γk,f,kK¯,iS¯\1orkK_,iS_\S+1.

Finally, constraint in Eq. (34) ensures that the available capacity of train k when it departs from any station i does not exceed the rated cargo capacity of its composition mode.

0Capk,imMQmF·yk,m,kK¯,iS¯orkK_,iS_

3.3. Objective function

In this study, the objective function considers both economic and service quality objectives from the perspectives of metro operators, passengers, and freight agents.

3.3.1. Economic objective: The total operating cost

Train skip-stop strategies and flexible composition modes are considered to better align the service provision with demand. Typically, the number of train stops and the type of composition mode significantly affect the operating costs of metro lines. To capture this effect, the operating cost was represented as the product of the chosen train composition cost, the number of train stops, and stop-related coefficient ξ. Notably, when calculating the number of train stops, both passenger and freight stopping modes must be considered. Specifically, a train can skip a station only if both passenger and freight stopping modes allow it (i.e., nNxk,n·θn,i=0 and vVψk,v·v,i=0); otherwise, it must stop at this station to meet the transport demand. Accordingly, the final operating cost can be expressed as follows:

$\begin{array}{l} F^{\text {cost }}=\sum_{k \in \bar{K}} \sum_{m \in M} y_{k, m} \cdot C_{\text {cost }, m} \cdot \xi \\ \quad \cdot \sum_{i \in \bar{S}} \max \left\{\sum_{n \in N} x_{k, n} \cdot \theta_{n, i}, \sum_{v \in V} \psi_{k, v} \cdot \epsilon_{v, i}\right\} \\ \quad+\sum_{k \in \underline{K}} \sum_{m \in M} y_{k, m} \cdot C_{\text {cost }, m} \cdot \xi \\ \quad \cdot \sum_{i \in \underline{S}} \max \left\{\sum_{n \in N} x_{k, n} \cdot \theta_{n, i}, \sum_{v \in V} \psi_{k, v} \cdot \epsilon_{v, i}\right\} \end{array}$

For clarity, an auxiliary binary variable φk,i is introduced to denote the specific stopping information of a train after integrating the two stopping modes. If train k stops at station i, φk,i=1; otherwise, φk,i=0. Therefore, φk,i=max{nNxk,n·θn,i,vVψk,v·v,i} is equivalently replaced by the following linearized constraint in Eq. (35).

φk,inNxk,n·θn,i,φk,ivVψk,v·v,i,φk,inNxk,n·θn,i+vVψk,v·v,i,kK¯,iS¯orkK_,iS_.

Additionally, another auxiliary binary variable ϖk,i,m=yk,m·φk,i is introduced and the associated linear constraint in Eq. (36) are as follows:

ϖk,i,myk,m,ϖk,i,mφk,i,ϖk,i,myk,m+φk,i1,kK¯,iS¯,mMorkK_,iS_,mM

Therefore, Eq. (37) represents the total operating cost of the metro line.

Fcost=ξ·kK¯mMiS¯Ccost,m·ϖk,i,m+ξ·kK_mMiS_Ccost,m·ϖk,i,m

3.3.2. Service quality objective: The number of detained passengers

To ensure high service quality while minimizing operating costs and enhancing train efficiency, some passengers may be required to wait for the next available train, which could be the second or even third one. These passengers are referred to as detained passengers. Naturally, the number of detained passengers is a key indicator of service quality, and the total number of detained passengers can be expressed as follows:

Pdetained=kK¯iS¯j>iS¯sk,i,j+kK_iS_j>iS_sk,i,j

3.3.3. Service quality objective: The delay time of cargo groups

For the freight transport on metro lines, freight agents typically focus on the arrival times of cargo groups. Therefore, minimizing the delay for cargo groups is an important aspect of transportation services. In this study, the cargo groups can be transported by only one train. If cargo group f takes train k for its trip (i.e, γk,f=1), the delay time for the cargo group is the arrival time of train k minus the expected arrival time of cargo group f at station ef; otherwise, wf is set to zero. Therefore, the delay of the cargo group can be expressed using Eq. (39).

wf=tk,efateff,γk,f=10,γk,f=0,kK¯,efS¯,fForkK_,efS_,fF

The total delay time for all the cargo groups on the metro line is calculated as follows:

Tcargos=fFwf

Subsequently, by incorporating two cost coefficients, σ1 and σ2, which represent the costs for detained passengers and cargo delays, respectively, the objectives pertaining to economic efficiency and service quality can be converted into a single-objective framework. Additionally, introducing three weighting factors, c1, c2, and c3, which represent the relative importance of the operational cost, number of detained passengers and delay time of cargo groups in the objective function, respectively, enables decision makers to set different combinations of these weights based on various scenarios to balance operational costs and service quality.

minF=c1·Fcost+c2·σ1·Pdetained+c3·σ2·Tcargos

In summary, the studied model can be formulated as follows.

minF=c1·Fcost+c2·σ1·Pdetained+c3·σ2·Tcargoss.t.ConstraintsinEqs.16,714,1521,2234,3540

Notably, the formulated model is a general optimization method for TT and RSCP with flexible composition and skip-stop strategies for the co-transportation of passengers and freight. Decision makers can adjust the values of some key parameters, such as the initial number of rolling stocks at the depot, coupling/uncoupling time, train capacity, and so forth, to better align with real-world operations.

3.4. Complexity analyses

Table 3 reflects the size and complexity of the proposed model. The overall number of variables and key constraints are predominantly connected to the number of trains, stations, composition types, skip-stop strategies, cargo groups, and discrete timestamps. For example, in the case of 10 stations with 30 trains in each direction, five train composition types, five train stopping modes, ten cargo groups, and 120 timestamps, the proposed model contains 7 980 decision variables and 151 210 auxiliary variables. Clearly, the joint optimization model of TT and RSCP with consideration of flexible composition and skip-stop strategies for passenger and freight co-transportation is an MINLP model, and the computational complexity increases with the increase of the problem size.

4. Solution approach

It can be inferred from Section 3.4 that for a real-world problem with a large number of services, the computational scale of the model is large. This will require considerable computational time, and the commercial solver (e.g., GUROBI) even cannot find a viable solution. By analyzing the characteristics of the studied model, this paper develops a heuristic algorithm based on VNS algorithm and GUROBI solver. The VNS algorithm was proposed by Mladenović and Hansen [61], which is an efficient metaheuristic algorithm that has been successfully applied to solve some TT-related optimization problems [28,32,62]. The following subsections describes the details of the implementation of the algorithm.

4.1. Framework of VNS algorithm

Generally, the VNS algorithm contains two parts, the shaking process and variable neighborhood descent (VND) process. The VND process is essentially a local search procedure that alternately searches in different neighborhood structures composed of different neighborhood actions. The basic idea is that if a better solution cannot be found in the current neighborhood, the search continues by jumping to the next neighborhood (as shown by the black dashed line in Fig. 5). When a better solution is found in the current neighborhood, the search starts again by jumping back to the first neighborhood (as shown by the red solid line in Fig. 5). The framework of the VND procedure is described as Algorithm 1.

Algorithm 1 The VND framework.

Input: Current focus solution: x; neighborhood structures for VND: Nl, l=1,2,...,L;
Output: A local optimal solution:x;
1: Initialization: l1, xx;
2: repeat
3:   Local search: find best neighbor of solution x in its neighborhood Nlx;
4:   if fx<f(x) then
5:    xx; l1
6:  else
7:   ll+1;
8:   end if
9: until l>L
10: if fx<f(x) then
11:  xx;
12: end if
13: return x

For the optimization problem, a local optimal solution that is effective within one neighborhood may not retain its optimality in a different neighborhood. However, the global optimal solution must maintain its optimality across all the potential neighborhoods. Therefore, it is better to explore as many different types of neighborhoods as possible if the search time allows. Consequently, the VNS algorithm extends the breadth and depth of the local search method by using the VND process alternately searching in various neighborhoods, whereas the shaking process generates a new solution with certain rules when a better solution cannot be found in the VND process. The specific process of VNS is shown in Algorithm 2.

Algorithm 2 The VNS algorithm framework.

Input: A set of neighborhood structures Nr(r=1,2,...,R) for shaking; a set of neighborhood structures Nl(l=1,2,...,L) for VND; generate the initial solution: x=x0;
Output: Best found solution: x;
1: Initialization: xx0;
2: repeat
3:   r1
4:   while rR do
5:    x'Shakingx*,r,Nr: select a neighbor x from neighborhood structure r of x randomly;
6:    x''VNDx',l,Nl: find the local optimal solution x by VND ;
7:    if fx<f(x) then
8:     xx; r1
9:    else
10:    rr+1;
11:    end if
12:   end while
13: until stopping criterion14: return x

4.2. Representation of the solution

According to the complexity analysis of the model in Section 3.4, the model has a great number of decision variables that are difficult to solve. In the mathematical model, the decision variables are mainly divided into four categories: ① TT variables, that is, tk,i(a), tk,i(d); ② skip-stop strategies variables, that is, xk,n,ψk,v; ③ train composition variable yk,m; and ④ passenger and freight allocation variables λk,i,j, sk,i,j, and γk,f. If the values of tk,i(a), tk,i(d), xk,n, and ψk,v are fixed and the associated complex constraints are removed to simplify the problem, the remaining problem can be efficiently solved using a solver (e.g., GUROBI). Therefore, the original problem can be decomposed into two interrelated layers: The upper layer determines the TT and skip-stop strategies, whereas the lower layer focuses on selecting the composition type and allocating passengers and cargo groups. The TT and skip-stop strategies in the upper layer can then be solved and passed to the lower layer. By solving the simplified lower layer problem with eliminating the corresponding complex constraints, the obtained solution can be evaluated and updated in the upper layer. Through iterative resolution of the problem’s upper and lower layers, a solution that approaches optimality can be achieved within a reasonable computational time. Regarding the representation of the solution, because the section travelling time and train dwell time are predetermined, if the departure intervals of two consecutive trains from the origin station are known and the two stopping modes of each train service are also determined, the specific TT can be easily calculated from constraints in Eqs. (4), (5). Thus, the solution of the algorithm is denoted by h=,χ, where represents the train headway vector with (|K¯|+|K_|-2) dimensions and χ represents the skip-stop strategy vector with 2(|K¯|+|K_|) dimensions.

4.3. Evaluation function and initial solution

In the designed algorithm, considering the distribution characteristics of passenger and freight flows, several alternative stopping modes are pre-determined to prevent trains from skipping excessive stations and to ensure solution feasibility. Furthermore, during the solution process, each generated solution is evaluated for feasibility at every iteration and if an infeasible solution is found, a new solution will be regenerated. Consequently, the objective function of the model can be used directly as the evaluation function throughout the search process. For the initial solution in the first iteration, both a set of randomly generated train headways within the range [hmin, hmax] and the traditional all-stop strategy served as the inputs.

4.4. Neighborhood structures

As mentioned above, the VNS algorithm mainly comprised two important parts: ① generating different neighbor solutions by the shaking procedure (i.e., generating different solutions for the VND procedure), aiming to increase the diversity of the solution; and ② applying the VND procedure to alternately search in different neighborhoods, to improve the optimality of the solution. The neighborhood structures are extremely important for the efficiency of the designed algorithm, and different neighborhood actions should be implemented for the shaking and VND procedures, as described below.

4.4.1. Neighborhood structure for shaking procedure

The solution primarily involves two types of variables that pertaining to the TT and skip-stop strategies. Thus, two types of neighborhood structures can be constructed for the shaking procedure, which are denoted by the set Nr(r=1,2,...,R), R=2, as described below.

Swap headway: The first neighborhood structure for shaking procedure is related to the train headway. By keeping the skip-stop strategy matrix χ unchanged, we randomly choose two elements in and exchange their positions. Fig. 6(a) illustrates an example with the train departure headway vector as =2,2,3,4,2, 3 to explain this neighborhood action. If the departure headways of trains 2 and 3 and the headways of trains 4 and 5 are selected, by swapping the values of these two departure headways, a new vector of train departure headways '=2,4,3,2,2,3 will be produced.

Alter train skip-stop strategies: The second neighborhood structure is related to the skip-stop strategies. Similarly, keeping the headway vector being unchanged, we randomly choose a train in χ and modify its selected stopping modes (i.e., passenger stopping mode and freight stopping mode). In particular, to accommodate passenger and freight demands, several skip-stop strategies are predefined. We use the binary decision variables xk,n and ψk,v to represent the selection of passenger stopping mode n and freight stopping mode v for train k. For clarity, Fig. 6(b) takes changing the train passenger stopping mode as an example. Assuming that train 2 is selected to change its stopping mode (e.g., the conventional stopping mode with the train stopping at every station), a flexible skip-stop mode can be randomly selected for train 2, for instance, flexible skip-stop mode 2. The underlying idea is that if there is little or no passenger demand at a station during the train service period, the train can skip this station to improve operational efficiency. By randomly selecting the flexible skip-stop mode, we can further enhance the search ability of the proposed algorithm.

4.4.2. Neighborhood structures for VND procedure

In this part, three distinct neighborhood structures are established for the implementation of the VND algorithm, which are denoted by Nl(l=1,2,...,L), L=3. The specific details about these three neighborhood structures are displayed as follows.

Alter headway: The first type of neighborhood structure for VND is related to train headway. We randomly choose two elements ϛ1, ϛ2. Then, we increase the element in ϛ1 and decrease the element in ϛ2 with the same change value. Fig. 7(a) shows a representative example. Here, the headway vector is denoted by =2,2,3,4,2, 3. According to the above rules, if the departure headways of train 2 and 3 (i.e., ϛ1={2}) and the headways of train 4 and 5 (i.e., ϛ2={4}) are randomly selected and the change value is 1 min, the updated headway vector ' is now defined as 2,3,3,3,2, 3, where element 2 has been incremented to 3, and element 4 has been decreased to 3. In particular, the minimum (e.g., 2 min with yellow background) and maximum (e.g., 4 min with green background) headways are considered in this process to guarantee the feasibility of the generated solution.

Reverse headway: The second type of neighborhood structure for VND is also related to the change of train headway. Specifically, we randomly choose two elements in , and then we reverse all the elements between the selected two elements. For example, in Fig. 7(b), the headway vector is represented by =2, 2,3,4,2,3. If the third (i.e., departure headways of trains 3 and 4) and fifth (i.e., the headways of trains 5 and 6) elements are respectively selected, then we can reverse the elements from third to fifth elements, leading to a new headway vector '=2, 2,2,4,3,3.

Alter train skip-stop strategies: The third neighborhood structure is related to the skip-stop strategies. However, unlike the neighborhood structure related to skip-stop strategies in the shaking procedure, we increase the number of selected trains to change their train skip-stop modes in the VND procedure. This is mainly to speed up the searching process by increasing the change of solutions during each iteration. Taking Fig. 7(c) as an example. We randomly select train 2 and train k to turn their conventional stopping mode into any of the flexible skip-stop modes.

5. Numerical examples

In this section, several numerical examples are presented based on a simplified example and the Beijing Metro Yizhuang Line to test the performance of the presented methods. All experiments were implemented on a Windows 11 operating system with an i7-8750 central processing unit (CPU) using Python with the Gurobi 9.5.2 optimization software.

5.1. A simplified example

As a simplified example, this study considers a bi-directional metro line with six stations in each direction (i.e., S¯=0,1,2,3,4,5 and S_=6,7,8,9,10,11, where the station in bold can provide services for cargo groups loading and unloading) to test the proposed method. The considered time period is 80 minutes with the discrete length of each time interval set to 1 min, and 14 train services are operated in each direction (i.e., trains 0–13 in upstream and trains 14–27 in downstream direction). The dwell time of each train at each station is assumed as 1 min for both passenger and freight operations. The section travelling times for the train in different directions are set as {3, 4, 5, 2, 5} and {5, 2, 5, 4, 3}, respectively. Considering the background of the PFCT, most of the experiments in this study are performed based on off-peak passenger flows. The corresponding passenger and freight demand in this experiment are shown in Figs. 8(a) and (b), respectively. To achieve a more precise alignment between supplied capacity and demand during off-peak periods, five types of train composition are considered, namely, large-format passenger (L-P) trains, small-format passenger (S-P) trains, mixed-format passenger and freight (M-P-F) trains, small-format freight (S-F) trains, and large format freight (L-F) trains. The corresponding operating costs and train capacities (passenger capacity and freight capacity) are {10 000, 8 000, 9 000, 7 000, 8 500} and {(1 600, 0), (600, 0), (600, 300), (0, 300), (0, 600)}, respectively. In the objective function, for the sake of uniformity of magnitude, the cost for each detained passenger and each cargo group delay are set as σ1=2000 and σ2=1000, respectively. Furthermore, because ensuring the quality of transport service for passengers is a prerequisite for the PFCT, the weight coefficients in the objective function for the operational cost, detained passengers, and cargo delay are set as c1=0.4, c2=0.5 and c3=0.1, respectively. The other relevant parameters are listed in Table 4.

(1) Performance comparison with different initial solutions and neighborhood sizes in the VNS algorithm. First, we implement a set of experiments to test the effects of different initial solutions on the performance of the VNS algorithm. As outlined in Section 4.2, two distinct types of initial solutions are considered: the train headway vector and the skip-stop strategy vector χ. Thus, two generation methods are employed for each of these two types of initial solutions: random generation of train headway and uniform generation of train headway; all-stop strategy and skip-stop strategy (i.e., skip-stop strategies are developed in advance based on the characteristics of passenger flow distribution). It is evident that four combination methods can be used to generate the initial solution. The obtained results and convergence process are presented in Table 5 and Fig. 9(a), respectively. The Dev in the sixth column of Table 5 indicates the deviation between the objective values of the obtained solution and best solution. It can be observed that after 150 iterations, the influence of different initial solutions on the solution time and quality becomes negligible, with objective value deviations of less than 0.5%. As shown in Fig. 9(a), formulating a skip-stop strategy in advance based on the spatiotemporal distribution of passenger flow (i.e., instance 2 vs instance 1, instance 4 vs instance 3) can lead to a better initial solution. However, as the number of iterations increases, the convergence curves gradually overlap, indicating that the quality of the initial solution has little impact on the iterative speed of the algorithm.

Next, a set of experiments is performed to analyze the impact of the maximum number of iterations on the solution time and quality of the VNS algorithm. Another key parameter in this analysis is the number of candidate solutions generated per neighborhood action within each neighborhood structure (referred to in figure/table as neighborhood size). These two factors together determine the number of new solutions generated per iteration and the stopping criterion of the algorithm. As mentioned in Section 4.1, the shaking procedure generates a new solution for exploring different neighborhoods. In this set of experiments, the number of candidate solutions in the shaking procedure is fixed at one (i.e., |Nrx|=1). Therefore, we mainly examine how varying the number of candidate solutions in the VND procedure affects the performance of the algorithm.

In Table 6, Dev represents the deviation between the objective values of the obtained and the best solutions. In instances 1–4, increasing the neighborhood size (i.e., |Nlx|) and the maximum number of iterations effectively reduces the objective value. However, when the number of iterations exceeds 100, the algorithm converges and stabilizes, resulting in only slight deviations in the objective values (particularly in instances 5, 6, 8, and 9, where |Nlx| is set to 3 and 4). This trend is illustrated and validated in Fig. 9(b). Therefore, to balance the solution quality and computational efficiency, the maximum number of iterations is set to 100 and |Nlx| to 3 for subsequent simplified examples.

(2) Effectiveness of flexible train composition. The flexible train composition mode enables adjustments based on fluctuations in passenger and freight demand, thereby ensuring a better match between the available capacity and transport demand, while enhancing the service quality for both passengers and freight. Typically, metro passenger flows can be categorized into three periods: peak hours, transition hours between high and low peaks, and off-peak hours. Considering the impact of freight transport on passenger services, two time periods with relatively low passenger flows are selected for the experiments to validate the effectiveness of the flexible composition mode for PFCT.

Performance of flexible train composition during off-peak hours. Generally, during off-peak hours, a commonly used method is to operate one type of train with low-frequency since there are usually few passengers during this time period, as shown in Fig. 8(a). Considering the interference between passenger and freight services, the off-peak hour is the most suitable period for implementing the PFCT to exploit the full potential of train capacity. As shown in Fig. 8(b), several freight demands are considered to fully utilizing the train capacity during off-peak hours. Meanwhile, considering the variations in passenger and freight demand, the mixed passenger and freight composition mode (M-P-F) and flexible train composition mode (i.e., L-F, L-P, S-F, S-P, and M-P-F) are respectively considered in this set of experiments. Table 7 presents a comparison between the flexible and fixed train composition modes, where Dev is the deviation of the objective value between these two modes. And in this table, the numbers on the left-hand side of the train composition mode in the second column represent the actual numbers used for this type of train composition mode.

As observed from Table 7, with 28 trains being put into operation, passenger and cargo groups can be served by both train composition modes in an acceptable way without cargo groups delays and detained passengers or only a small number of detained passengers. As the flexible composition mode requires determining the specific composition for each train, additional computation time is required to identify the optimal solution. However, compared to the fixed mode, the flexible composition mode achieves an 18.5% reduction in the objective value and a 19.9% decrease in operating costs. This improvement is due to its ability to dynamically adjust train configurations, such as adopting more precise composition schemes including 16 S-P, 8 M-P-F, and 4 S-F trains, which enables a better match between passenger and freight demands. These results highlight the advantages of flexible train composition for PFCT during off-peak hours. However, when considering skip-stop strategies, a small number of passengers (i.e., four detained passengers) may experience temporary delays, which is an acceptable trade-off for balancing service quality and operating costs in PFCT.

Performance of flexible composition during high and low peak transition hours. Another suitable scenario for passenger and freight co-transportation with flexible composition mode is the transition period between high and low peak hours. During this period, as passenger flow gradually decreases, as shown in Fig. 10(a), it becomes particularly important to adjust the train compositions accordingly to match the changing demand more effectively. For large passenger flows, L-P train is suitable for providing additional services to passengers. When passenger flow is reduced to a certain extent, S-P train can be used to reduce operating costs without compromising the quality of passenger service. For the stations with lower passenger flows, providing services for some freight demand (as shown in Fig. 10(b)) using small-format freight (S-F) train or mixed passenger and freight composition (M-P-F) train is a good choice to fully utilize the capacity of metro systems. Therefore, the same experiments with the M-P-F composition mode and flexible train composition mode (i.e., L-F, L-P, S-F, S-P, and M-P-F) are implemented to transport passengers and freight during the high and low peak transition hours. The corresponding results are presented in Table 8.

Table 8 demonstrated that the flexible composition mode could better adapt to fluctuations in passenger and freight flows during the transition period. In the period of high passenger flow, one L-P train is set to meet passenger demand and avoid passengers being detained (i.e., PD = 0). As passenger flow gradually decreases, S-P and M-P-F trains are set to meet freight demands without affecting passenger transport services. With no passenger demand set after 60 min, two S-F trains are set to handle the remaining freight operations. Considering the limitation of train length, although the fixed train composition mode can better match the transportation demand of small-scale freight (CD = −60, i.e., most cargo groups can arrive before their expected arrival time), it cannot satisfy passenger demand during peak hours, resulting in a large number of detained passengers (i.e., PD = 356), which causes high passenger detaining costs. Consequently, the objective value of the solution derived by the flexible mode is reduced by 49.3% in comparison with the solution derived by the fixed mode.

The experimental results from the above two scenarios indicate that, in response to dynamically changing passenger demand, the flexible mode offers significant advantages over the fixed mode. This effectively reduces the waste of resources under the premise of ensuring the quality of transport services. Furthermore, for different scales of passenger and freight demands, the results also verified the feasibility of PFCT.

(3) Effectiveness of train skip-stop strategies. Generally, traditional train operations choose to stop at each station for ease of operation. Considering the imbalanced distribution of passenger and cargo flows both temporally and spatially, few or even no alighting/boarding passengers can exist at certain stations within a certain time period (especially during off-peak hours). To enhance efficiency and reduce travel time for long distance passengers and freight, this study considers flexible skip-stop strategies by allowing trains to skip from some stations. While skipping stations can shorten the travel time for passengers, it is important to acknowledge that this approach may increase the waiting times for passengers and cargo groups at skipped stations. Therefore, a careful trade-off must be made between the benefits and potential drawbacks of implementing skip-stop strategies.

With the above experimental data and using the traditional all-stop strategy as inputs, the model is first solved using a simplified version of the presented VNS algorithm (i.e., swap headway (r=1) for the shaking procedure; alter headway (l=1) and reverse headway (l=2) for the VND procedure) to obtain a solution based on the all-stop strategy. The obtained TT, train composition, and number of alighting and boarding passengers (i.e., Pk,i(alight) and Pk,i(board)) are counted, as shown in Fig. 11(a). Almost all the intermediate stations in the upstream have alighting/boarding passengers. No suitable intermediate stations for skipping operations exist. While for the passenger flow in the downstream, there are more trains at stations 8, 9, and 10 with no or only a small number of alighting/boarding passengers during their service hours. Consequently, when a train stops at a station where there is no demand for passengers or cargo groups to alight or board during its service time, the stopping operation unnecessarily increases the operating costs and reduces the operational efficiency.

Next, we take the above train departure intervals and all-stop patterns as the initial solution and solve it using the VNS algorithm combined with the GUROBI solver. As indicated by green circles in Fig. 11(b), by considering the skip-stop strategies, six skipping operations (i.e., NS = 6) occur downstream with lower passenger flows. Therefore, in view of the reduced operating costs associated with the skipping operation (i.e., a reduction from 1 368 000 to 1 213 000) and the fact that no passengers are detained as a result (i.e., PD = 0), the objective value of the solution with skip-stop strategies is reduced by 11.4% compared with the all-stop strategy, as shown in Table 9.

(4) Sensitivity analyses with different weights in the objective function. In the objective function, three perspectives of metro operators, passengers, and freight agents are considered, which are measured by train operation cost, passenger detaining cost, and cargo group delay cost, and three weighting coefficients (i.e., c1, c2, c3) are respectively introduced to integrate these three parts into a unified objective.

Next, a new set of experiments is conducted with five different sets of weighting coefficients to demonstrate the trade-offs among the three objectives. Instance 1 represents a balanced weighting combination with c1=c2=c3=0.33, which can be seen as a benchmark. Instances 2, 3, and 4 correspond to the passenger-priority, operating cost-priority, and freight-priority weighting combinations, respectively. As shown in Table 10, when considering the passenger priority with c2=0.50 in instance 2, the train operation plan is relatively conservative with fewer skipping operations (NS = 6) and fewer detained passengers (PD = 2). When considering the operating cost priority with c1=0.50 in instance 3, to achieve a smaller train operating costs, the number of skipping operations is increased (NS = 10). Instance 4 is a special case. When the freight has a higher priority with c3=0.50, more cargo groups arrived without delay or even earlier (CD = −50). Therefore, the appropriate values of these three weighting coefficients should be considered carefully according to the preference of the decision makers. Generally, considering the actual operational conditions of urban rail transit, where a high-quality passenger transport service is prioritized and freight has a higher time elasticity, Instance 5 prioritizes passenger transport with c1=0.40, c2=0.50, and c3=0.10. The solution demonstrates a good balance between service quality and operating costs.

(5) Performance comparison of two solution approaches. As discussed in Section 3.4, the computational complexity of the proposed MINLP model increases significantly as the problem size expands. In this section, we aim to evaluate the computational performance of the designed VNS algorithm by comparing it with the GUROBI solver for solving the linearized model (see Appendix A for more details).

Based on the parameter settings of the simplified example, we set six experimental cases with different numbers of trains and time intervals (i.e., in instances 1–3, 14, 16, and 18 trains are scheduled within 1 to 2 h, respectively; in instances 4–6, 24, 28, and 32 trains are scheduled within 3 to 4 h, respectively). Table 11 lists the best objective values obtained by these two approaches, as well as the CPU time consumed. Column 7 represents the relative gap returned by the GUROBI solver within 7200s computation time. Clearly, for small-scale cases (i.e., instances 1 and 2) in which GUROBI can find good solutions, the VNS can always obtain a near-optimal solution in a shorter computational time. For example, in instance 2, the deviation between the objective values of the solutions obtained by GUROBI and VNS is only 0.8%, whereas the computational time can be reduced by 98.4%. As the problem size increases and the number of variables and constraints increases significantly, the GUROBI solver can only find poorly feasible solutions (i.e. relative gaps between 26.6% and 38.7% in instances 4–6) within an acceptable CPU time (i.e., 7200 s). By comparison, the advantages of the VNS algorithm in terms of both solution quality and efficiency are evident. For example, in instance 6, the VNS algorithm achieved a 14.4% reduction in the objective value within a shorter time compared to the solution obtained using the GUROBI solver. To further assess the solution quality of the VNS algorithm, we extended the computation time of GUROBI for instance 6. After 10 800 s, GUROBI obtained the best objective value of 1 129 200, with a relative gap of 5.1% from the best bound. This demonstrates that the designed VNS algorithm can find a near-optimal solution within a short CPU time.

5.2. Empirical examples on Beijing Metro Yizhuang Line

To thoroughly evaluate the proposed methods when dealing with large-scale problems, we jointly optimize the TT, RSCP, train composition mode, and skip-stop strategies based on a real-world case of the Beijing Metro Yizhuang Line with 14 stations, as shown in Fig. 12. The direction from Songjiazhuang to Yizhuang Railway Station is referred to as the upward direction, and the opposite direction is the downward direction. The two depots are situated at opposite ends of the metro line.

The passenger flow data were provided by the AFC system, as shown in Fig. 13. Passenger demand has clear spatial and temporal imbalance characteristics on this line. Considering the suitable situation of the PFCT, we first consider the passenger flow in off-peak hours from 11:00 a.m. to 4:00 p.m. with 45 train services in each direction to test the effectiveness of the flexible train composition and skip-stop strategies.

In the proposed model, the constraints in Eqs. (16), (24), and (25) are formulated to avoid changing the destinations of passengers and cargo groups. To find the stations with fewer arriving passengers to minimize the number of detained passengers owing to skipping operations, we counted the number of arriving passengers at each station on the Yizhuang Line during off-peak hours (i.e., 11:00 a.m. to 4:00 p.m.), of which the number of arriving passengers in the up direction at Ciqu South and Ciqu and in the down direction at Yizhuang Railway Station, Ciqu South, Xiaohong Men, and Xiaocun was less than 100. Therefore, skipping operations can only occur at these stations.

For cargo flow data, to maintain the safety and orderliness, scattered cargos must be allocated in advance, assigned into groups, and transported in uniform freight standard containers according to the two principles of ① arriving at the freight station within the same time period and ② having the same OD pairs (cargo with the same OD stations). In this experiment, we consider 12 cargo groups in each upward and downward direction during off-peak hours, as shown in Fig. 14. The given freight information includes the cargo group index, time (i.e., tof(f) and tef(f)), and OD pairs.

In the real-world experiments, we have considered five types of train compositions, as shown in Fig. 2. The corresponding operating costs and train capacities (passenger capacity and freight capacity) are {10 000, 8 000, 9 000, 7 000, 8 500} and {(1 600, 0), (600, 0), (600, 300), (0, 300), (0, 600)}, respectively. The penalty cost parameters are set as σ1=2000 and σ2=1000, respectively. The weight coefficients in the objective function are set as c1=0.4, c2=0.5, and c3=0.1. The other pertinent parameters are listed in Table 12.

5.2.1. Computational results

Using the same VNS algorithm structure as in the simplified example, the proposed model is applied to the off-peak hours of the Beijing Metro Yizhuang Line. To enhance the solution quality, the number of candidate solutions generated by the neighborhood action of each neighborhood structure is set to |Nrx|=1, |Nlx|=4, with a maximum of 150 iterations. After 3496.5 s computation, the specific results are shown in the second rows of Table 13, Table 14. For clarity, the timetable is shown in Fig. 15, in which the names of the stations are denoted by their corresponding capitalized initial letters. The following section compares the performance of the obtained solutions with both the fixed composition mode and the conventional all-stop strategy with some observations.

As shown in Table 13, similar performance and conclusions can be drawn. Since the mixed-format passenger and freight train can provide services for passengers and freight, the cargo group can be loaded onto train k as long as the arrival time of the cargo group is before the departure time of train k (i.e., tof(f)<tk,of(d)) and the train has sufficient capacity. Therefore, the fixed composition mode exhibits good performance for freight transport with few delay times for cargo groups (CD = 5). However, owing to the limited passenger capacity of the mixed-format passenger and freight train, the fixed composition mode results in lower performance for passenger service with a large number of detained passengers (PD = 999). In comparison, the flexible composition mode schedules one L-P train to alleviate the pressure on passenger transport in the upward direction during time periods with larger passenger flows. Five M-P-F trains are arranged to provide services for freight transport with comprehensively considering the service quality of the PFCT and operating costs. S-P trains are arranged during period of low passenger demand to reduce operating costs. Although the total delay time of the cargo group increased, the flexible composition mode greatly reduces the operating and passenger detention costs since it can better match passenger and freight demands, resulting in a 25.0% reduction in the objective value, which proves the effectiveness of the flexible composition mode.

From Fig. 15, it can be observed that the solution obtained by considering the skip-stop strategies skips a total of eight stations in the upward direction and 13 stations in the downward direction. The spatiotemporal locations where skipping occurs are represented by circles, with green indicating that the skipping operation does not result in detained passengers, and orange signifying that a minimal number of passengers are unable to be serviced in time. By comparing the solution obtained from the skip-stop strategies with the solution obtained from the traditional all-stop mode in Table 14, although the skipping operations (NS = 21) increasing the number of detained passengers (i.e., PD = 29, of which 3 passengers were detained owing to train 9 in the upward direction skipping the CQS station), the skip-stop strategy enhances the overall operational efficiency and effectively reduces the train operating costs as the cost savings from skips cover the detaining costs of passenger delays, resulting in a 2.7% reduction in the objective value, which further proves the effectiveness of the skip-stop strategies in PFCT with low passenger demand. It is also important to note that skip-stop strategies should be carefully designed and applied based on passenger flow characteristics, balancing the benefit of reducing travel time for long-distance travelers with the potential cost of increased waiting time for some passengers.

5.2.2. A one-day experiment on the Beijing Metro Yizhuang Line

To better explore the application of PFCT in urban rail transit, a large-scale experiment based on all-day passenger flow data of the Beijing Metro Yizhuang Line with 150 trains in each direction is particularly conducted. Fig. 16 gives the corresponding freight demand, where cargo groups 1–16 represent cargo groups in the up direction and 17–56 represent cargo groups in the opposite direction. The data next to the cargo indexes indicate the time when the cargo group arrives at the origin station and the time when it is expected to arrive at the destination station, that is, (tof(f), tef(f)).

Using the same method of generating the initial solution and search strategy of the algorithm as in the above case, the corresponding results are displayed in Fig. 17. Clearly, the characteristics of the generated operating plan are consistent with the distribution of passenger flows in Fig. 13. Since the overall passenger flow in the down direction is relatively small, freight transport in the down direction can be considered throughout the whole day with 130 S-P, 18 M-P-F, and two S-F trains. Whereas, the overall passenger flow in the up direction is larger. Eighty-one S-P, eight M-P-F, and sixty-one L-P trains are scheduled in the up direction. In particular, L-P trains are used to transport passenger flow during peak hours at 7:00–9:00 a.m. and 5:00–7:00 p.m., and freight are transported during other time periods with much lower passenger demand.

Since the passenger service can be guaranteed to wait for no more than two trains by constraint in Eq. (15), we next analyze the services for freight by showing the delay time of the cargo groups in Fig. 16. Except for cargo group 1 during the morning peak hours in the upward direction, which experiences a long delay, the delay times for the other cargo groups are well controlled within an acceptable range, not exceeding 40 min, with an average delay of approximately 10 min. The prolonged delay of cargo group 1 is primarily owing to its arrival at the origin station during peak hours, when passenger demand is high. To avoid disruptions to passenger transport, cargo group 1 cannot be served until after the peak period, when the first M-P-F train begin to operate. This suggests that if cargo groups arrive at origin stations during periods of lower passenger demand, the quality of the freight transport services can be ensured. However, if cargo groups arrive during peak hours with high passenger demand, the freight agent must account for the risk of significant delays, as observed in cargo group 1.

Based on the results for the full day of the line and the analysis of off-peak hours in Section 5.2.1, the following conclusions can be drawn:

(1) The flexible composition mode dynamically adjusts carriage configurations in response to fluctuations in passenger and cargo flows over time, ensuring a precise alignment between service provision and demand while optimizing train operating costs.

(2) Effective skipping operations can minimize unnecessary stops and enhance the efficiency of train operations. However, improper skipping may result in detained passengers, making it essential to carefully design and evaluate these strategies.

(3) Generally, PFCT is scheduled during periods of low passenger demand throughout the day (e.g., the whole day in the downward direction and off-peak hours in the upward direction of the Beijing Metro Yizhuang Line).

(4) The TT, skip-stop strategies, and train composition are interdependent and directly influenced by passenger and freight demands, necessitating simultaneous optimization.

6. Conclusions and further works

To fully use the surplus capacity during the time period with fewer passengers, this paper proposed a novel joint optimization approach of TT and RSCP for PFCT, which particularly takes into account the flexible composition and skip-stop strategies, to generate a system-optimal PFCT scheme. An MINLP model with the objective of minimizing the operating costs, number of detained passengers, and delay time of cargo groups was formulated with various constraints concerning the TT and skip-stop strategies, train composition, RSCP, and dynamic variations in passengers and freight. A customized VNS algorithm with GUROBI solver was developed to obtain near-optimal solutions within a reasonable computational time. A simplified example and a real-world case study of the Beijing Metro Yizhuang Line were performed to verify the effectiveness of the proposed method. The computational results indicate that, compared to traditional train operation modes (i.e., fixed composition mode and all-stop strategy), the proposed method can effectively reduce train operating costs while enhancing transport service quality. Future research could explore the following directions:

(1) In this study, a flexible train composition is considered by giving a set of train composition types and the experiments verified the effectiveness of the flexible composition mode. Future research can further discuss virtual train composition with a more detailed rolling stock circulation process by considering coupling/decoupling operations at any time.

(2) The train operation plans (i.e., timetable, skip-stop strategies, and train composition) are closely dependent on the distribution of passenger and freight demands. However, various factors in real-world operations may cause uncertainty in passenger and freight demands, and dynamic changes in dwelling time. Future research could explore optimization methods that incorporate uncertain demands and dynamic dwell times to obtain a robust operational plan.

(3) The proposed model in this study is based on a bi-directional metro line. With the rapid development of metro networks, future research can extend the proposed method to larger metro networks by considering a more detailed depiction of the entire freight transportation process, including storage, grouping, transport, transfer, and delivery, while considering cargo prioritization.

(4) Generally, integrating freight transport into public transit may influence the travel behavior of passengers, as some passengers may not like to travel with cargo on the same train or line. Therefore, incorporating passenger travel behavior analysis into the optimization of PFCT by considering more comprehensive passenger service quality indicators and environmental factors could be an interesting topic in the future.

CRediT authorship contribution statement

Jianian He: Writing - review & editing, Writing - original draft, Software, Investigation, Conceptualization. Jianguo Qi: Writing - review & editing, Writing - original draft, Methodology, Funding acquisition, Conceptualization. Lixing Yang: Writing - review & editing, Supervision, Funding acquisition, Conceptualization. Zhen Di: Writing - review & editing, Software, Funding acquisition. Housheng Zhou: Writing - review & editing, Software. Chuntian Zhang: Writing - review & editing, Software.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgment

This work was supported by the Beijing Natural Science Foundation (9252012), the National Natural Science Foundation of China (72371015, 72288101, 72431002, and 72161010), and Key Laboratory of Railway Industry on Plateau Railway Transportation Intelligent Management and Control (GYYSHZ2301).

Appendix A. Supplementary material

Supplementary data to this article can be found online at https://doi.org/10.1016/j.eng.2025.07.005.

References

[1]

Lindholm M, Behrends S. Challenges in urban freight transport planning a review in the Baltic Sea Region. J Transp Geogr 2012;22:129-36.

[2]

Ozturk O, Patrick J. An optimization model for freight transport using urban rail transit. Eur J Oper Res 2018; 267(3):1110-21.

[3]

Tang J, McNabola A, Misstear B, Caulfield B. An evaluation of the impact of the Dublin Port Tunnel and HGV management strategy on air pollution emissions. Transp Res D 2017;52(A):1-14.

[4]

OECD.ITF Transport Outlook 2017. Paris: OECD; 2017.

[5]

Visser JGSN. The development of underground freight transport: an overview. Tunn Undergr Space Technol 2018;80:123-7.

[6]

Zhao L, Li H, Li M, Sun Y, Hu Q, Mao S, et al. Location selection of intra-city distribution hubs in the metro-integrated logistics system. Tunn Undergr Space Technol 2018;80:246-56.

[7]

Nuzzolo A, Crisalli U, Comi A.Metropolitan freight distribution by railways. In:Proceedings of the 5th International Conference on City Logistics; 2007 Jul 11-13; Crete, Greece. Bruxelles: Transport Research and Innovation Monitoring and Information System; 2007.

[8]

Motraghi A, Marinov MV. Analysis of urban freight by rail using event based simulation. Simul Model Pract Theory 2012;25:73-89.

[9]

Brice D, Marinov M, Rger B. A newly designed baggage transfer system implemented using event-based simulations. Urban Rail Transit 2015; 1 (4):194-214.

[10]

Fatnassi E, Chaouachi J, Klibi W. Planning and operating a shared goods and passengers on-demand rapid transit system for sustainable city-logistics. Transp Res B 2015;81:440-60.

[11]

Mourad A, Puchinger J, Chu C. A survey of models and algorithms for optimizing shared mobility. Transp Res B 2019;123:323-46.

[12]

Bruzzone F, Cavallaro F, Nocera S. Environmental and energy performance of integrated passenger-freight transport. Transp Res Interdiscip Perspect 2023;22:100958.

[13]

Chebbi O, Chaouachi J. Reducing the wasted transportation capacity of personal rapid transit systems: an integrated model and multi-objective optimization approach. Transp Res E 2016;89:236-58.

[14]

Bruzzone F, Nocera S, Pesenti R. Feasibility and optimization of freight-on- transit schemes for the sustainable operation of passengers and logistics. Res Transp Econ 2023;101:101336.

[15]

Behiri W, Belmokhtar-Berraf S, Chu C. Urban freight transport using passenger rail network: scientific issues and quantitative analysis. Transp Res 2018;115:227-45.

[16]

Di Z, Li L, Li M, Zhang S, Yan Y, Wang M, et al. Research on the contribution of metro-based freight to reducing urban transportation exhaust emissions. Comput Ind Eng 2023;185:109622.

[17]

Bacher P, Klopp JM, Ortbauer M, Lackner M. The potential of combining passenger rail with freight: a New York City case study. J Public Transp 2024;26:100093.

[18]

Abdelhafiez E, Salama M, Shalaby M. Minimizing passenger travel time in URT system adopting skip-stop strategy. J Rail Transport Plann Manage 2017;7:277-90.

[19]

Shang P, Li R, Liu Z, Yang L, Wang Y. Equity-oriented skip-stopping schedule optimization in an oversaturated urban rail transit network. Transp Res C 2018;89:321-43.

[20]

Jiang Z, Gu J, Fan W, Liu W, Zhu B. Q-learning approach to coordinated optimization of passenger inflow control with train skip-stopping on a urban rail transit line. Comput Ind Eng 2019;127:1131-42.

[21]

Yin J, Yang L, Tang T, Gao Z, Ran B. Dynamic passenger demand oriented metro train scheduling with energy-efficiency and waiting time minimization: mixed-integer linear programming approaches. Transp Res B 2017;97:182-213.

[22]

Niu H, Zhou X. Optimizing urban rail timetable under time-dependent demand and oversaturated conditions. Transp Res C 2013;36:212-30.

[23]

Shi F, Zhao S, Zhou Z, Wang P, Bell M. Optimizing train operational plan in an urban rail corridor based on the maximum headway function. Transp Res C 2017;74:51-80.

[24]

Barrena E, Canca D, Coelho LC, Laporte G. Exact formulations and algorithm for the train timetabling problem with dynamic demand. Comput Oper Res 2014;44:66-74.

[25]

Shi J, Yang L, Yang J, Gao Z. Service-oriented train timetabling with collaborative passenger flow control on an oversaturated metro line: an integer linear optimization approach. Transp Res B 2018;110:26-59.

[26]

Shi J, Yang L, Yang J, Zhou F, Gao Z. Cooperative passenger flow control in an oversaturated metro network with operational risk thresholds. Transp Res C 2019;107:301-36.

[27]

Gong C, Shi J, Wang Y, Zhou H, Yang L, Chen D, et al. Train timetabling with dynamic and random passenger demand: a stochastic optimization method. Transp Res C 2021;123:102963.

[28]

Zhou H, Qi J, Yang L, Shi J, Pan H, Gao Y. Joint optimization of train timetabling and rolling stock circulation planning: a novel flexible train composition mode. Trans Res B 2022;162:352-85.

[29]

Yang L, Qi J, Li S, Gao Y. Collaborative optimization for train scheduling and train stop planning on HSRs. Omega 2016;64:57-76.

[30]

Yang S, Wu J, Yang X, Liao F, Ding D, Wei Y. Analysis of energy consumption reduction in metro systems using rolling stop-skipping patterns. Comput Ind Eng 2019;127:129-42.

[31]

Tian X, Niu H. Optimization of demand-oriented train timetables under overtaking operations: a surrogate-dual-variable column generation for eliminating indivisibility. Transp Res B 2020;142:143-73.

[32]

Wu Y, Yang H, Zhao S, Shang P. Mitigating unfairness in urban rail transit operation: a mixed-integer linear programing approach. Transp Res B 2021;149:418-42.

[33]

Liu L, Wang P, Wang Y, Wei W, Wang Z. Dynamic train formation and dispatching for rail transit based on virtually coupled train set. In:Proceedings of the 2019 IEEE Intelligent Transportation Systems Conference (ITSC); 2019 Oct 27-30; Auckland, New Zealand. New York City: IEEE; 2019. p. 2823-8.

[34]

Li Z, Zhao J, Peng Q. Optimizing the train service route plan in an urban rail transit line with multipe service routes and multiple train sizes. J Chi Railw Soc 2020; 42(6):1-11.

[35]

Xu D, Mao B, Chen S, Gong L, Zeng J. Optimization of operation scheme for full- length and short-turn routings considering operation proportion. J Traffic Transp Eng 2021; 21(2):173-86.

[36]

Pan H, Yang L, Liang Z. Demand-oriented integration optimization of train timetabling and rolling stock circulation planning with flexible train compositions: a column-generation-based approach. Eur J Oper Res 2022; 305(1):184-206.

[37]

Zhao Y, Li D, Yin Y, Zhao X. Integrated optimization of demand-driven timetable, train formation plan and rolling stock circulation with variable running times and dwell times. Transp Res E 2023;171:103035.

[38]

Nishi T, Ohno A, Inuiguchi M, Takahashi S, Ueda K. A combined column generation and heuristics for railway short-term rolling stock planning with regular inspection constraints. Comput Oper Res 2017;81:14-25.

[39]

Canca D, Barrena E. The integrated rolling stock circulation and depot location problem in railway rapid transit systems. Transp Res 2018;109:115-38.

[40]

Schöbel A. An eigenmodel for iterative line planning, timetabling and vehicle scheduling in public transportation. Transp Res C 2017;74:348-65.

[41]

Wang Y, D’Ariano A, Yin J, Meng L, Tang T, Ning B. Passenger demand oriented train scheduling and rolling stock circulation planning for an urban rail transit line. Transp Res B 2018;118:193-227.

[42]

Van Lieshout RN. Integrated periodic timetabling and vehicle circulation scheduling. Transport Sci 2021; 55(3):768-90.

[43]

Mo P, Yang L, D’Ariano A, Yin J, Yao Y, Gao Z. Energy-efficient train scheduling and rolling stock circulation planning in a metro line: a linear programming approach. IEEE Trans Intell Transp Syst 2020;21:3621-33.

[44]

Wang Y, Zhu S, D’Ariano A, Yin J, Miao J, Meng L. Energy-efficient timetabling and rolling stock circulation planning based on automatic train operation levels for metro lines. Transp Res C 2021;129:103209.

[45]

Yang Y, Samà M, Pacciarelli D, Ni S. Train timetabling with passenger data and heterogeneous rolling stocks circulation on urban rail transit line. Soft Comput 2022;27:12959-77.

[46]

Zandi I, Allen WB, Morlok EK, Gimm K, Plaut T, Warner J. Transport of solid commodities via freight pipeline:first year final report. Report. Philadelphia: University of Pennsylvania; 1976.

[47]

Egbunike ON, Potter AT. Are freight pipelines a pipe dream? A critical review of the UK and European perspective. J Transp Geogr 2011; 19(4):499-508.

[48]

Chen Z, Dong J, Ren R. Urban underground logistics system in China: opportunities or challenges. Undergr Space 2017; 2(3):195-208.

[49]

Horl B, Dorr H, Wanjek M, Romstorfer A.Metro freight 2020-strategies for strengthening rail infrastructure for freight transport in urban regions. Transp Res Procedia 2016;14:2776-84.

[50]

Dong J, Hu W, Yan S, Ren R, Zhao X. Network planning method for capacitated metro-based underground logistics system. Adv Civ Eng 2018; 2018(1):6958086.

[51]

Zheng C, Zhao X, Shen J. Research on location optimization of metro-based underground logistics system with voronoi diagram. IEEE Access 2020;8:34407-17.

[52]

Dampier A, Marinov M. A study of the feasibility and potential implementation of metro-based freight transportation in Newcastle upon tyne. Urban Rail Transit 2015; 1(3):164-82.

[53]

Li Z, Shalaby A, Roorda MJ, Mao B. Urban rail service design for collaborative passenger and freight transport. Transport Res Eye 2021;147:102205.

[54]

Hörsting L, Cleophas C. Scheduling shared passenger and freight transport on a fixed infrastructure. Eur J Oper Res 2022; 306(3):1158-69.

[55]

Di Z, Yang L, Shi J, Zhou H, Yang K, Gao Z. Joint optimization of carriage arrangement and flow control in a metro-based underground logistics system. Transp Res B 2022;159:1-23.

[56]

Qi J, Zhou H, Yang L, Zhan Y, Zhang C. Optimization methods of combined passenger and freight transportation based on flexible train composition mode. J Transp Syst Eng Inf Technol 2022; 22(2):197-205.

[57]

Cacchiani V, Caprara A, Toth P. Scheduling extra freight trains on railway networks. Transp Res B 2010; 44(2):215-31.

[58]

Sahli A, Behiri W, Belmokhtar-Berraf S, Chu C. An effective and robust genetic algorithm for urban freight transport scheduling using passenger rail network. Comput Ind Eng 2021;173:108645.

[59]

Li S, Zhu X, Shang P, Wang L, Li T. Scheduling shared passenger and freight transport for an underground logistics system. Transport Res B 2024;183:102907.

[60]

Di Z, Luo J, Shi J, Qi J, Zhang S. Integrated optimization of capacity allocation and timetable rescheduling for metro-based passenger and freight cotransportation. Tunn Undergr Space Technol 2025;155:106186.

[61]

Mladenovic´ N, Hansen P. Variable neighborhood search. Comput Oper Res 1997; 24(11):1097-100.

[62]

Shi J, Qin T, Yang L, Xiao X, Guo J, Shen Y, et al. Flexible train capacity allocation for an overcrowded metro line: a new passenger flow control approach. Transp Res C 2022;140:103676.

AI Summary AI Mindmap
PDF (9216KB)

Supplementary files

Appendix A

156

Accesses

0

Citation

Detail

Sections
Recommended

AI思维导图

/