1. Introduction
High-speed railway (HSR) is an important transportation mode for passengers in today’s world, because of its high speed, high capacity, and high versatility [
1]. With rapid urbanization and increasing mobility demands, the optimization of HSR operations has become a pressing issue for both researchers and practitioners. Efficient HSR operations not only enhance passenger experience but also contribute to the economic sustainability of railway enterprises.
If we regard an HSR train as a product, the line planning of HSR determines the train products and their attributes sold by railway companies, while ticket pricing decisions dictate the price levels of operating trains, and seat allocating decisions determine the seat utilization of operating trains. Train ticket prices and seat allocations define the marketing strategy for train products. Together, the line plan, ticket prices, and seat allocations impact passenger travel costs, service levels, and service capabilities, directly determining the demand for passenger travel and their choice of travel, thereby affecting the operational revenue of railway companies. Despite their interdependencies, these aspects are often studied separately, leading to inefficiencies in HSR operations. Given the increasing competition from other transportation modes, the integration of line planning, ticket pricing, and seat allocating has become more urgent than ever. A well-integrated approach can enhance service quality, optimize resource utilization, and improve overall profitability. Addressing this challenge, this study aims to provide a comprehensive optimization framework that captures the dynamic interplay among these three critical factors.
The optimization of line planning, ticket pricing, and seat allocation have long been focal points of study within the realm of railway transportation research. Currently, the optimization of line planning, ticket pricing, and seat allocation are often optimized in a step-by-step method. These topics have seen extensive and comprehensive research over the years. In a study on the optimization of line planning, Anthony [
2] provided an early framework, and several studies [
3,
4,
5] have reviewed the models and solution methods. From an objective perspective, line planning problems can be categorized into operator-oriented [
6,
7,
8], passenger-oriented [
9,
10,
11], and combined (both operator-oriented and passenger-oriented) [
12,
13,
14,
15]. In the literature on the optimization of ticket pricing, differentiated pricing is based on the varying sensitivities of different passengers compared to the attributes of different train products within the same O-D. Li and Wong [
16] are two of the first scholars to apply differentiated pricing to the railway system, and differentiated pricing has since been gradually applied to HSR [
17,
18,
19]. Seat allocation is a method of setting the number of tickets between train O-D pairs based on passenger demand, under certain train service capacity conditions, aimed at enhancing train load factors and operational revenue. Research on the optimization of seat allocating generally falls into two categories: allocation for a single train [
20] and coordinated allocation across multiple trains [
21,
22].
Additionally, scholars have conducted certain studies on the integrated optimization of these three aspects. The interrelated issues of line plans and ticket prices significantly influence passenger travel choices. To more accurately describe these choices, a few studies have combined these two aspects for integrated optimization. Wang [
23] developed a bi-level programming model for line planning and differentiated pricing based on user equilibrium, which was solved using a combination of an enhanced particle swarm optimization and the Frank–Wolfe algorithm. Gao [
24] based his study on a price response function to explore the integrated optimization of line planning and ticket pricing, implementing section-based pricing and solving the established model with an improved genetic algorithm. Zhou et al. [
22] achieved the integrated optimization of HSR line planning and differentiated pricing based on time-dependent elastic demand. Their model comprehensively considers the train route, train frequency, train stops, train departure and arrival times, and differentiated pricing between O-D pairs. The optimization process effectively integrates train operation choices with passenger travel choices, and an efficient solution algorithm was designed based on simulated annealing and linear passenger flow allocation to solve the integrated optimization model.
The level of ticket pricing influences passenger demand, and seat allocating is based on this demand, making ticket pricing and seat allocation interrelated issues. Recent studies have explored their integrated optimization. Wu et al. [
25] combined the seat allocation decision with the HSR dynamic pricing for optimization and used a two-stage algorithm to solve it. Hu et al. [
17] explored an integrated optimization method for ticket pricing and seat allocation that incorporated differentiated pricing and multi-stage pricing strategies, proposing a quasi-Newton algorithm framework capable of solving large-scale integrated optimization problems. Deng et al. [
26] researched a bi-level programming integrated optimization method for ticket pricing and seat allocation, designing a divide-and-conquer optimization approach to solve the model. Meng et al. [
27] proposed a chance constrained stochastic nonlinear programming method to jointly optimize dynamic pricing and ticket allocation and designed a combined algorithm of particle swarm optimization and mixed-integer linear programming to solve the model. Xu et al. [
28] proposed a mixed-integer linear programming approach for the integrated optimization of train ticket pricing and seat allocation, with case study results demonstrating the method’s ability to find the global optimal.
Table 1 lists some comparative studies, showing the differences in models, demand types, and solution methods of the relevant literature. By comparison, it can be found that the current step-by-step optimization method cannot simultaneously reflect the impact of train products, ticket prices, and seat availability on passenger travel choices, but can only consider some of these influencing factors in each step of optimization. This results in an inability to accurately depict passenger travel choices. Therefore, the current step-by-step optimization method struggles to produce train operation products, ticket prices, and seat availability that match passenger demand. Only through integrating ticket pricing and seat allocation decisions can models accurately describe passenger demand and their travel choices, achieve an optimized line plan of HSR that matches travel demand, and enhance the level of train service and operational efficiency.
Moreover, the optimization of existing line planning is based on passenger volume, and passenger flow allocation is combined in the process of optimizing the line plan. The resulting passenger flow distribution is a static outcome that does not consider the distribution of seat allocation on the train from a revenue management perspective, nor does it dynamically consider the comprehensive utilization process of seat allocation. Therefore, only by integrating ticket pricing and seat allocation decisions into the optimization of line planning can the influence of price level and seat allocation be dynamically considered during the optimization process, and the line planning matching with the passenger demand can be optimized to realize the improvement of train service level and operating benefits.
This study addressed the passenger travel choice under the elastic demand, constructed an optimization model of line planning integrating ticket pricing and seat allocation decisions for HSR, designed an effective solution algorithm, and realized the overall optimization of the number of trains, the origin and destination stations of each train, the train route, the running time period, the stop plan, the train price level, and the train seat allocation. In order to improve the operation efficiency of HSR trains and the quality of passenger travel service and improve the matching degree of train products and passenger demands, we aimed to provide the following three primary contributions:
The model in this paper was constructed based on the elastic demand that comprehensively considers the HSR travel demand, train service level, and train service capacity. It also integrates passenger travel choices at the time–space network level, achieving the first-time optimization of line planning integrating differentiated ticket pricing and O-D seat allocation decisions. This joint optimization enables simultaneous decision making for the number of high-speed trains, the origin and destination stations of each train, the train route, the train running time period, the train stop plan, the O-D ticket price level, and the O-D ticket allocation.
The algorithm in this paper improves on the one designed by Zhou et al. [
14], proposing a heuristic method based on the simulated annealing framework combined with the linear passenger flow allocation method. This algorithm provides the process for generating the initial solution and introduces seven neighborhood structures combining line plans, ticket prices, and seat allocations. The algorithm effectively solves the complex and challenging joint optimization model.
The case study analysis in this paper demonstrates the correctness of the constructed model. It also proves that the improved algorithm designed in this study can effectively solve a real Y-shaped railway network composed of 13 stations, indirectly showing that the joint optimization model and algorithm designed in this study can enhance the operational efficiency of HSR trains and the quality of passenger travel service.
The remainder of this paper is organized as follows:
Section 2 describes passenger travel choices at the time–space network level and constructs an elastic demand that comprehensively considers HSR travel demand, train service level, and train service capacity.
Section 3 constructs an optimization model for line planning, integrating differentiated ticket pricing and O-D seat allocating decisions.
Section 4 presents a heuristic method based on the simulated annealing framework combined with the linear passenger flow allocation method.
Section 5 provides case studies based on a virtual railway network and a real HSR network.
2. Problem Statement
This section first gives the decision variables and assumptions, then constructs a candidate travel network that considers line planning integrating ticket pricing and seat allocating decisions, then describes passenger travel choice behavior under elastic demand, and finally summarizes the mutual influence of the decision variables.
2.1. Decision Variables and Assumptions
Line planning is based on the nature, characteristics, and patterns of passenger flow, and it scientifically and reasonably arranges train elements such as the departure and terminal stations, the number of trains, the routes taken, the train formation, the stop plan, and the utilization of passenger capacity. The ticket pricing decision determines the price levels for each train, while differential pricing is designed to scientifically and reasonably set the price for each train between each serviceable O-D pair. The seat allocation decision determines the utilization of train seats, meaning that the total number of seats on the train is scientifically and reasonably allocated based on the serviceable O-D pairs.
If we think of the train as a product, the ticket pricing decision and seat allocation decision determine the marketing strategy of the train products sold by the railway company. These decisions directly impact the operational effectiveness and revenue of the train products offered by the railway company, as well as the travel costs and train choices of passengers. The line planning, ticket pricing decision, and seat allocation decision collectively influence passengers’ travel costs, service levels, and service capacities, directly determining the demand for passenger travel and their travel choices and also affecting the operational revenue of the railway company.
Therefore, the optimization of line planning integrating ticket pricing and seat allocation decisions is a complex combinatorial decision problem involving multiple objectives, various constraints, and multiple decisionmakers, encompassing the interests of both the railway company and traveling passengers.
Table 2 provides the definitions of the relevant decision variables.
Before providing a detailed description, some assumptions are given as follows:
(A1) An optimal line plan of the optimization problem can be chosen from a set of pre-determined candidate trains that satisfies the transport capacity of the physical rail section. This is widely used in some existing studies [
12,
14,
29].
(A2) The elastic demand for a given O-D pair in each time period decreases with the average generalized travel cost of passengers, which includes time and price costs [
26,
28].
(A3) The seat allocations for each train between different O-D pairs only consider one class of seat; specifically, for HSR trains, only the second-class seat category is considered. This assumption is consistent with the approach adopted in many studies on train seat allocations [
17,
28].
2.2. Candidate Travel Network
The method for constructing the candidate travel network continues the approach used in our previous research. In Reference [
14], we constructed a candidate travel network using a space–time network approach, aimed at the combined optimization problem of train line planning and differential pricing. This paper addresses the optimization problem of line planning that integrates ticket pricing and ticket allocation decisions. The interrelationships among the decision variables are more complex, as passengers need to consider ticket price costs, travel time costs, and the constraints of seat allocation during the travel choice process.
The travel network constructed in this paper effectively integrates the optimization problem-related decisions with passenger travel choices, consisting of three types of node sets denoted as and six types of directed arc sets denoted as . Targeting railway stations and candidate trains , the three types of nodes are station nodes corresponding to station , arrival nodes , and departure nodes , corresponding to train passing through station . Moreover, and denote any type of nodes, and and represent sets of directed arcs flowing out of and into node in the candidate travel network, respectively, with being any type of directed arc within.
In targeting each candidate train, boarding arcs , running from each station node to the corresponding departure node of the station, are differentiated by origin station, destination station, and passenger flow time period, reflecting the fare cost for different passenger flows and their waiting time cost at the origin station. Furthermore, the total passenger flow carried on each boarding arc is restricted by the seat allocation for each train between each O-D pair. The travel network’s boarding arcs are restricted by the completion of the passenger flow’s start and end and the passenger flow time period, with the decision-making seat allocation limit for trains between each serviceable O-D pair being restricted by the total passenger flow carried on the related boarding arcs. Additionally, the upper limit of the passenger flow carried on other types of arcs is constrained by the train’s capacity. Travel arcs , running from each departure node to the corresponding adjacent station’s arrival node, are differentiated by the destination station and passenger flow time period, reflecting the different passenger flows’ interval travel time cost and the train’s interval travel time cost. Dwell arcs , running from each arrival node to the corresponding departure node within the same station, need to differentiate the destination station and passenger flow time period, reflecting different passenger flows’ stopover time cost and the train’s stopover time cost. Transfer arcs , running from the arrival node of the previous train to the departure node of the following train at the same station, need to differentiate the destination stations and passenger flow time period, reflecting different passenger flows’ transfer time cost at the transfer station and the fare cost for transferring to a second train. Additionally, the seat allocation for each train between each O-D pair restricts the passenger flow volume transferring to the second train. Getting-off arcs , running from each arrival node to the corresponding station node, need to differentiate the destination stations and passenger flow time period and do not bear any costs. Virtual arcs , running from the starting station node of each O-D pair to the destination station node, are used to carry the retained passenger flow within the travel network.
2.3. Description of Elastic Passenger Flow and Passengers’ Travel Choices
Due to the close interrelationship between ticket pricing, seat allocation, and passenger flow demand for each serviceable O-D pair of the train, this study adopted the formulation of an elastic demand function to reflect the elastic relationship between passenger flow demand and the level of passenger travel services. It constructed an elastic demand function based on the passenger-weighted average generalized travel cost. The generalized travel cost for passengers considered in this paper includes the integrated impact of the train fare cost, travel time cost, and seat allocation. It is assumed that for each time period, the level of passenger travel services is better for an O-D pair when the average fare and travel time cost for passengers are lower, and the total allocated seat volume for the trains serving that O-D pair is relatively higher.
Let
and
, respectively, denote the O-D seat allocation (unit: piece) and O-D fare (unit: RMB Yuan) for train
from station
to station
, and
represents the train product offered by train
from station
to station
within time period
. Considering that the passenger travel cost for any train product between any O-D pair is influenced by the train fare and travel time, the generalized travel cost
for each train product
can be expressed as follows, where
is the time cost parameter (unit: RMB Yuan/minute):
Next, based on the generalized travel costs
of each train product, the weighted average generalized travel cost
for passengers traveling from station
to station
within time period
can be determined, which is affected by the O-D average fare cost and travel time cost.
Now, the elastic demand function can be constructed based on the weighted average generalized travel costs for passenger travel between each O-D pair during each time period, where demand increases when the level of travel service is better than the initial level, and vice versa. Here,
represents the total demand for the O-D pair
during time period
,
represents the initial total demand for the O-D pair
during time period
, corresponding to the initial weighted average generalized travel cost
, and
is the elasticity coefficient for the O-D pair
during time period
:
As shown in
Figure 1, a small example is presented to illustrate the constructed candidate travel network and the travel choices of passengers within the network. The figure includes three stations, two trains, and one virtual train, along with the corresponding display of three types of nodes and six types of directed arcs. When passengers make choices on directed arcs in the travel network, which corresponds to selecting trains, they must bear the O-D ticket price costs from boarding arcs or transfer arcs, as well as the time costs from travel arcs and dwell arcs. Additionally, passengers are constrained by the seat availability between the O-D on the boarding arcs or transfer arcs. The decision-making seat allocation limit for each serviceable O-D pair of a train is restricted by the total passenger flow carried on the related boarding arcs or transfer arcs. In the meantime, the upper limit of the passenger flow carried on other types of arcs is constrained by the train’s capacity. For example, when a passenger chooses to board the first train at station A to station C in the candidate travel network, the passenger must first satisfy the constraints related to seat allocation
on boarding arc
. Once this seat constraint is met, the passenger is allowed to board the first train. However, this passenger also needs to bear the departure waiting time cost on boarding arc
, O-D fare cost
, pure travel time cost on travel arc
, stop time cost on dwell arc
, and pure travel time cost on travel arc
. Of course, if the total travel cost of this option is higher than that of other options, the passenger can automatically choose a more favorable travel plan. However, sometimes there may be no available seats in the more optimal travel plans, forcing the passenger to select a less favorable option. Similarly, the process of passengers choosing to board a train via the transfer arc is the same as the process described above for boarding a train via the boarding arc.
2.4. Description of Joint Decision-Making Relationship
The decision-making process and interrelationships among line planning, ticket pricing, and seat allocation in this study are illustrated in
Figure 2. The mutual influence relationship in
Figure 2 reflects the elastic changes in demand. Seat allocation represents a limited capacity resource of HSR trains. By reasonably distributing train capacity, seat allocation aims to improve train load factors and determines the upper limit of travel demand for each serviceable O-D pair on a train. The revenue generated from ticket sales is jointly determined by ticket pricing levels and seat allocation schemes. Meanwhile, train line planning, ticket pricing, and seat allocation together define the quality of train services. Consequently, these three factors collectively influence the total operating costs and total revenue of railway transportation enterprises, as well as the total travel costs of passengers.
Therefore, this paper focuses on optimizing HSR line planning by integrating ticket pricing and seat allocation decisions. By incorporating passenger travel choices, our approach comprehensively determines train operation details, ticket pricing levels, and seat allocation schemes. This ensures that the optimized train products and their corresponding sales strategies effectively adapt to actual transportation market demands, thereby enhancing railway enterprises’ revenue while considering both operational costs and passenger travel expenses.
3. The Optimization Model
This paper takes into account the objectives of both railway companies and passengers to establish an integrated model for optimizing line planning with ticket pricing and seat allocation decisions. The goal of the model is to maximize the total revenue of the railway companies minus the total travel cost of passengers, taking into consideration decisions and constraints related to line planning, ticket pricing, and seat allocation. Next, based on the description of the candidate travel network, this section organizes and summarizes the decision variables related to line planning, ticket pricing, seat allocation, and travel demand.
3.1. Constraints
The model must satisfy constraints related to the line planning and ticket pricing on one hand, and on the other hand, it must integrate flow balance constraints as well as capacity constraints for various types of arcs to set seat allocation-related constraints. This will ensure that the constraints related to line planning, ticket pricing, and seat allocation are comprehensively addressed.
3.1.1. Line Planning-Related Constraints
Constraint (4) ensures that each train departs from its originating station within a given departure time range and is consistent with the train operation choice. Constraint (5) ensures that the travel time between intervals for each train is consistent with the train operation choice. Constraint (6) ensures that the dwell time at stops for each train aligns with the train stopping decision. Constraint (7) guarantees that each operating train must stop at its originating and terminating stations. Constraint (8) ensures that the number of stops made by each operating train does not exceed the total number of stations .
3.1.2. Ticket Pricing-Related Constraints
Constraint (9) ensures that the ticket prices set for each operational train between any serviceable O-D pair are consistent with the stopping decisions for those trains. Constraint (10) guarantees that the ticket prices for each operational train between any serviceable O-D pair are bounded, meaning there are predefined minimum and maximum limits for ticket prices. Constraint (11) ensures that the sum of segment prices for the same O-D pair is higher than the price for a direct ticket for the entire journey, thereby preventing the occurrence of fare inversion.
3.1.3. Seat Allocation-Related Constraints
Seat allocation for each train is manifested through the boarding and transfer arcs in the passenger travel network, meaning that the seat allocation constraints for each train between any O-D pair are enforced through these arcs. This approach allows for precise control over ticket allocation because each boarding and transfer arc can distinguish between passengers based on their starting station, their destination station, and the time period of their travel. This precision enables seat allocation to be closely aligned with passenger travel choices within the travel network.
Constraint (12) ensures that the total passenger flow on boarding and transfer arcs, which carry passengers boarding at station
and alighting at station
, is limited by the seat allocation for trains operating between the O-D pair from station
to station
.
Constraint (13) ensures that the total passenger flow on travel arcs ending at station
in the travel network satisfies the seat allocation limit for the O-D pairs ending at station
. Constraint (14) ensures that the total passenger flow on dwell arcs ending at station
in the travel network also adheres to the seat allocation limit for O-D pairs ending at station
.
Constraint (15) ensures that the total passenger flow on transfer arcs, which represent passengers transferring at station
and alighting at station
, does not exceed the seat allocation limit for the subsequent train
in the transfer relationship destined for station
. Constraint (16) ensures the consistency between the transfer arc validity variables and the stopping decisions of trains. Constraint (17) ensures that the transfer arc validity variables are consistent with the minimum transfer time at the station and that the interval between the arrival and departure times of the two trains involved in a transfer meets the minimum transfer time requirements.
Constraint (18) ensures that the total passenger flow on getting-off arcs and transfer arcs, which carry passengers alighting at station
, does not exceed the seat allocation limit for trains destined for station
in terms of O-D pairs.
Constraint (19) ensures that the total seat allocation for each train across all serviceable O-D pairs does not exceed the train’s service capacity limit. Constraint (20) ensures that the seat allocation for each train across all serviceable O-D pairs is a non-negative integer.
3.1.4. Passenger Flow Related Constraints
Constraints (21) and (22) ensure that boarding arcs within the travel network can only carry passengers for specific time periods if the departure times of the trains at the stations occur later than those time periods. Essentially, these constraints regulate the flow of passengers onto trains based on the scheduled departure times, aligning passenger boarding with the operational timetable of the train services.
These three constraints are fundamental to ensuring flow balance for each node within the travel network, aligning closely with the overall demand for travel between any given O-D pair during specific time periods. Constraint (23) ensures that the total volume of passengers boarding trains at stations via boarding arcs and virtual arcs matches the total actual demand for each specific travel requirement . Constraint (25) ensures that the total volume of passengers alighting at stations through getting-off arcs and virtual arcs is consistent with the total actual demand for each specific travel requirement . Constraint (24) ensures that the total inflow of passengers into each node within the travel network matches the total outflow from that node, maintaining flow balance across the system.
3.2. Objective
First, analyze the total ticket revenue
and the total operational cost
of the railway company. The total ticket revenue
can be represented as
where
represents the total passenger flow on boarding and transfer arcs corresponding to train
between each O-D pair in the travel network, that is, the total actual seat allocation. Since the total actual seat allocation for these two sets of corresponding arcs is constrained by constraint (12), it must satisfy the seat allocation limit for train
between each O-D pair.
The total operational cost
of the railway company consists of the total organizational cost
and the total train travel cost
:
where
represents the organizational cost per train (unit: RMB Yuan), and
is the time cost parameter (unit: RMB Yuan/minute). Furthermore, the total revenue
of the railway company can be described as the total ticket revenue minus the total operational costs:
Furthermore, the total travel cost
for passengers is specifically reflected in the travel network through the directed arcs that passengers traverse to complete their journey. These costs include the total ticket price cost
, the total departure waiting time cost
, the total pure travel time cost
, the total dwell time cost
, the total transfer time cost
, and the total delay cost
. Below are the specific calculation equations:
Now, based on the total revenue of the railway company and the total travel cost for passengers, the objective function of the model considered is constructed by combining the total revenue of the railway company and the total travel cost for passengers using a weighting coefficient. The objective is to maximize the following equation:
Here, is the weighting coefficient, with a value in the interval (0,1]. The value of influences the weight of the two components in the optimization result.
3.3. Construction of the Optimization Model
Building on the analysis and descriptions from
Section 3.1 and
Section 3.2, this paper constructs a mathematical model based on the objective function, constraints, and elastic demand function. Observations and analyses of the relevant content reveal that the mathematical model constructed in this section is a nonlinear model.
The objective is to maximize the following equation:
Here, is calculated using Equations (26)–(30), and is derived from Equations (31)–(37), subject to the following:
Elastic demand functions (1) to (3);
Constraints (4) to (25).
4. Solution Algorithm
This section presents the design of a solution algorithm for the optimization model of line planning that integrates ticket pricing and seat allocation decisions. The overall approach of the algorithm is designed based on the simulated annealing framework and linear passenger flow allocation.
4.1. Algorithm Framework
The optimization model formulated in this study is inherently nonlinear due to the integration of line planning, ticket pricing, and seat allocation decisions under elastic demand. The nonlinearity arises primarily from the interactions between ticket prices, passenger choices, and capacity constraints, which result in complex interdependencies that cannot be easily represented in a linear form. While convex relaxation techniques, such as second-order cone programming and semidefinite programming, are commonly used to improve the tractability of nonlinear problems; applying them directly in this context poses significant challenges. First, the discrete nature of seat allocation and train operation decisions makes it difficult to construct a convex formulation without sacrificing key operational constraints. Second, transforming the pricing and demand elasticity relationships into a convex structure may lead to infeasible or unrealistic solutions that do not align with real-world railway operations. Given these limitations, we adopted a heuristic approach based on simulated annealing, which effectively handles the nonlinearities while ensuring practical feasibility.
This paper uses a heuristic method that combines the basic framework of simulated annealing with linear passenger flow allocation methods to solve the constructed model. The algorithm implementation involves eight processes, repeatedly iterating processes 5 to processes 7 to continuously optimize the model’s objective function value until reaching the algorithm’s termination condition:
Generation of candidate train set and ticket price boundaries: Based on the physical railway network, current time-dependent demand data, and existing ticket price levels, generate a given candidate train set; then, based on the candidate train set, generate upper and lower bounds for ticket prices for each candidate train’s serviceable O-D pairs.
Initial seat allocation generation: Based on the model and solving algorithm in Reference [
14] and corresponding input data, solve for the final travel demand volume for each train between each O-D pair, and then set this demand volume as an initial seat allocation set for each candidate train.
Generation of the initial solution: Based on the candidate train set, ticket price boundaries, and initial seat allocating, generate an initial solution.
Evaluation of the initial solution: Calculate the weighted average generalized travel cost for each O-D pair within each passenger flow period based on the initial solution, update the time-dependent actual demand using the elastic demand function, obtain specific passenger flow information for each arc in the travel network using the linear passenger flow allocation method, i.e., obtain the passenger flow distribution results for each operating train, calculate the objective function value corresponding to the initial solution, and evaluate it.
Generation of neighborhood solutions: Obtain the neighborhood solution of the current solution based on the constructed neighborhood structure; update the travel network according to the generated neighborhood solution.
Evaluation of neighborhood solutions: Calculate the weighted average generalized travel cost for each O-D pair within each passenger flow period based on the current neighborhood solution, update the time-dependent elastic demand using the elastic demand function, obtain specific passenger flow information for each arc in the travel network using the linear passenger flow allocation method, calculate the objective function value corresponding to the initial solution, and evaluate the neighborhood solution.
Solution update: Determine whether to accept the neighborhood solution based on its evaluation.
Algorithm termination condition.
4.2. Initial Solution Generation
The generation of the initial solution mainly includes the generation of the initial line plan, ticket pricing plan, and seat allocation plan.
Step 0: Generate a candidate train set based on the generation method for candidate trains described in Reference [
14].
Step 1: Set all trains in the candidate train set as operating trains, set all stations passed by each train as initial stops, and set the lower bound of the departure time range at the originating station for each candidate train as the initial departure time of the train at its originating station to obtain the initial line plan.
Step 2: Set the initial differentiated ticket prices for each train between each serviceable O-D pair to the current real fixed ticket prices to obtain the initial differentiated ticket pricing plan.
Step 3: Based on the model and solving algorithm in Reference [
14] and corresponding input data, solve for the final travel demand volume for each train between each O-D pair, and then set this demand volume as the initial seat allocation plan in the initial solution.
Step 4: Based on the initial line plan, ticket pricing plan, and seat allocation plan, use the elastic demand function to calculate the actual demand between each O-D pair within each passenger flow period, and then use the linear passenger flow allocation method and the GUROBI solver to solve for the passenger flow volume and information on each type of arc in the travel network.
Step 5: Based on the sum of passenger flows for each train at each stop (boarding arcs, getting-off arcs, transfer arcs), randomly select stations where the total number of passengers for each train is below a certain value to be designated as stations where the train does not stop. This value can be determined based on the scale of the case study.
Step 6: Randomly set some stations as non-stop stations among all the operating trains’ stop stations and update the train operation plan; simultaneously update the ticket pricing scheme and ticket allocation plan based on the updates to the stops; afterward, an initial solution is obtained, and this initial solution is set as the current and final solution.
4.3. Neighborhood Structure Construction
Seven types of neighborhood structures were constructed. These include strategies for suspending train services, adding train services, removing stops, adding stops, adjusting train departure times, adjusting train ticket prices, and adjusting train seat allocations. The first six strategies continue to use the approaches discussed in Reference [
14]. The difference lies in how the adjustment processes for each strategy further incorporate the impact of seat allocation on problem solving. Adjustments related to train operation strategies (the first four types) will be synchronized with price adjustments and seat allocation adjustments. The fifth type, related to train operation, will involve seat allocation adjustments. The sixth type, related to ticket price adjustments, will involve adjustments to the line plan and seat allocations. The seventh strategy, related to seat allocation adjustments, will affect ticket pricing adjustments, indicating that the adjustments of line plans, ticket pricing, and seat allocations are interconnected, dynamic, and mutually influencing processes.
Suspending train services strategy: This strategy primarily considers the ticket revenue of each operating train. On one hand, the ticket revenue calculations include the impact of each train’s seat allocation on the final passenger load, influencing the final ticket revenue. On the other hand, the final decision to suspend services will involve removing the ticket pricing and seat allocating for that train in the neighborhood solution.
Adding new train services strategy: For trains that are ultimately added under this strategy, an initial ticket pricing and seat allocation based on the train stopping plan will be added to the neighborhood solution.
Removing stops strategy: This strategy is based on the total ticket revenue and passenger volumes boarding and alighting at each station. It considers the impact of each train’s seat allocation on the final passenger load when calculating ticket revenue and boarding volumes at each stop, influencing the final ticket revenue and boarding volumes. Stops ultimately removed will have their related ticket information and seat allocation information deleted in the neighborhood solution.
Adding stops strategy: This strategy is based on the average ticket revenue of other trains stopping at stations where the train does not currently stop. This includes the impact of seat allocations on the final passenger load, influencing the average ticket revenue. Stops ultimately added will have related seat allocation information added to the neighborhood solution, setting up initial seat allocations accordingly.
Adjusting train departure times strategy: This strategy is primarily based on the average waiting time for passengers at the originating station, where different seat allocations influence the final passenger distribution and thereby affect passengers’ path choices within the travel network, ultimately affecting the different waiting times associated with various trains.
Adjusting train ticket prices strategy: The strategy is primarily based on the ticket revenue for each O-D pair per train service. The ticket revenue is influenced by the ticket prices set for that O-D pair and significantly by the seat allocations assigned to that O-D pair, making the adjustment process for ticket prices and seat allocations interdependent and dynamic, where both aspects mutually influence and complement each other.
Adjusting seat allocations strategy: This strategy determines seat allocation adjustments based on the difference between the seat allocation and actual passenger flow for each train across serviceable O-D pairs. The actual situation for each train and each O-D pair is handled in three scenarios:
When a train has both remaining seat allocations in some O-D pairs and completely used allocations in others, the remaining ticket allocations for those O-D pairs will be adjusted based on ticket revenue to the O-D pairs where allocations are exhausted.
When all seat allocations for a train across all O-D pairs are used up, it is assumed that the current seat allocation scheme is relatively good. The current neighborhood search process will not adjust its seat allocation scheme, but the train may undergo seat allocation adjustments in subsequent neighborhood searches due to the influence of ticket price adjustments.
When all seat allocations for a train across all O-D pairs are not exhausted, indicating that the train’s operation is not very efficient, its seat allocation scheme will not be adjusted. However, it will be influenced by neighborhood search processes involving suspending train services, removing stops, adjusting departure times, and adjusting ticket prices. Its seat allocation scheme may be continuously optimized in subsequent neighborhood search iterations to improve the utilization rate of ticket allocations.
Specific adjustment steps are as follows:
First, generate a random number within the interval , where is the maximum adjustment ratio for the number of operating trains in the operating train set . As the simulated annealing iterations increase, this maximum adjustment ratio gradually decreases. Therefore, the actual number of trains whose seat allocation schemes are adjusted under the current strategy can be calculated as .
Second, calculate the actual passenger flow for each serviceable O-D pair for each operating train and compute the difference between the allocated seat volume and the actual passenger flow for each O-D pair. Sort all these differences from smallest to largest, denoted as the set , and record the largest value in this set as . Calculate the ticket revenue for each O-D pair, sort all O-D pair ticket revenues from smallest to largest, denoted as the set , and record the maximum value in this set as .
Third, for the first scenario: calculate the probability of reducing seat allocations for all O-D pairs with seat allocation differences greater than zero as . Calculate the probability of increasing seat allocations for all O-D pairs with seat allocation differences of zero as . Then, based on these two probabilities, use the roulette wheel selection method to choose to increase seat allocations from O-D pairs with remaining seat allocations to those without remaining seat allocations. For the second and third scenarios, temporarily abstain from making seat allocation adjustments.
The seven constructed neighborhood structures can generate neighborhood solutions aligned with the model’s objectives or the characteristics of the problem. The generation process of neighborhood solutions will be based on all neighborhood structures or randomly based on some neighborhood structures. This ensures that the generated neighborhood solutions are well directed by the model’s objectives and randomly perturbed to expand the solution search space, avoiding falling into local optima.
4.4. Algorithm Steps
The detailed solution steps of the algorithm based on the simulated annealing framework and linear passenger flow allocation are given in Algorithm 1.
Algorithm 1. Simulated annealing algorithm |
Input: Sets: Station set , section set , candidate train set , passenger flow time period set , upper and lower bounds of differentiated ticket prices and , seat allocation scheme . Model Parameters: Weight coefficient , time parameters and , elasticity coefficient . Algorithm Parameters: Initial temperature , final temperature , temperature decay rate , maximum iterations at the current temperature , upper limit of iterations where the objective function value remains unchanged . Elastic Demand: Initial demand for each passenger flow period in each O-D pair, elastic demand function . Output: Train line planning, differentiated ticket pricing, and seat allocation plan , objective function value , passenger flow volume on each arc after linear passenger flow allocation .
- 0.
Step 0: Initialization Set initial temperature , final temperature , temperature decay rate . Let current temperature , iteration count . Proceed to Step 1. - 1.
Step 1: Generate initial train line planning, ticket pricing, and seat allocation Generate initial line planning, differentiated ticket pricing, and seat allocation . Set current solution , final solution ; calculate passenger weighted average generalized travel cost using the elastic demand function to obtain passenger demand for each period and O-D pair. Proceed to Step 2. - 2.
Step 2: Calculate objective function for initial solution using linear passenger flow allocation Use linear passenger flow allocation to obtain passenger flow volume on each arc; calculate objective function value ; set , . Proceed to Step 3. - 3.
Step 3: Generate neighborhood solution for initial plan Produce a neighborhood solution for the current solution using the neighborhood structure; calculate passenger weighted average generalized travel cost and demand using the elastic demand function. Proceed to Step 4. - 4.
Step 4: Calculate objective function for neighborhood solution using linear passenger flow allocation Use linear passenger flow allocation to obtain passenger flow volume on each arc; calculate objective function value . Proceed to Step 5. - 5.
Step 5: Update current and final solutions Calculate ; If , then set , , , ; Else if , then set , . Set . Proceed to Step 6. - 6.
Step 6: Iteration count check If , then ; otherwise, proceed to Step 3. - 7.
Step 7: Algorithm termination check If , or if the objective function value has not changed in iterations, proceed to Step 8; otherwise, set , proceed to Step 3. - 8.
Step 8: Output results Output the final solution and its objective value .
|
6. Results
This paper comprehensively considers the impact of train O-D seat allocation on the problems of high-speed train line planning and ticket pricing. Starting from the perspective of improving the operational level of railway companies and the service quality of travel demand, a line planning optimization model that integrates ticket pricing and seat allocation decisions was developed. The model takes into account the impact of train capacity, ticket prices, and operating time periods on train operation choices and passenger travel choices. A heuristic algorithm based on the simulated annealing framework and linear passenger flow allocation method was designed to solve the optimization model, taking into account the interrelationships between train operations, train stops, initial departure times of trains, train ticket prices, and seat allocations. Seven effective neighborhood structures were proposed to effectively search for neighborhood solutions. Case studies were conducted using a virtual railway network and a real high-speed railway network composed of the Beijing West–Zhengzhou East and Beijing West–Taiyuan South lines.
Integrated with ticket pricing and seat allocation decisions, our heuristic algorithm demonstrated strong adaptability by increasing the objective function value by 106.54%, thereby refining railway operations under time-dependent passenger demand. In the final solution, 21 trains were operated, 19 of which were profitable, while certain trains had less intermediate stops to better align with revenue potential. Concurrently, seat allocations were redistributed from low-demand segments to higher-profit O-D pairs, reflecting the model’s capacity to dynamically adapt line plans. Stations experiencing greater passenger flow received more frequent stops, whereas stations with lower demand were served less often, thus enhancing overall resource utilization. Collectively, these outcomes confirm that the integrated method can boost total revenue for railway operators and improve travel service quality for passengers, underscoring the practical effectiveness of this approach in high-speed railway networks.
For the future, there remain many issues worth further research and exploration. (1) Operating high-speed trains have various formations and multiple seat classes, and there is passenger flow transfer between different seats on the train, such as some passengers opting for first-class seats when second-class seats are sold out. However, this paper only considers a single-train formation and a single seat class. Further research could consider the optimization for multiple-train formations and multiple seat classes. (2) When making travel choices, passengers consider various factors such as travel time and ticket prices. At the same time, other modes of transportation, such as aviation and road, also compete with high-speed rail to some extent. Future studies could consider optimizing the problem under competitive multi-transport models. (3) Future research could explore hybrid approaches that incorporate convex relaxation techniques to approximate certain nonlinear components before applying heuristic optimization, potentially improving computational efficiency without compromising solution feasibility.