Abstract

High-speed trains powered by electricity have low-carbon emissions and are the important intercity travel conveyances conducive to sustainable social development. The sustainable development of high-speed railway needs to improve the operating revenue and the resource utilization. Joint optimization of dynamic pricing and ticket allocation are often used to improve high-speed railway revenue and seat utilization in the literature. However, the uncertainty of demand makes joint decision-making difficult to be accurate. The risk preference of decision-makers also deeply affects the effect of joint decision-making. To cope with the uncertain demand and test the effect of operator risk preference on joint decision-making, this paper used chance constrained programming theory to optimize dynamic pricing and ticket allocation simultaneously. The presale period is divided into several stages. In each stage, ticket demand follows the normal distribution and changes with the price elasticity. Passengers choose tickets according to the multinomial logit model. The chance constrains reflect operators’ risk preference. The chance constrained stochastic nonlinear programming is proposed for joint decision of dynamic pricing and ticket allocation. Then, the combination algorithm of particle swarm optimization algorithm and mixed-integer linear programming was designed to solve the model. Finally, the numerical experiments according to actual operating scale were design to validate the model and algorithm. The results indicate that under different confidence levels, the proposed model and algorithm increase the total revenue by 11.84%-13.40% compared with the ticket allocation under the single fixed fare. The model can help the high-speed railway operators understand the impact of risk preference on joint decision-making, and provide decision support for them.

1. Introduction

With the growth of social economy and breakthrough of technological innovation, the high-speed railway (HSR) has developed rapidly in China over the past more than 20 years. By the end of 2020, the operating length of HSR has reached 38,000 kilometers. With the advantages of high safety, comfort, convenience, and environmental-friendly, the HSR has become the important passengers’ travel mode. A statistical communiqué from China State Railway Group Co., Ltd (China Railway), shows that the national railway passenger volume reached 2.167 billion in 2020. And the passenger volume of HSR accounts for about 70% of the passenger volume of railway transportation. However, behind the rapid development of HSR, China Railway has suffered losses year after year. Because the revenue is far from covering the high construction and operating costs, so, improving revenue is crucial for the sustainable development of HSR and is concerned by operators and researchers. Since 2016, China Railway has obtained pricing rights for HSR from National Development and Reform Commissions and met the conditions to implement revenue management strategy.

Revenue management technologies, including seat inventory control [14], dynamic pricing [58], and their joint optimization [913], are used to improve the revenue of railway operators. Seat inventory control is aimed at allocating optimal seat volumes for each fare class. Reasonable seat inventory control plays an important role in adjusting supply. Dynamic pricing decides optimal fare for each time to maximize the total revenue. Dynamic pricing strategy can adjust and stimulate passenger demand. Therefore, dynamic pricing and ticket allocation are two significant aspects to achieve the balance between supply and demand, which is beneficial to reduce the waste of transportation capacity and improve the income. Therefore, the joint optimization of the two has been explored a little. However, the uncertainty of demand makes joint decision-making difficult to be accurate. The existing literature often uses average demand or expected value according to a certain distribution to deal with demand uncertainty. And the operator’s risk preference was not considered in the joint decision optimization.

To the best of our knowledge, the impact of operator’s risk preference on joint decision of dynamic pricing and ticket allocation is not considered in the existing literature. Faced with unknown demands, the operators with different risk appetites will make different decisions. Risk-taking decision-makers tend to overestimate demand, while conservative decision-makers tend to underestimate demand. Therefore, this research tries to fill this gap by introducing chance constrained programming (CCP) into a joint decision model. We consider the situation of multiple trains operating on a line. The presale period is divided into several stages according to the change law of price elasticity of demand. Passenger demand obeys the normal distribution and passengers select the ticket according to the passenger’s choice behavior model. We use the confidence level to reflect the risk preference of operators and propose a nonlinear chance constrained programming model to optimize dynamic pricing and ticket allocation simultaneously. The particle swarm optimization (PSO) algorithm and integer linear programming are combined to solve the model efficiently in speed and quality. The model and algorithm can provide decision support for railway operators in daily operation management.

2. Literature Review

Revenue management (RM) originated in the American aviation industry in the late 1970s. With abolishing air traffic control and opening of aviation market, airline company could determine price and schedule flights. Single and expensive ticket price cannot adapt to fierce market competition and rapid growth in passenger demand. To increase revenue, RM theory was introduced into the field of aviation. In 1972, Littlewood [14] proposed a discount cost criterion for air ticket reservation and the second-order classification model. This research prepared the ground for more mathematical models applied to RM. Belobaba [15] described application of the Expected Marginal Seat Revenue (EMSR) decision model to make reservation limits regularly before the date of flight departure. Then, a simple instance was given to verify the effectiveness of the probability model. On the basis of previous studies, Kimes [16] put forward a comprehensive and accurate definition of RM-4R theory, that is, to provide the right products or services at the right time and place with the right price to maximize the income of enterprises under resource constraints. Mcgill and Ryzin [17] did a survey to summarize the development of RM theory. They subdivided revenue management into seat inventory control, pricing, overbooking, and forecasting. Following the successful application in aviation, the RM has gradually formed a theoretical system. Then, RM theory was quickly applied and promoted in service industry such as hotels, banking, and transportation.

Ticket allocation is a specialization of inventory control which belongs to an essential part of revenue management. Scholars have done a lot of research and exploration. Ciancimino et al. [1] introduced revenue management into railway passenger transport for the first time, and a linear programming model and a probabilistic nonlinear programming model of seat allocation are established. Chang and Yeh [18] took an intercity rail line as research object; a two objective seat allocation model is constructed to maximize enterprise revenue and minimize passenger discomfort. The fuzzy mathematical programming method is used to solve the problem. A HSR to be built is used to verify the effectiveness of the multiobjective planning model. Ongprasert [19] adopted passenger choice behavior model to forecast the demand and determine the number of discount tickets. The discount tickets and seat allocation model are combined on the single-line-multistop line, which improves the income. You [2] considered the two-level fare system of full price ticket and discount ticket and constructs a nonlinear programming model. The PSO algorithm was designed to solve booking limit problem, which generated initial particles based on a solution under the determined demand. A numerical instance indicates that the heuristic algorithm is efficient and accurate. Wang et al. [3] used the multinomial logit (MNL) model to describe the probability of passengers choosing different products and established a single-stage and a multistage model to solve the problem of railway seat allocation. Li [20] used CCP to deal with stochastic demands and studies the optimization problem of ticket allocation under the certain decision preference. Yan et al. [4] constructed a probabilistic nonlinear programming model for HSR combing flexible train composition with seat inventory control. Compared with fixed train composition, this scheme improves the income of railway enterprises. It provides theoretical support for ticket allocation under flexible train composition.

Dynamic price is an essential tool of adjusting and regulating passenger flow. The study of dynamic pricing in railway is relatively late. Vuuren [5] studied the differential pricing of trains in peak hours and off-peak hours. This paper points out that maximizing social welfare is mainly considered in peak pricing. In the off-peak period, we should consider increasing the occupancy rate to improve the income. Gallego and Wang [21] used nest logit model to express passenger choice behavior and considered price sensitivity and arbitrary nest coefficient to make differential pricing for multiple trains. Yang et al. [6] introduced a cumulative distribution function of the maximum allowable price and discretized the whole presale time. A dynamic pricing model for HSR is constructed to determine the ticket price and selling time to satisfy the demand of different passengers. Given the seat inventory and presale range, Zhang et al. [7] established a two-stage dynamic pricing model of HSR considering individuals and groups, respectively. Qin et al. [8] classified passengers according to their sensitivity to time, price, and other relevant factors. Based on the expected travel cost, this paper constructed the differential pricing model of HSR by using the prospect theory. The simulated annealing algorithm is used to solve the model under the conditions of peak passenger flow and off-peak passenger flow. Zhan et al. [22] studied railway timetable from the perspective of promoting social equity. They established a mixed-integer linear programming model considering enterprise profit, general travel cost of passenger, and government decision-making. It involved using dynamic pricing strategy to reduce the travel cost of low-income groups so that they can enjoy the same services as high-income groups. Chou et al. [23] constructed a bilevel model to explore optimum ticket fares for HSR. The upper-level model is to minimize the generalized cost of users considering passenger flow assignment. The lower-level model is to maximize operator’s revenue containing passenger flow and the range of ticket fare transmitted by the upper-level model.

Pricing strategy and ticket allocation affect each other. The research of optimizing income considering ticket price and ticket assignment simultaneously has gradually rise in recent years. Hetrakul and Cirillo [24] put forward MNL model and latent class model to describe passenger choice behavior and established a joint optimization model of pricing and ticket allocation in railway for the first time. They considered the demand as deterministic. Lin [9] raised a bilevel programming HSR model for the joint optimization ticket price and seat allocation. The upper model is a nonlinear mathematical programming model aiming at maximizing the income of enterprises. The lower model is a two-stage stochastic programming model. The goal of the first part is to maximize the enterprise income, and the second part is to minimize the enterprise cost. Zhao et al. [10] constructed a joint optimization model to maximize revenue considering the choice behavior of passengers among different transportation modes under competition among road, air, and railway transport. They designed a hybrid heuristic algorithm to solve it based on artificial bee colony algorithm. Xu et al. and Qin et al. [11, 12] considered the price elasticity of demand, divided the entire presale period into several ticket selling stages, and built a joint optimization model based on the passenger choice behavior. Xu et al. [13] considered that the demand is affected by the service price and then established the joint optimization model of price and ticket allocation in the railway. Because the model is nonconcave and nonlinear, they developed the linearization of objective function and some constraints by taking logarithm. Furthermore, the other nonlinear constraints are linearized by relaxation. The final model is transformed into a mixed-integer linear programming which is easy to solve. In the joint decision optimization study of dynamic pricing and ticket allocation, the influence of decision-maker’s preference has not been considered.

This paper introduces CCP to build the joint decision model of dynamic pricing and ticket allocation. The theoretical contribution and practical value of this paper can be summarized as follows: (1)Considering stochastic demand and the risk appetite of operators, this paper proposed the joint decision model of dynamic pricing and ticket allocation with CCP theory for HSR. By adjusting the confidence level, the model can optimize the ticket price and seat allocation scheme simultaneously under different risk preferences. The model can help the HSR operators understand the impact of risk preference on joint decision-making and provide decision support for them(2)This paper provides a new solution idea for the joint decision-making stochastic nonlinear programming model considering stochastic demand, elastic demand, and passenger choice behavior. We use CCP to transform the stochastic programming model into a deterministic programming model. Then, the nonlinear model is decomposed into two layers using particle swarms. The upper layer uses particle swarms to iteratively optimize ticket prices, while the lower layer uses CPLEX to accurately solve the ticket allocation optimization model. The hybrid algorithm has satisfactory solution quality and solution speed(3)Numerical experiments show that under different levels of demand, demand fluctuations, and risk preferences, joint decision-making can achieve higher returns than ticket allocation under fixed fares. As the confidence level increases, the total revenue decreases. When the confidence level equals to 0.5, the operator is in a neutral state and uses the average demand to make decision

The rest of the paper is organized as follows. The next part reports the problem description and propose the joint decision model. The principle of PSO algorithm and specific procedures of hybrid algorithm to tackle the problem are given in Section 4. Section 5 performs numerical experiments to verify the feasibility of model and algorithm and analyzed the experimental results in detail. The conclusions are obtained in the last part.

3. Model

Suppose a HSR line with several stations, serving the travel demand between origins and destinations. denotes the set of the OD pairs and denotes the set of the trains. The whole presale period is divided into stages according to the demand elasticity. Set the period when the presale starts as the first stage, and the train departs at the end of the Kth stage. The HSR operators need to decide the fare and ticket allocation for each train and each OD in each stage to maximize the total revenue. Passengers choose ticket products according to the choice behavior. Demand is dynamic influenced by price and changes randomly. The operator has certain risk appetite. Under these conditions, the collaborative model is proposed to optimize fares and ticket allocations simultaneously. We introduce the symbol to uniquely identify ticket products, which means train serves OD pair , and the corresponding ticket is sold at stage . In the following, a collaborative optimization model is established based on describing the passenger choice behavior, dynamic elastic demand, and decision-maker preferences.

3.1. Passenger Choice Behavior

There is a competitive relationship between trains on the same OD in the same time period. The mean passenger flow is allocated to the available trains according to passenger choice behavior. With reference for the results of previous studies [11, 25, 26], passengers mainly consider the factors of price, departure time, and travel time to make a choice. The utility of the product can be described by where is the travel time of train for the OD pair . represents the fare of train serving in OD at the th time period. denotes passengers’ willingness to pay for the preferred departure time and can be quantified using SP surveys [23]. indicates passenger’s time value. The MNL model can help us get the choice probability of each train, as shown in the following equation: where denotes the set of trains serving OD pair . is the probability when is chosen by passengers. indicates the familiarity of the passengers with each product, and the parameters and can be estimated using the maximum likelihood method based on historical data or questionnaires.

The mean demand of is shown in the following equation: where denotes mean demand of .

3.2. Dynamic Elastic Demand

The buying demand for tickets is influenced by ticket prices. The price elasticity is usually used to describe the relationship between the buying demand for tickets and their prices. In the presale period, the closer to the departure time, the less passengers are sensitive to the price. Price sensitivity is expressed by elasticity parameter and . Different OD markets will have different price elasticities. Different ticketing stages can be divided for different OD pairs according to the law of price elasticity. Here, for the convenience of model expression, the ticketing stages of all OD pairs are divided uniformly. The exponential function is used to describe the demand-price relationship, as in where is the initial price for and the corresponding mean demand is . is the changed price for , and is the corresponding mean demand. The initial price and demand are often obtained according to the historical passenger flow data.

After the price adjustment, first, adjust the demand according to Formula (4). Then, considering the influence of passengers’ choice behavior, the adjusted demand of each product is summed up and redistributed according to Formulas (2) and (3).

3.3. Description of Risk Preference

Charnes and Cooper [27] put forward the concept of CCP theory to solve venture capital decision-making in 1959. To a certain extent, the theory allows decision not to meet constraints. However, the decision should make the probability that the constraint conditions are satisfied not less than a certain confidence level . The smaller the value of , the greater the risk the decision-maker is willing to take in the face of random events. Equation (5) presents it here in its general form [28]. where means probability. , , and do not have to be continuous, but at least one of them is a random variable that obeys a certain distribution. Decision variables represent the deterministic factors in the decision-making process. Random variables represent uncertain factors in decision-making.

It is necessary for transportation enterprises to consider the random characteristics of demand before pricing and ticket allocation. When faced with the influence of uncertain factors, different operation decision-makers have different risk appetites due to individual personality and cognition. In our study, we assume that passenger demand obeys normal distribution. and denote mean and variance of normal distribution, respectively, namely, . Comprehensively considering the uncertainty of demand and the risk preference of operators, we construct the relationship between ticket allocation and demand as shown in the following: where represents the amount of ticket allocated to . According to the CCP theory, Equation (6) means the constraint is at least established at the probability when passenger demand changes randomly.

To facilitate solution and calculation, CCP needs to be transformed into deterministic programming. Many studies prefer to analyze random variables from the perspective of expectation and variance. Besides , optimistic and pessimistic values can also be used to analyze uncertain factors. In this paper, we use optimistic value of random variable, as shown in the following equation: where is a random variable. is within . is called optimistic value of random variable . optimistic value is equal to the maximum value of satisfying . is a decreasing function of confidence level .

The following theorem exists for CCP.

Theorem 1. Suppose is a continuous and random variable, is distribution function of . When , , then if and only if , where [29].

Based on Theorem 1, we can convert constraint (6) into its deterministic equivalent as shown in Equation (8), where is the inverse distribution function of the random variable .

Specially, when confidence level equals 0.5, the constraint (8) can be converted into Formula (9) [20]. This means that neutral decision-makers make decisions based on the average demand.

3.4. Joint Decision Model

The operator decides the price and the ticket allocation for every to maximize the total revenue. The joint decision model is proposed as Formula (8) and (10)–(14). s.t. (8) where represents the total revenue. The objective function (10) is to maximize the revenue of HSR network. Define as the set of all sections. Constraint (11) means that the ticket amount of all OD pairs using section cannot exceed the seat capacity of the train in the section. represents the relationship among train, OD, and section and is a 0-1 variable. Train serves OD and occupies section , , otherwise . Constraint (12) shows that the relationship between train stop scheme and ticket allocation. also is a 0-1 variable. If train provides service for OD , . In this case, . Otherwise, and . Considering the interests of enterprises and passengers, we set the price celling and price floor . Constraint (13) is the upper and lower limits of the fare floating, which can be set according to pricing policies and operational needs. Constraint (14) makes sure the number of tickets is the positive integer.

4. Solution Algorithm

The proposed model in Section 3 is a nonlinear programming model. This model is difficult to solve directly and precisely. Comprehensively considering the model characteristics and solution efficiency, a hybrid algorithm integrating PSO and an exact algorithm for integer linear programming are designed in this paper. PSO [30] is a heuristic algorithm derived from the foraging behavior of birds. This algorithm possesses the advantages of fewer parameters, fast convergence speed, and easy implementation. Firstly, we use the PSO algorithm to generate particles randomly as ticket prices and iteratively optimize the fare by particle swarm. When the price is determined, the model can be transformed into a linear programming model which contains only one ticket allocation variable . Then, we use CPLEX to solve the linear programming exactly. The algorithm settings and steps are described below.

4.1. Algorithm Settings
4.1.1. The Fitness Functions

The value of fitness function is an important index to evaluate the position of particles. In this article, the objective function is selected as the fitness function. If the fitness value is large, it represents that the revenue is high and the particle position is better.

4.1.2. Initial Particle Generation

The random numbers are uniformly generated in each interval as the initial particle position, that is, the price of the product . We set the values of and increase with the time period . The corresponding initial prices also increase as the time period increases. Keeping the initial price consistent with the law of dynamic elasticity helps the algorithm to obtain higher quality solutions.

4.1.3. Learning Factor and Inertia Weight

There are two learning factors in the PSO algorithm. is the flight step of the particle towards the individual best value. is the flight step of the particle towards the global best value. Let ; is inertia weight and set as .

4.1.4. The Velocity Update Equation

The velocity is a key vector that determines the direction and distance of each particle. Updating the velocity is to determine which direction and how far the particle will fly in the next iteration. When a particle evolves from the th iteration to the th iteration, its velocity can be updated according to Equation (15). It consists of three parts, including maintaining the motion habit of particles themselves, learning from individual experience, and exchanging with other particles. Therefore, the PSO algorithm makes full use of the information sharing of individuals in the group to make the movement of particles from disorder to order gradually. where denotes the velocity of particle in the th iteration. is the optimal value of particle after the th iteration. is global optimal value after the th iteration. is the position of particle in the th iteration. and are random numbers in interval .

4.1.5. The Position Update Equation

According to the current position of the particle and the updated velocity, we can use Equation (16) to obtain the new position.

4.1.6. The Termination Conditions

The termination conditions commonly used in PSO include the prespecified generation number as their terminations or stop the iteration when the fitness function value does not change. We adopt the former and set the maximum number of iterations as .

4.2. Algorithm Steps

The specific steps of the algorithm are shown in Algorithm 1.

1: Input: The maximum number of iterations , learning factor and , inertia weight .
2: Generate randomly N particles, position matrix , velocity matrix , ,
3: fortodo
4: for to do
5: Calculate according to equation (1), (2), (3), (4);
6: Input , and into the joint model(8), (10)–(14), obtain the ticket allocation quantity using CPLEX;
7: Compute ;
  If
  Update and , record the price and the corresponding ticket allocation scheme ;
  else
  The optimal value still adopts the results obtained in generation .
8: Update and according to equation (15) and (16), meanwhile ensure within the allowable range of ticket price.
9: Output: The ticket price scheme p, the ticket allocation scheme x, the optimal fitness function value .

5. Numerical Experiments

5.1. Data

A HSR line with 8 stations serves 28 OD pairs. The train service network is shown in Figure 1. We take the second-class seat as an example to conduct the experiments. The capacity of each train is 560, and the trains are not allowed to be overloaded.

The whole presale period is divided into 5 stages. The specific price elasticity coefficient of each ticket selling stage is shown in Table 1. The ticket demand of each OD pair follows normal distribution. The utility parameters , and the original ticket price [4], average demand , and variance of demand are shown in Table 2. Assume that demand is evenly distributed over 5 time periods. The lower limits and upper limits of ticket prices in this paper are 0.5 and 1.5 times of the original ticket prices, respectively. The values of parameters and are 0.012 and 36, respectively.

5.2. Result and Discussion

We performed the numerical experiments on a laptop with Windows operating system, Intel Core i5 processor, and 16 G RAM. Set maximum number of iterations . The confidence level of is set as 0.9. The whole process took about 3.205 minutes to get the results. Figure 2 shows the convergence of total revenue and cumulative optimization proportion with the increase of iteration. The revenue growth rate is fast at the beginning and then gradually slows down. After 22 iterations, it has basically reached the optimal value. The total revenue under the collaborative optimization scheme is 1130381.824 yuan. Compared with the total revenue 1008787.5 yuan under the single fixed fare scheme, it has increased by 12.05%.

From the properties of normal distribution, we know that determines the position of distribution function and the variance determines the concentration of the distribution function. The smaller the variance is, the more concentrated the data distributes and the less the demand fluctuates. Figure 3 shows the total revenue under different variances when the confidence level is 0.9. A small variance means that the demand is more stable. We can see that as the variance increases, the total revenue decreases under fixed fare scheme. With the small fluctuation of passenger flow demand, operators tend to allocate more seats. In joint optimization, with the increase of demand fluctuation, the total revenue also shows a decreasing trend overall. But it is not strictly descending due to the dynamic characteristics of ticket prices. As the variance increases, the total revenue of the joint optimization scheme is always higher than that of the fixed fare scheme and the improved proportion is about 11.83%-12.64%. Figure 4 shows the revenue under different demand levels. With the increase of demand, the total revenue increase under both schemes. Compared with the fixed price, the increase in revenue mainly comes from two aspects. On the one hand, it is to meet the high-priced demand as much as possible, and on the other hand, it is to reduce the price to attract more demand to fill the empty seat. When the travel demand is high, the price increase is the main aspect of increasing revenue, and when the demand is small, the price reduction to attract demand is the main aspect of increasing revenue. It can be seen from Figure 4 that under different demand scales, joint optimization can better match supply and demand to achieve increased revenue. We also narrowed the price fluctuation range to 0.8-1.2 times of the original price for testing. The results show that the proportion of revenue increase decreases in all demand states. Under the original demand, the proportion of increase in revenue was reduced to 7.22%. A wider range of ticket price fluctuations can help boost revenue.

To observe the price changes, we select OD pair 2 and OD pair 7 to investigate the price of each train in each time period. It can be clearly seen from Figures 5 and 6 that trains on the same OD at the same time period have different prices. We find that ticket price shows an upward tendency as the departure time of train approaches. In the early stage of presale period, passengers are highly sensitive to ticket price. If the price is given an appropriate reduction, more passengers will be encouraged to choose HSR train. At the end of the presale period, passengers are less sensitive to ticket price and the operators can raise the price properly to increase income.

Figures 7 and 8 show the ticket allocation schemes of OD pair 2 and OD pair 7, respectively. As the period increases, the tickets allocated to each OD decreases. This is because the experiment assumes that the initial demand is evenly distributed in each period for the convenience of calculation. Such a setting can show the effect of price elasticity on ticket allocation. As the time period increases, the price elasticity decreases, and the joint decision model adopts the method of increasing the price to increase the revenue, so the ticket volume decreases. Train A has a higher ticket allocation at OD pair 7 than at OD pair 2. Most of the demand of OD pair 7 is satisfied by train A, while the demand of OD pair 2 is allocated to other trains in a higher proportion. The joint decision-making model can ensure that the big station express trains meet the long-distance demand as soon as possible, which conforms to the general rule of ticket allocation. Table 3 and Table 4, respectively, show the full version of the ticket price and ticket allocation plan when the confidence level is 0.9.

To explore the influence of decision-makers’ risk preference, we keep other parameters unchanged and only change the value of to conduct experiments. On the one hand, the confidence level can measure the degree to which constraint is met. On the other hand, it indirectly reflects the risk preference of the operator. We set different confidence levels, , successively under single pricing and joint optimization scheme, respectively. The results are shown in Table 5.

According to the data in Table 5, we made the following analysis.

When confidence level is less than 0.5, the HSR operator will organize more tickets to satisfy predictive passenger needs. That means decision-makers are heavily weighted in predictive demand, but actual passenger demand is uncertain. We can infer that the decision-maker is radical in this situation.

When confidence level is equal to 0.5, the demand fluctuation no longer exists according to the analysis in Section 3. The operator will use all the allocated tickets to meet the determined passenger demand. Currently, the HSR operator belongs to decision neutral type.

When confidence level is more than 0.5, the decision-maker will allocate a small amount of ticket to meet anticipated demand. That means decision-makers are not totally convinced anticipated passenger needs. Therefore, the HSR operator is conservative in this situation.

As confidence level decreases, the overall income shows an upward trend in Table 5. The total income is determined by ticket price and ticket amount. Taking train A as an example, Figures 9 and 10 show that the ticket prices increase with time periods under different confidence levels. Figures 11 and 12 show that the allocated tickets decrease with time period under different confidence levels. No matter under different time periods or different risk appetite levels, the number of tickets is lower when the price is high, and the number of tickets is higher when the price is low. The model optimizes the total expected revenue under the combined action of pricing and ticket allocations. The lower the confidence level, the more relaxed the capacity constraint and the greater the total expected revenue.

We can see that under the same confidence level , the total income under the joint optimization scheme is always higher than that under a single fixed ticket price scheme. The specific value of the optimized proportion under each confidence level can be seen in the last column of Table 5. The percentage of revenue improvement is about 11.84%-13.40%. Therefore, the collaborative optimization is a better choice when formulating the ticket price and allocation scheme.

To test the algorithm performance, we intercepted the small network composed of stations 2-4 and trains C and D and their data to conduct experiments. The fare range is set to 0.8-1.2 times of the original fare. The confidence level is taken as 0.9. We multiply the average demand by different multiples and use Lingo, the particle swarm optimization algorithm, and the algorithm in this paper to solve the problem, and the results are shown in Table 6. Lingo adopted branch and bound algorithm to solve the model. A new particle swarm optimization algorithm in which two types of variables were simultaneously optimized as particles was designed to compare with the hybrid particle swarm optimization algorithm proposed in this paper. The results show that the gap between the solution of the algorithm in this paper and that of Lingo is about 0.4%~5.4% and the gap between the solution of the ordinary particle swarm and that of Lingo is about 3.5%~10.1%, indicating that the solution quality of the proposed algorithm is good. We also imputed the data in Section 5.1 into Lingo, and the calculation had not been completed for 24 hours. We tried the new algorithm with the data in Section 5.1 and found that the total revenue was about 2% less than the hybrid algorithm. In summary, for large-scale problems in practical applications, the hybrid algorithm proposed in this paper can provide a satisfactory scheme to improve revenue within a feasible time.

6. Conclusions

Considering the randomness of demand and the operator’s risk preference, this paper introduces the CCP theory to study the joint decision of pricing and ticket allocation. Based on the changing law of price elasticity over time, this paper divides the whole presale period into several stages. After describing passenger choice behavior, elasticity of demand, and operator’s decision preference, the joint optimization model of dynamic pricing and ticket allocation is established. Then, we design a hybrid algorithm, which combines PSO algorithm and the exact solution of integer linear programming algorithm. This algorithm has lower complexity and acceptable speed. The numerical experiment results show that introducing CCP theory, the total revenue under the joint optimization scheme is always higher than that under the single fixed fare scheme at the same confidence level. The percentage of revenue improvement is about 11.84%-13.40%. Under different levels of demand, demand fluctuations, and risk preferences, the joint decision-making always achieves higher returns than ticket allocation under fixed fares. In addition, a larger price range is more conducive to increasing revenue. It is recommended that the operator set a large fluctuation range as required. This study can provide a reference for the operators to reasonably deal with demand uncertainty and decision preferences to make the joint decision of dynamic pricing and ticket allocation, which is of great significance to improve enterprise revenue and alleviate losses. Future research can be expanded by considering overbooking, no-show, refunds, etc.

Data Availability

The data used to support the model and analysis of this study are presented within the article.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Acknowledgments

The authors would like to thank IBM for their cooperation through their academic plan ILOG CPLEX. This work was funded by the National Natural Science Foundation of China (72061028) and Natural Science Foundation of Inner Mongolia Autonomous Region, China (2022MS07020). The authors are very grateful for the supports.