Next Article in Journal
Improved Remote Photoplethysmography Using Machine Learning-Based Filter Bank
Previous Article in Journal
A New Approach to 3D Facilities Management in Buildings Using GIS and BIM Integration: A Case Study Application
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bilateral Matching Decision Model and Calculation of High-Speed Railway Train Crew Members

1
School of Traffic and Transportation, Lanzhou Jiaotong University, Lanzhou 730070, China
2
Key Laboratory of Railway Industry on Plateau Railway Transportation Intelligent Management and Control, Lanzhou 730070, China
3
School of Mathematics and Physics, Lanzhou Jiaotong University, Lanzhou 730070, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(23), 11106; https://doi.org/10.3390/app142311106
Submission received: 17 October 2024 / Revised: 20 November 2024 / Accepted: 22 November 2024 / Published: 28 November 2024

Abstract

:
To meet the preference demands of the crew members of high-speed railway trains while forming a crew team, and to automate the compilation of adaptable crew member schemes, a bilateral matching decision method for crew members is proposed based on complete preference order information. This method first describes the mutual selection process between the chief stewards and stewards of a high-speed railway train as a one-to-many bilateral matching decision process between the chief stewards and stewards Subsequently, by constructing a virtual train chief stewards, the original one-to-many bilateral matching relationship between the chief stewards and stewards is transformed into a one-to-one bilateral matching relationship between the virtual chief stewards for modeling. Then, a dual-objective integer programming model is established with the minimum sum of preference order values as the objective. Finally, an optimization solver is used to calculate the problem under different scales, and a genetic algorithm is designed for large-scale scenarios. The analysis results of numerical examples show that the model and algorithm of train crew members based on bilateral matching decisions can meet the actual requirements of the crew department and have good application value.

1. Introduction

The research field of high-speed railway crew planning has consistently been a prominent focus within high-speed railway management optimization. Current studies have yielded substantial findings primarily concentrated on optimizing crew routing and formulating crew schedules. Tian Zhiqiang [1] modeled the problem as a set-covering model with minimum cost as the optimization objective, utilizing an improved ant colony algorithm for computation. Zhang Zheming [2] developed a space–time state network integrated with crew regulations, formulated an integer programming model for the network, and designed a Lagrangian algorithm for solving the problem. Hoffmann [3] proposed an arc-flow model aimed at minimizing crew costs, employing column generation techniques to enhance solution efficiency. Fuentes [4] introduced a crew scheduling model based on network flow to reduce labor costs, further implementing a time-based personnel clustering decomposition approach to solve the problem. Hanczar [5] designed a two-stage model and devised separate solution algorithms for large-scale instances, validating the model’s and algorithm’s effectiveness through simulation studies. A review of prior research reveals that the majority of these studies have focused predominantly on reducing labor costs or minimizing working hours, with limited consideration for crew perspectives in the formulation of crew schedules.
In the research of similar topics in aviation systems, several studies based on the perspective of crew members have emerged. Felici [6] established a preference-based integer programming model and designed a heuristic algorithm to solve this problem. Maenhout [7] integrated crew preferences into the objective function of the model, designing a decentralized search algorithm and comparing it with a branch-and-price algorithm based on the constructed integer programming model. Quesnel [8] incorporated crew preferences into this problem, establishing a preference-based mathematical model and employing a column generation algorithm to solve it. Bahareh [9] developed a scheduling model based on crew preferences and qualifications, and used a genetic algorithm to solve this problem, aiming to achieve an optimized crew scheduling scheme.
In recent years, the efficiency of team collaboration in high-speed railway crew operations has been declining, coupled with increasing personnel turnover. Thus, exploring crew scheduling methods from the perspective of crew members has become particularly important. In practice, the preparation of high-speed railway crew plans typically involves three main steps: first, the matching of crew members; second, the generation of crew routes; and finally, the matching of crew members to the generated crew routes. Steward matching forms the foundation of crew plan preparation. If crew members with high satisfaction can be identified during the matching process, it can significantly enhance their job satisfaction and team collaboration efficiency, while also improving personnel stability. However, current research in this area remains relatively limited. Against this backdrop, the theory of bilateral matching decisions offers a novel research approach.
Bilateral matching theory addresses the problem of matching discrete resources between two disjoint sets and has become a research hotspot in recent years. It is widely applied in various fields, including male–female marriage matching, person–position matching, and matching between students and mentors. Numerous scholars have conducted in-depth studies on this problem, focusing on aspects such as stability and satisfaction. GALE et al. [10] established the definitions of stable and optimal matchings through the study of student admissions and marriage issues, confirming the existence of stable matchings using the Gale–Shapley algorithm. Yu D [11] designed a bilateral matching model based on intuitionistic fuzzy functions for person–job matching, obtaining optimal results through multi-objective decision-making models. Li Mingyang [12] converted matching preference order information into satisfaction levels to construct an optimization model for the maximum weight matching problem, achieving optimal bilateral matching results. Kong Dezai [13] introduced a preference list simplification rule to reduce the scale of bilateral matching problems and demonstrated that stability constraints within the optimization model can yield one-to-many stable matching solutions. Jia Fuqiang [14] created a bipartite graph focused on travelers and routes, proving from a graph theory perspective that the stable matching of this bipartite graph determines the final path selection, and established two types of multi-objective optimization models considering and disregarding the effects of traffic flow and capacity. Kong Dezai [15] targeted bilateral matching issues with individual and reciprocal preferences, built a stable matching optimization model to maximize overall subject satisfaction, and transformed the multi-objective optimization model into a single-objective model using a weighted sum method based on membership functions to find the optimal stable matching schemes for bilateral subjects. Yang Qin [16] converted the one-to-many bilateral matching issue between rescuers and rescue tasks into a one-to-one perfect matching problem, establishing a bilateral matching decision model that maximizes perceptual congruence and acceptance. Liu Jie [17] transformed the one-to-many bilateral matching problem between instructors and graduate students into a one-to-one issue, developing a preference-based perceived satisfaction function for both teachers and students using prospect theory, and solved it using a genetic algorithm. Xiao Hanqiang [18] under the conditions of bilateral subject satisfaction and intermediary benefits, calculated the prospective values between parties using prospect theory and constructed a dual-objective optimization model aiming to maximize the aggregate prospective values. Yuan Duoning [19] addressed the one-to-many bilateral matching issue between elective surgery patients and surgeons, creating a multi-objective optimization model to achieve a stable matching scheme that meets expectation levels, using a non-dominated sorting genetic algorithm with an elite strategy. Kong Dezai [20] focused on bilateral matching problems where one party provides preference order information and the other has reciprocal preferences, devising a stable matching optimization model that maximizes satisfaction for both sides and determined that the optimal solution corresponds to Pareto efficient matches. Le Qi [21] investigated the bilateral matching problem using triangular intuitionistic fuzzy number information to achieve the highest triangular intuitionistic fuzzy satisfaction for venture capitalists and enterprises, building a multi-objective bilateral matching model and converting it into a single-objective model using linear weighting and centroid methods to obtain the “best” bilateral matching scheme. Li Woyuan [22] transformed interval intuitionistic fuzzy set matrices into score function matrices to build a bilateral matching model based on score functions and matching matrices. Zhang Lili [23] constructed an advantageous attribute scale based on objective evaluations of subjects, introduced a formula for individual comprehensive situations, converted multi-objective optimization into single-objective optimization using a subordination-weighting method, and used the Hungarian method to secure the matching scheme with the highest satisfaction and stability. For the one-to-many two-sided matching problem based on ordinal preference information, Li Mingyang [24] constructs a multi-objective optimization model with the goal of minimizing the sum of ordinal values for each party under stable matching conditions. The multi-objective optimization model is then transformed into a single-objective optimization model to obtain the optimal matching result.
From an application perspective, the aforementioned studies extend the bilateral matching theory to various domains, including marriage, doctor–patient, admissions, and rescue scenarios, encompassing matching subjects such as individual-to-individual, individual-to-job, and individual-to-resource. Theoretically, these studies address the conversion of one-to-many bilateral matching issues into one-to-one scenarios by defining virtual subjects, thereby constructing multi-objective optimization models using linear programming techniques. These models are further simplified into single-objective formulations, or solved using intelligent multi-objective optimization algorithms, effectively resolving bilateral matching problems.
The problem of crew matching in the field of high-speed railway crew planning research involves matching between individuals, where the process can be viewed as a decision-making process with the chief steward and stewards as the primary entities in bilateral matching. By introducing bilateral matching decision theory, theoretical support can be provided for efficient and stable crew matching. Accordingly, this paper applies bilateral matching decision theory to the problem of crew matching in high-speed railway trains. Based on the preference order theory, a one-to-many bilateral matching multi-objective optimization model is developed, considering the satisfaction of both matching entities. Optimization solvers and intelligent optimization algorithms are employed to conduct simulations and calculations for various problem scales under different scenarios. This not only enhances the field of high-speed railway crew planning research with significant application value but also expands the application scope of bilateral matching theory.

2. Problem Description and Modeling

In the current model for high-speed railway crew matching, the standard configuration comprises one chief steward matched with three stewards. Both chief stewards and stewards, serving as the primary subjects in bilateral matching, conduct comprehensive evaluations and assign quantitative scores to each other. This process yields a complete preference order of one party for the overall profile of the other, providing a quantitative measure of satisfaction between the matched subjects [3].

2.1. Symbol Description

For the convenience of model construction, the symbol definition and description are shown in Table 1.

2.2. Construction of the Train Crew Matching Model

The one-to-many bilateral matching decision model in the train crew matching problem is illustrated in Figure 1. In this model, A 1 to A m denote the set of stewards, and B 1 to B n denote the set of chief stewards. The thick solid lines represent the final constructed matching pairs, while the dashed lines represent the mutual preference information between the matching subjects. The evaluation of the matching scheme is based on the satisfaction of the bilateral matching results between the chief stewards and stewards.

2.2.1. Establishing the Complete Preference Order Matrix

The complete preference order vector of stewards for chief stewards is R i = r i 1 , r i 2 , , r i n , where i M , j N , and r i j represents the ranking of chief steward B j in the preference order of steward A i . Similarly, the complete preference order vector of chief stewards for stewards is S j = s 1 j , s 2 j , , s m j , where s i j represents the ranking of steward A i in the preference order of chief steward B j . The complete preference order matrices are denoted by R = r i j and S = s i j . A smaller value of r i j or s i j indicates a higher satisfaction level of the matching [1]. All ranking values in this paper follow a strict ordering: if j k , then r i j r i k ; if i l , then s i j s l j .

2.2.2. Converting One-to-Many Matching Relationship to One-to-One Matching

The multi-valued mapping μ : A B A B represents a one-to-many bilateral matching between stewards and chief stewards, where A i = μ B j and B j = μ A i both indicate that A i and B j are matched in μ . In this context, μ A i = A i indicates that A i is unmatched in μ , and similarly, μ B j = B j indicates that B j is unmatched in μ . When c j = 1 , the one-to-many bilateral matching problem simplifies to a one-to-one bilateral matching problem, and μ ˜ represents a one-to-one bilateral matching.
According to actual work conditions, the number of chief stewards matched by each steward is 1 and the number of stewards matched by each chief steward is c j , given j = 1 n c j = m . to facilitate analytical modeling [8], the one-to-many bilateral matching problem is transformed into a one-to-one bilateral matching problem.
For chief steward B j , since the number of matched stewards is c j , B j can be regarded as having q virtual subjects with the same preference order q 1 , 2 , ... c j . The set consisting of virtual chief stewards is denoted as B ˜ = B ˜ 1 1 , , B ˜ 1 c 1 , B ˜ j q , B ˜ n 1 , , B ˜ n c n , where q 1 , 2 , c j . The B ˜ j q represents the virtual chief steward at position q corresponding to chief steward B ˜ j , The conversion process is shown in Figure 2 below. The complete preference value matrix of the set of chief stewards B ˜ to the set of stewards is S ˜ = s i j q m × m , where s ˜ i j q represents the complete preference vector of the virtual chief steward at position q corresponding to the chief steward B ˜ j for the steward A i . Similarly, the complete preference value matrix of the stewards to the set of chief stewards B ˜ is R ˜ = r i j q m × m , where r ˜ i j q represents the complete preference vector of steward A i for the virtual chief steward at position q corresponding to the chief steward B ˜ j . Thus, the preference matrices S ˜ and R ˜ are obtained.
S ˜ = s ˜ i j q m × m = s ˜ 11 1 s ˜ 11 1 s ˜ j 1 q s ˜ n 1 1 s ˜ n 1 c n s ˜ 1 i 1 s ˜ 1 i c 1 s ˜ j i q s ˜ n i 1 s ˜ n i c n s ˜ 1 m 1 s ˜ 1 m c 1 s ˜ j m q s ˜ n m 1 s ˜ n m c n R ˜ = r ˜ i j q m × m = r ˜ 11 1 r ˜ 11 c 1 r ˜ 1 j q r ˜ 1 n 1 r ˜ 1 n c m r ˜ i 1 1 r ˜ i 1 c 1 r ˜ i j q r ˜ i n 1 r ˜ i n c m r ˜ m 1 1 r ˜ m 1 c 1 r ˜ m j q r ˜ m n 1 r ˜ m n c m
In the transformed one-to-one bilateral matching μ ˜ , the preference order values of virtual subjects are equivalent to the original problem’s preference order values, that is, r ˜ i j q = r i j , where i M ,   j N ,   q 1 , 2 , , c j ; s ˜ i j q = s i j , where i M ,   j N ,   q 1 , 2 , , c j . The one-to-one matching model for chief stewards and stewards is obtained as Figure 3.

2.2.3. Model Establishment

In summary, a bilateral matching optimization model (M1) considering stability is established with the objective of minimizing the complete preference order value of both the stewards and chief stewards:
M i n Z 1 = i = 1 m j = 1 n r ˜ i j q x i j q
M i n Z 2 = i = 1 m j = 1 n s ˜ i j q x i j q
s.t.
i = 1 m x i j q 1       j N , q { 1 , 2 , , c j }
j = 1 n x i j q 1       i M , q { 1 , 2 , , c j }
x i j q 0 , 1       i M , j N , q { 1 , 2 , , c j }
In the model M1: Equations (1) and (2) are the objective functions; Equation (3) indicates that each steward can only be matched with one virtual chief steward; Equation (4) indicates that each virtual chief steward can only be matched with one steward; and Equation (5) defines the range of decision variables.
This model is a multi-objective integer optimization model where the objective functions have non-negative characteristics, and the two objective functions share the same dimensions. Therefore, a linear weighting method is used to linearly weight the two objectives, resulting in a single objective function. The model is then converted into a single-objective optimization model (M2) for computation. The expression for mathematical model M2 is:
M i n Z = α 1 i = 1 m j = 1 n r ˜ i j q x i j q + α 2 i = 1 m j = 1 n s ˜ i j q x i j q
s.t.
i = 1 m x i j q 1       j N , q { 1 , 2 , , c j }
j = 1 n x i j q 1       i M , q { 1 , 2 , , c j }
x i j q 0 , 1       i M , j N , q { 1 , 2 , , c j }
Refer to the above model (6)–(9) as M2, which is a single-objective integer optimization model. Specialized optimization software such as Cplex, Lingo, and Gurobi can be used to obtain the exact solution of this mathematical model. In practical work, it is usually considered that the positions of stewards and chief stewards are equally important in the matching process. Therefore, during the solving process, this equality can be assumed. In this study, the problem was solved using Python programming language on a Windows 10 system with an Intel i7-1165G7 processor, utilizing the Gurobi optimization solver. Assuming a passenger line has 4 chief stewards and 12 stewards, each chief steward B j evaluates the stewards A i based on their own preferences, work abilities, and other indicators, resulting in a preference order vector s i j , as shown in Table 2.
Steward A i , based on their own preferences and management abilities, comprehensively evaluates chief steward B j , resulting in a preference order vector r i j , as shown in Table 3.
The one-to-many bilateral matching process between the chief steward and the stewards can be described as follows: First, according to the equations, the problem is transformed into a one-to-one bilateral matching problem. The one-to-many preference orders r i j and s i j are transformed into one-to-one preference orders r ˜ i j q and s ˜ i j q , resulting in the following matrices:
S ˜ = s ˜ i j q = 9   5   8   11   2   10   4   3   12   7   1   6 9   5   8   11   2   10   4   3   12   7   1   6 9   5   8   11   2   10   4   3   12   7   1   6   8   1   2   12   9   5   6   11   3   4   10   7   8   1   2   12   9   5   6   11   3   4   10   7   8   1   2   12   9   5   6   11   3   4   10   7 12   6   7   5   1   8   11   10   4   2   9   3 12   6   7   5   1   8   11   10   4   2   9   3 12   6   7   5   1   8   11   10   4   2   9   3 12   6   3   5   9   8   1   2   4   10   7   11 12   6   3   5   9   8   1   2   4   10   7   11 12   6   3   5   9   8   1   2   4   10   7   11 R ˜ = r ˜ i j q = 4   4   4   2   2   2   1   1   1   3   3   3 3   3   3   4   4   4   1   1   1   2   2   2 3   3   3   1   1   1   2   2   2   4   4   4 4   4   4   2   2   2   3   3   3   1   1   1 4   4   4   2   2   2   3   3   3   1   1   1 4   4   4   1   1   1   3   3   3   2   2   2 2   2   2   4   4   4   1   1   1   3   3   3 4   4   4   1   1   1   3   3   3   2   2   2 4   4   4   3   3   3   2   2   2   1   1   1 3   3   3   4   4   4   1   1   1   2   2   2 3   3   3   4   4   4   1   1   1   2   2   2 4   4   4   2   2   2   3   3   3   1   1   1
The obtained results are shown in Table 4.
That is, chief steward B 1 is matched with stewards A 2 , A 5 , and A 12 ; chief steward B 2 is matched with stewards A 3 , A 6 , and A 8 ; chief steward B 3 is matched with stewards A 4 , A 10 , and A 11 ; chief steward B 4 is matched with stewards A 1 , A 7 , and A 9 .
Simulations were conducted 10 times for each of the scenarios where the number of chief attendants is 20, 40, 60, and 80. In each simulation, the preference orders of stewards for chief attendants and of chief attendants for stewards were randomly generated by the computer. The average values of the computation results are shown in Table 5.
Based on the analysis of the above data, it can be concluded that the greater the number of chief stewards, the longer the average runtime. As the number of chief stewards increases from 20 to 80, the average runtime increases significantly. The larger the problem size, the higher the difficulty to solve it, and the growth of runtime is nonlinear. When the number of chief stewards increases from 20 to 40, the runtime increases from 1.5 to 15. When the number of chief stewards increases from 40 to 80, the runtime increases from 15 to 335.4, showing exponential growth.
When the number of chief stewards reaches 90, using Gurobi to solve this problem results in a memory overflow. This indicates that while optimization solvers can be used to solve such problems when the computational scale is small, their limitations become apparent with larger computational scales. In existing research, heuristic algorithms are also widely applied in solving bilateral matching problems. For example, genetic algorithms [17,19] have been repeatedly used to solve bilateral matching problems. Therefore, this paper designs a genetic algorithm to solve this problem to meet the needs of solving large-scale instances in practical work.

3. Algorithm Design

The genetic algorithm is a population-based intelligence algorithm founded on random, this paper designs a genetic algorithm to solve the bilateral matching model for crew members. By using real-number encoding, the matching scheme of chief stewards and stewards is represented as chromosomes. Subsequently, a fitness function is constructed, and crossover and mutation operations are applied to alter the matching relationships between the bilateral subjects. The core idea is to find the optimal crew shift matching scheme that satisfies the bilateral subjects’ preferences through iterative processes, while ensuring one-to-one matching between the bilateral subjects.

3.1. Coding

For the characteristics of the problem, this paper adopts a real number coding scheme. The coding method represents the steward A i by number i , which is expressed as a gene position on the chromosome, arranged in increasing order of natural numbers. The virtual chief steward B ˜ j q is expressed as a gene value on the chromosome. The chromosome can be represented as y h , where y h Y Y = y 1 , y 2 , y 3 , , y h , , y H . Here, y h denotes an individual h , and Y represents a population with a size of H . The coding scheme is shown in Figure 4.

3.2. Initial Population Generation

In generating the initial population, a virtual chief steward number is first generated in the first locus according to the principle of the smallest preference order. Then, the virtual chief steward number with the smallest preference order among the remaining virtual chief stewards is selected in the second locus. This process continues sequentially until one-to-one matches are generated for all virtual chief stewards and stewards. By adopting the above coding scheme, the chromosome can always satisfy the one-to-one matching of virtual chief stewards and stewards during genetic manipulation.

3.3. Construction of Fitness Function

The objective function in mathematical model M2 is used as the fitness function in the genetic algorithm can be written as f y h , l = Z = α 1 Z 1 + α 2 Z 2 ; f y h , l represents the fitness function, l denotes any iteration, L is the total number of iterations, and l 1 , L .

3.4. Selection and Replication

This paper adopts the roulette selection method, first calculating the total fitness value of the current population h = 1 H f y h , l , and then calculating the selection probability P h = f y h , l / h = 1 H f y h , l for each chromosome, and the cumulative probability ACyh for each chromosome is calculated as follows: A C y h = A C y h 1 + P y h . A random number r a n d o m 0 , 1 is generated. If r a n d o m A C 1 , the chromosome y 1 is selected. If r a n d o m > A C 1 , and the random number satisfies A C h 1 r a n d o m A C h , the chromosome y h is selected.

3.5. Crossover and Mutation

To perform crossover at a probability r c on the genes of the chromosome, this paper adopts a single-point crossover method, randomly selecting the crossover locus to exchange genes with the corresponding locus of another chromosome. The resulting chromosome may not necessarily satisfy the one-to-one matching constraints between virtual chief stewards and stewards. It is corrected according to the following method: first, generate a virtual chief steward number in the first locus, then select one of the remaining virtual chief stewards randomly in the second locus, and so on until one-to-one matches for all virtual chief stewards and stewards are generated.
For mutation, the basic bit mutation operation is used. With a mutation probability r m , a certain gene locus is randomly specified to perform the mutation operation. That is, for the chromosomal genes, a real number between (0, 1) is randomly selected. If the real number is smaller than r m , a natural number is randomly chosen from 1 to m to replace the corresponding gene value. Conversely, if the gene value remains unchanged, to satisfy the one-to-one matching constraint between the virtual chief steward and the steward, the chromosomes are corrected according to the crossover step method, which determines the new individual after mutation.

3.6. Algorithm Steps

Step 1: Set l = 0 , and randomly generate H initial individuals as the initial population.
Step 2: Evaluate all current individuals using the fitness function to calculate their fitness values.
Step 3: Determine whether the algorithm termination condition is satisfied. If satisfied, output the result; otherwise, proceed to the next step.
Step 4: Perform the selection operation. To avoid the destruction of excellent individuals during crossover and mutation, a combination of roulette wheel selection and elitism strategy is used for selection.
Step 5: Perform crossover and mutation operations. With crossover probability r c and mutation probability r m , apply crossover and mutation operations to the selected individuals as described above.
Step 6: Check the loop termination condition. If the number of iterations has not reached the maximum number of loops set, go to Step 2; otherwise, the algorithm ends, and the results are output, terminating the operation.
The genetic algorithm process is shown in Figure 5.

4. Numerical Example

To verify the effectiveness of the genetic algorithm in terms of solution quality and time, the optimal solution obtained by Gurobi and the average satisfactory solution obtained by the designed genetic algorithm (GA) were compared for different scales of crew chief stewards (2, 4, 8, 16, 32, 64). The experimental values presented below are the average of ten trials. The genetic algorithm was implemented using Python, with basic parameter settings as follows: population size of 80, crossover probability of 0.99, mutation probability of 0.01, and a maximum of 200 generations.
From the analysis of the data in Table 6, it can be observed that Gurobi consistently has a significantly shorter runtime compared to the Genetic Algorithm (GA) across all numbers of conductors. For instance, when the number of conductors is 64, Gurobi’s average runtime is 95 s, while GA requires 389 s. As the number of conductors increases, the runtime of both algorithms grows exponentially, but the growth rate of GA is notably faster. Gurobi performs excellently in terms of the objective function value, which increases gradually with the number of conductors but remains consistently lower than the corresponding value for GA. For example, when the number of conductors is 64, Gurobi’s objective function value is 1476, whereas GA’s is 4472.4. The objective function value of GA also increases substantially with the number of conductors, and in some cases, it is several times greater than that of Gurobi. The trend changes in computation time and objective function for different scales are shown in Figure 6.
To verify the effectiveness and feasibility of the genetic algorithm in solving large-scale problems, we conducted a simulation with 90 chief stewards and 270 stewards. The chief stewards performed a comprehensive evaluation of the stewards’ work ability and other indicators, providing the complete preference order vector s i j . For details, see Table 7.
Steward B j combines his own preferences and conducts a comprehensive evaluation of chief steward A i based on indicators such as management ability, and provides the preference order vector r i j , as shown in Table 8.
The one-to-many bilateral matching relationship is transformed into a one-to-one bilateral matching relationship, resulting in the preference matrix of the virtual chief stewards to the stewards, and the preference matrix of the stewards to the virtual chief stewards, r i j q , s i j q .
S ˜ = s ˜ i j q = 198   216   21     72   145   258   198   216   21     72   145   258 198   216   21     72   145   258 206   215   24   254   167   160   206   215   24   254   167   160   206   215   24   254   167   160   248   105   151   218   242   48 248   105   151   218   242   48 248   105   151   218   242   48 236   226   61 219   202   21   236   226   61 219   202   21   236   226   61 219   202   21   R ˜ = r ˜ i j q = 44 44 44 72 72 72 12 12 12 43 43 43 17 17 17 40 40 40 28 28 28 16 16 16 53 53 53 58 58 58 55 55 55 50 50 50 55 55 55 15 15 15 78 78 78 16 16 16 23 23 23 21 21 21 71 71 71 19 19 19
Based on the above data, the designed genetic algorithm is combined to solve the bilateral matching model of the crew shift. The algorithm is programmed in Python language, and the basic parameters are set as follows: the population size N is 80, the crossover probability P c is 0.65, the mutation probability P m is 0.05, and the maximum number of generations gen is 100. The different sizes of the chief stewards, 120 and 150, are calculated, and the solution results are shown in Table 9:

5. Conclusions

The main conclusions obtained in this paper are as follows:
1. Considering the gaps in the research field of high-speed railway crew planning regarding crew matching, this study seeks the optimal matching scheme among crew members based on job matching degree. It provides technical means to solve this problem, verifies the validity of the constructed models and algorithms, optimizes the composition of train crews, and offers decision-making support for high-speed railway crew management and optimization.
2. A multi-objective optimization model of one-to-many bilateral matching is constructed for the high-speed railway crew matching problem, based on the decision theory of bilateral matching and the theory of complete preference order. This expands the application field of bilateral matching theory.
3. When solving the one-to-many bilateral matching model with an optimization solver, the solver fails to obtain a solution within an acceptable time frame as the problem size increases. Therefore, a genetic algorithm (GA) is designed to solve the problem for large-scale scenarios. Analysis of the results shows that Gurobi excels in both solving speed and objective function value, making it suitable for scenarios with high requirements for both time and quality. Although GA is well-suited for solving large and complex problems, its performance in terms of runtime and objective function value is inferior to Gurobi. In scenarios that require higher solution precision, it is advisable to optimize the algorithm to achieve higher-quality solutions.
4. This paper only considers the problem-solving method based on the complete preference order information of the matching subject. To further improve the universality of the model, future work will consider the bilateral matching decision-making methods of the crew under different conditions, such as uncertain information and multi-attribute information, and will fully consider the matching relationship between the manager and the managed.

Author Contributions

Conceptualization, W.L. and Y.L. (Yinzhen Li); methodology, W.L.; software, Y.J.; validation, W.L. and Y.L. (Yu Li); formal analysis, R.X. All authors have read and agreed to the published version of the manuscript.

Funding

Lanzhou Jiaotong University Gansu Provincial Key Laboratory Open Project Approval (2024064).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets generated during and analyzed during the current study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Tian, Z. Study on Theory and Methods of Crew Planning Problem of High-Speed Railway. Ph.D. Thesis, Southwest Jiaotong University, Chengdu, China, 2011. [Google Scholar]
  2. Zhang, Z.; Wang, Y.; Liao, Z.; Cao, W. Research Optimization of Crew Scheduling of High-speed Railway Based on Time Space State Network. J. China Railw. Soc. 2019, 41, 1–11. [Google Scholar]
  3. Hoffmann, K.; Buscher, U. Valid inequalities for the arc flow formulation of the railway crew scheduling problem with attendance rates. Comput. Ind. Eng. 2019, 127, 1143–1152. [Google Scholar] [CrossRef]
  4. Fuentes, M.; Cadarso, L.; Marín, Á. A hybrid model for crew scheduling in rail rapid transit networks. Transp. Res. Part B Methodol. 2019, 125, 248–265. [Google Scholar] [CrossRef]
  5. Hanczar, P.; Zandi, A. A novel model and solution algorithm to improve crew scheduling in railway transportation: A real world case study. Comput. Ind. Eng. 2021, 154, 107132. [Google Scholar] [CrossRef]
  6. Felici, G.; Mecoli, M. Resource assignment with preference conditions. Eur. J. Oper. Res. 2007, 180, 519–531. [Google Scholar] [CrossRef]
  7. Maenhout, B.; Vanhoucke, M. A hybrid scatter search heuristic for personalized crew rostering in the airline industry. Eur. J. Oper. Res. 2010, 206, 155–167. [Google Scholar] [CrossRef]
  8. Quesnel, F.; Desaulniers, G.; Soumis, F. Improving Air Crew Rostering by Considering Crew Preferences in the Crew Pairing Problem. Transp. Sci. 2020, 54, 97–114. [Google Scholar] [CrossRef]
  9. Shafipour-Omrani, B.; Rashidi Komijan, A.; Sadjadi, S.J. A Fuzzy Crew Rostering Model Based on Crew Preferences and Seniorities considering Training Courses: A Robust Optimization Approach. Comput. Intell. Neurosci. 2022, 2022, 1–15. [Google Scholar] [CrossRef]
  10. Gale, D.; Shapley, L.S. College Admissions and the Stability of Marriage. Am. Math. Mon. 1962, 69, 9–15. [Google Scholar] [CrossRef]
  11. Yu, D.; Xu, Z. Intuitionistic fuzzy two-sided matching model and its application to personnel-position matching problems. J. Oper. Res. Soc. 2020, 71, 312–321. [Google Scholar] [CrossRef]
  12. Li, M.; Fan, Z.; Liu, Y. A Method for two-sided Matching Based on Preference Ordinal Information. Oper. Res. Manag. Sci. 2012, 21, 112–118. [Google Scholar]
  13. Kong, D.; Jiang, Y.; Liu, C. Decision-making Method of Large-scale One-to-many Two-sided Matching Problem. Syst. Eng. 2018, 36, 153–158. [Google Scholar]
  14. Jia, F.; Li, Y.; Yang, X.; Ma, C. Path Selection Behavior Based on Stable Matching. J. Transp. Syst. Eng. Inf. Technol. 2019, 19, 129–134+162. [Google Scholar] [CrossRef]
  15. Kong, D.; Liu, C.; Fan, Q. Research on Decision Method for Two-sided Matching Considering Individual Preference and Reciprocal Preference. Fuzzy Syst. Math. 2019, 33, 141–150. [Google Scholar]
  16. Yang, Q.; Chen, J.; Liu, J.; Zhang, W. Task allocation of emergency rescue workers based on bilateral matching decision. China Saf. Sci. J. 2019, 29, 180–186. [Google Scholar]
  17. Liu, J.; Yang, Q.; Zhou, Y.; Cao, C. A Two-sided Matching Decision Model Considering Perception Satisfaction of Postgraduates and Supervisors. Oper. Res. Manag. Sci. 2020, 29, 16–26+43. [Google Scholar]
  18. Xiao, H.; Zhao, Y. Decision Analysis Method for One-to-Many Two-Side Matching Considering Psychological Behavior of Agents. J. Syst. Sci. Math. 2020, 40, 2071–2081. [Google Scholar]
  19. Yuan, D.; Jiang, Y.; Liang, H. Two-sided stable matching model between selective operation patients and surgeons considering the priority of attributes. Syst. Eng.-Theory Pract. 2020, 40, 2367–2378. [Google Scholar]
  20. Kong, D.; Cui, J.; Liu, C. Stable Two-Sided Matching Decision Making Method with One-Side Reciprocal Preferences. J. Syst. Sci. Math. 2021, 41, 1108–1120. [Google Scholar]
  21. Yue, Q.; Zhu, J. Two-sided Matching Decision Based on Triangular Intuitionistic Fuzzy Number Information. Oper. Res. Manag. Sci. 2021, 30, 57–62. [Google Scholar]
  22. Li, Y.; Qiao, J. Bilateral matching decision model and application based on interval intuitionistic fuzzy set. Fuzzy Syst. Math. 2021, 35, 71–77. [Google Scholar]
  23. Zhang, L.; Ma, D.; Lou, Y. A Two-sided Matching Decision Model Based on Advantage Sequences. Oper. Res. Manag. Sci. 2021, 30, 50–56. [Google Scholar]
  24. Li, M.; Fan, Z.; Yue, Q. Decision analysis method for one-to-many two-sided matchingconsidering stable matching condition. J. Syst. Eng. 2013, 28, 454–463. [Google Scholar]
Figure 1. One-to-many tow-sided matching between chief stewards and stewards.
Figure 1. One-to-many tow-sided matching between chief stewards and stewards.
Applsci 14 11106 g001
Figure 2. Matching transformation diagram.
Figure 2. Matching transformation diagram.
Applsci 14 11106 g002
Figure 3. One-to-one two-sided matching between virtual chief stewards and stewards.
Figure 3. One-to-one two-sided matching between virtual chief stewards and stewards.
Applsci 14 11106 g003
Figure 4. Schematic diagram of chromosome coding.
Figure 4. Schematic diagram of chromosome coding.
Applsci 14 11106 g004
Figure 5. Genetic Algorithm Flowchart.
Figure 5. Genetic Algorithm Flowchart.
Applsci 14 11106 g005
Figure 6. Comparison of Computation Time Changes and Objective Function Value Calculation Results.
Figure 6. Comparison of Computation Time Changes and Objective Function Value Calculation Results.
Applsci 14 11106 g006
Table 1. Symbol representation and meaning.
Table 1. Symbol representation and meaning.
SymbolMeaning
M Set of stewards, M = 1 , 2 , , m
N Set of chief stewards, N = 1 , 2 , , n
A Set of stewards A = A 1 , A 2 , , A m , where A i represents the steward number i , i M
B Set of chief stewards B = B 1 , B 2 , , B n , where B j represents the steward number j , j N
c j Total number of stewards matched by chief steward number j , j = 1 n c j = m (total number of stewards matches the total number of places available)
r i j The complete preference order vector of steward A i prefers chief steward B j over chief steward, r i j indicates that steward A i ranks chief steward B j in position r i j .
s i j The complete preference order vector of steward B j prefers chief steward A i over chief steward, s i j indicates that steward B j ranks chief steward A i in position s i j .
R Steward’s complete preference order matrix for chief stewards, R = r i j
S Chief steward’s complete preference order matrix for stewards, S = s i j
μ Mapping function μ : A B A B , a multi-valued that assigns stewards from set A to chief stewards in set B.
μ ˜ Modified mapping function μ ˜ : A B ˜ A B ˜ , a single-valued mapping that assigns stewards from set A to chief stewards in set B.
B ˜ Set of Virtual Chief stewards B ˜ = B ˜ 1 1 , , B ˜ 1 c 1 , B ˜ j q , B ˜ n 1 , , B ˜ n c n , where q 1 , 2 , c j
r ˜ i j q r ˜ i j q represents the complete preference order vector of steward A i for the q-th virtual representation of chief steward B j , where q 1 , 2 , c j .
s ˜ i j q s ˜ i j q represents the complete preference order vector of steward B j for the q-th virtual representation of chief steward A i , where q 1 , 2 , c j .
R ˜ The complete preference order matrix of stewards for virtual chief stewards, R ˜ = r ˜ i j q
S ˜ The complete preference order matrix of virtual chief stewards for stewards, S ˜ = s ˜ i j q
Table 2. The complete preference order of the chief stewards to stewards.
Table 2. The complete preference order of the chief stewards to stewards.
A 1 A 2 A 3 A 4 A 5 A 6 A 7 A 8 A 9 A 10 A 11 A 12
B 1 958112104312716
B 2 812129561134107
B 3 126751811104293
B 4 126359812410711
Table 3. The complete preference order of the stewards to chief stewards.
Table 3. The complete preference order of the stewards to chief stewards.
B 1 B 2 B 3 B 4
A 1 4213
A 2 3412
A 3 3124
A 4 4231
A 5 4231
A 6 4132
A 7 2413
A 8 4132
A 9 4321
A 10 3412
A 11 3412
A 12 4231
Table 4. One-to-many matching between stewards and chief stewards.
Table 4. One-to-many matching between stewards and chief stewards.
Matching Scheme Between Stewards and Chief StewardsRunning TimeObjective Function
u ˜ = B 1 , A 5 , A 12 , A 2 , B 2 , A 3 , A 6 , A 8 , B 3 , A 4 , A 10 , A 11 , B 4 , A 1 , A 7 , A 9 0.2094431.5
Table 5. Simulation time and results under different problem scales.
Table 5. Simulation time and results under different problem scales.
Solution StrategyNumber of Chief StewardsThe Average Runtime Running Time (s)The Average Objective Function
Gurobi201.5270.7
Gurobi4015.0733.0
Gurobi6072.41366.0
Gurobi80335.42080.0
Table 6. Comparison of Problem Computation and Results for Different Scales and Solution Strategies.
Table 6. Comparison of Problem Computation and Results for Different Scales and Solution Strategies.
Number of Chief StewardsSolving StrategyThe Average Runtime Running Time (s)The Average Objective FunctionSolving StrategyThe Average Runtime Running Time (s)The Average Objective Function
2Gurobi0.0310.0GA1.810.0
4Gurobi0.1130.5GA3.035.5
8Gurobi0.1467.5GA7.8102.5
16Gurobi0.70178.0GA32.0333.1
32Gurobi9.80566.0GA205.01188.6
64Gurobi95.01476.0GA389.04472.4
Table 7. The complete preference order of the chief stewards to stewards.
Table 7. The complete preference order of the chief stewards to stewards.
A 1 A 2 A 3 A 268 A 269 A 270
B 1 19821621 72145258
B 2 20621524 254167160
B 3 4726640 94155131
B 89 248105151 21824248
B 90 23622661 21920221
Table 8. The complete preference order of the stewards to chief stewards.
Table 8. The complete preference order of the stewards to chief stewards.
B 1 B 2 B 3 B 88 B 89 B 90
A 1 447233 611243
A 2 174031 222816
A 3 535867 405550
A 269 551549 827816
A 270 23213 187119
Table 9. Simulation time and results under different problem scales.
Table 9. Simulation time and results under different problem scales.
Number of Chief Stewards Crew Matching SchemeRunning Time(s)Objective Function
90 u ˜ = B 1 , A 66 , A 125 , A 238 , B 2 , A 248 , A 75 , A 134 B 89 , A 95 , A 154 , A 176 , B 90 , A 14 , A 74 , A 254 387.822,111.5
120 u ˜ = B 1 , A 66 , A 125 , A 238 , B 2 , A 248 , A 75 , A 134 B 89 , A 95 , A 154 , A 176 , B 90 , A 14 , A 74 , A 254 664.739,868.5
150 u ˜ = B 1 , A 66 , A 125 , A 238 , B 2 , A 248 , A 75 , A 134 B 89 , A 95 , A 154 , A 176 , B 90 , A 14 , A 74 , A 254 1322.262,912.0
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, W.; Li, Y.; Xue, R.; Jiang, Y.; Li, Y. Bilateral Matching Decision Model and Calculation of High-Speed Railway Train Crew Members. Appl. Sci. 2024, 14, 11106. https://doi.org/10.3390/app142311106

AMA Style

Li W, Li Y, Xue R, Jiang Y, Li Y. Bilateral Matching Decision Model and Calculation of High-Speed Railway Train Crew Members. Applied Sciences. 2024; 14(23):11106. https://doi.org/10.3390/app142311106

Chicago/Turabian Style

Li, Wen, Yinzhen Li, Rui Xue, Yuxing Jiang, and Yu Li. 2024. "Bilateral Matching Decision Model and Calculation of High-Speed Railway Train Crew Members" Applied Sciences 14, no. 23: 11106. https://doi.org/10.3390/app142311106

APA Style

Li, W., Li, Y., Xue, R., Jiang, Y., & Li, Y. (2024). Bilateral Matching Decision Model and Calculation of High-Speed Railway Train Crew Members. Applied Sciences, 14(23), 11106. https://doi.org/10.3390/app142311106

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop