Next Article in Journal
PDR-STGCN: An Enhanced STGCN with Multi-Scale Periodic Fusion and a Dynamic Relational Graph for Traffic Forecasting
Previous Article in Journal
Integrating Complexity and Risk Analysis for Selection of Management Approaches in Complex Projects: Application to UN Peacekeeping Missions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Three-Sided Fuzzy Stable Matching Problem Based on Combination Preference

1
School of Management, Shenyang University of Technology, Shenyang 110870, China
2
School of Science, Shenyang University of Technology, Shenyang 110870, China
*
Author to whom correspondence should be addressed.
Systems 2026, 14(1), 101; https://doi.org/10.3390/systems14010101
Submission received: 19 December 2025 / Revised: 15 January 2026 / Accepted: 15 January 2026 / Published: 17 January 2026
(This article belongs to the Section Systems Theory and Methodology)

Abstract

Previous studies, constrained by the overly rigid stability requirements, often fail to adapt to complex systems and struggle to identify stable outcomes that align with the practical context of multi-agent resource allocation. To address the three-sided matching problem in complex socio-technical and business management systems, this paper proposes a fuzzy stable matching method for three-sided agents under a framework of combinatorial preference relations, integrating network and decision theory. First, we construct a membership function to measure the degree of preference satisfaction between elements of different agents, and then define the concept of fuzzy stability. By incorporating preference satisfaction, we introduce the notion of fuzzy blocking strength and derive the generation conditions for blocking triples and fuzzy stability under the fuzzy stable criterion. Furthermore, we abstract the three-sided matching problem with combined preference relations into a shortest path problem. Second, we prove the equivalence between the shortest path solution and the stable matching outcome. We adopt Dijkstra’s algorithm for problem-solving and derive the time complexity of the algorithm under the pruning strategy. Finally, we apply the proposed model and algorithm to a case study of project assignment in software companies, thereby verifying the feasibility and effectiveness of this three-sided matching method. Compared with existing approaches, the fuzzy stable matching method developed in this study demonstrates distinct advantages in handling preference uncertainty and system complexity. It provides a more universal theoretical tool and computational approach for solving flexible resource allocation problems prevalent in real-world scenarios.

1. Introduction

With the increasingly complex demands for multilateral resource allocation in complex systems such as healthcare systems, educational management systems, and labor market systems—key areas at the intersection of socio-technical and business management systems—the problem of three-sided stable matching plays a pivotal role in systemic optimization and decision-making [1,2]. For instance, in the matching of resident physicians, doctors not only need to weigh the reputation of the hospital but also assess the development prospects of specific departments. In educational enrollment, the matching of students, supervisors, and research projects involves reconciling multiple factors such as academic directions and resource adaptation. In the labor market, the interaction among job seekers, employers, and positions also involves a preference-driven dynamic. At this point, the traditional two-sided matching theory falls short in such scenarios because it cannot describe the combination preference dependency relationship of the three participants [3]. There is an urgent need for more refined modeling and solution methods.
The consideration of combinatorial preference [4] makes the three-sided matching problem more challenging. In real-world scenarios, agents’ choices are often based on a holistic evaluation of attribute combinations rather than independent ranking. For example, doctors may develop a nonlinear preference for the “hospital-department” combination rather than comparing hospitals or departments alone. When students choose a supervisor, they may take into account both the supervisor’s research direction and project funding situation at the same time. This combinatorial dependency relationship leads to an exponential growth of the preference space, which requires a redefinition of core concepts such as the criteria for blocking triples and stability conditions in traditional stable matching theory. This study proposes fuzzy stability. By quantifying the satisfaction degree of the subject with the matching through the membership function, the classic “non-blocking pair” stability condition is extended to “acceptable blocking intensity”, thereby defining fuzzy stable matching—that is, the matching state where the “deviation intention” of all potential blocking pairs does not exceed the system’s tolerance threshold. This paradigm shift has led the matching model to shift from pursuing absolute stability to seeking flexible, satisfaction-driven stability, laying a theoretical foundation for dealing with complex matching problems in the real-world, where information is incomplete and preference expressions are ambiguous.
Existing studies often rely on heuristic algorithms to solve large-scale three-sided matching problems in complex systems, but they present significant limitations for systemic optimization: on the one hand, heuristic methods rely on random search strategies, which can produce unstable matching outcomes, compromising the reliability of the matching system; on the other hand, they lack strict theoretical guarantees of stability, which may affect the fairness and acceptability of systemic decision-making, which leads to unstable matching results and makes it difficult to ensure repeatability. Furthermore, the stochastic optimization process may fall into a local optimum, especially in high-dimensional combinatorial preference spaces, where convergence efficiency degrades considerably. Therefore, how to improve computational efficiency while ensuring stability has become one of the key challenges in the research of three-sided matching.
To overcome the randomness defect of the existing heuristic algorithms, a deterministic solution method based on graph theory and network optimization is proposed. By transforming the three-sided matching problem into a shortest path problem under multiple constraints and using the deterministic optimization technique of Dijkstra’s algorithm, the uniqueness and repeatability of the matching results are guaranteed. This framework needs to address the problem of high-dimensional state space caused by combinatorial preferences and design an efficient graph structure representation method to reduce computational complexity. Aiming at the rigid limitations of preference expression in traditional stable matching, the theory of fuzzy mathematics is introduced to describe the satisfaction of the matching subject with the matching result. By defining the fuzzy membership function to quantify the compatibility degree of the three-sided matching and constructing the fuzzy blocking triplet determination condition, more practical, flexible matching can be achieved in an uncertain environment. Combined with the multi-objective optimization method, a dynamic trade-off between matching quality and stability can be realized.
Based on the three-sided stable matching problem of combined preference, this paper aims to propose a new matching method that takes into account both computational efficiency and stability. Specific contributions include (1) rigid stability constraints for complex matching systems, where the membership function is utilized to provide the fuzzy blocking strength and fuzzy stability conditions under the formal definition; (2) transform the combined preference into the shortest path problem in graph theory, and construct a fuzzy stable matching model under combined preference in combination with fuzzy satisfaction; and (3) design efficient algorithms to solve stable matching, analyze their computational complexity, feasibility and effectiveness, and provide scalable matching methods for traditional matching problems.
The remaining parts of this study are arranged as follows: The second part conducts a literature review of the existing related work in this study. The third part formally describes the three-sided stable matching problem under combined preference in combination with graph theory, presents the relevant concepts and theories of fuzzy stable matching, and constructs the three-sided stable matching model under combined preference. The fourth part presents the problem-solving method in combination with Dijkstra’s algorithm. The fifth part assesses the feasibility and effectiveness of the method in combination with specific calculation examples. The sixth part summarizes the full text.

2. Related Work

Gale and Shapley proposed the theory of two-sided stable matching in 1962 [5], and constructed the basic framework of stable matching through the deferred acceptance algorithm, proving the existence of stable solutions. However, when extended to three-sided matching, the difficulty of the problem increases significantly. The three-sided stable matching problem was first formally posed by Knuth [4] in 1976. He first raised the question of whether the two-sided stable matching problem could be extended to the three-sided case—that is, the three-sided stable matching problem. Regarding the stability issue of three-sided matching, many scholars have conducted relevant discussions. Yang and Zhao [6] constructed a mathematical model based on maximum cardinality and stable matching, considering the psychological characteristics of incomplete acceptance and limited compromise of the subject, and proposed a search optimization three-sided stable matching algorithm under limited compromise conditions. Yang and Zhao [7] proposed a matching algorithm based on the preference order threshold constraint condition, provided the relevant definitions of three-sided unidirectional non-cyclic matching and its stability, and established a mathematical model that meets the system stability requirements in the one-to-one case. Cseh et al. [8] demonstrated that the five two-sided matching models still maintained stability after being converted to three-sided matching models. Existing studies have provided a theoretical basis and methodological support for solving the three-sided matching problem in reality. However, most of these studies are limited to matching problems with cyclic preferences, which also restricts their application and promotion by the preference relationship between the subjects. Teng et al. [9] hold that the three-sided stable matching problem should meet three conditions: Firstly, the matching subject should have three sides. Secondly, any one of the three parties has a certain evaluation of the other two. Finally, all three sides of the subject should be rational utility maximizers. Guo et al. [10] formulated the selection process among the three parties involved in emergency rescue as a three-sided matching problem, constructed a multi-attribute comprehensive preference score matrix, and established a three-sided matching satisfactory and stable model under the background of the initial stage of emergency rescue with the goals of system stability and maximizing total preference utility. So far, whether stable results of three-sided matching problems under various preference assumptions exist remains an indispensable topic of discussion for subsequent scholars.
Knuth [4] first proposed the concept of combinatorial preference in his research, arguing that if each subject has a certain preference for other subjects in a paired manner, then this form of preference relationship structure is considered to have the characteristics of combinatorial preference. In the case of combined preference, if the preference of the first subject within the binary group is prioritized for sorting, and only when there is no difference in the preferences of the first subject, and then the preference of the second subject within the group is used for sorting, such preferences are called dictionary-based preferences [11]. For the three-sided combinatorial preference structure, Alkan [12] and Ng and Hirschberg [13] independently established that whether there exists a stable matching result is an NP-hard problem. Danilov [14] provided sufficient conditions for the existence of a stable matching in multilateral systems. Mordig et al. [11] proved that stable three-sided matching always exists for dictionary-based preference structures and proposed an innovative solution method based on educational background. They modified the new algorithm proposed in this study by applying the two-sided Gale–Shapley algorithm to the many-to-many two-sided market, and finally applied it to the three-sided matching problem. Feng et al. [15] separated the dictionary-based preferences at the beginning and the end, and solved the regained preferences using the Top Trading Cycles (TTC) algorithm, obtaining more reasonable results.
However, all the above-mentioned studies are based on the assumption that preference relations are completely known and precisely comparable, making it difficult to deal with the widespread uncertainty and fuzziness in real matching. For this reason, scholars have begun to introduce the theory of fuzzy sets into matching problems for research. Preference quantification studies the choice tendencies of individuals or groups. Traditional methods are based on classical set theory, while fuzzy set theory [16] better handles fuzzy preferences in reality through membership functions. In recent years, the application of fuzzy sets in preference modeling has been continuously deepened. Shivani et al. [17] utilized nonlinear membership functions to characterize decision preferences in waste management; Buyukozkan et al. [18] combined spherical fuzzy sets to solve the problem of renewable energy selection; Pinki et al. [19] fused fuzzy multi-objective programming to optimize transportation systems; Chai et al. [20] adopted interval type-2 fuzzy sets to enhance the accuracy of selecting battery suppliers for electric vehicles. Chang et al. [21] utilize the Takagi–Sugeno (T-S) fuzzy model technique for piecewise linear weighting to represent nonlinear models, which are used to represent vehicle-mounted network systems. Liu et al. [22] constructed a secure cascaded output feedback control framework based on the T-S fuzzy model for nonlinear networked cascade control systems under spoofing attacks. These studies have expanded the application of fuzzy set theory in matching problems, providing effective support for complex decision-making and system optimization.
In recent years, machine learning and heuristic algorithms have been introduced into matching modeling, such as learning implicit preferences through neural networks [23], designing a trainable neural network to address the challenges brought by severe outliers in matching problems [24], and utilizing the mechanism of deep state learning networks to transform matching states into potential canonical forms [25]. The differential evolution algorithm [26], the ASCIID swarm algorithm [27], and other methods are introduced to solve the matching problem. In addition, multi-criteria decision analysis methods, such as TOPSIS and AHP, are also used to quantify multi-dimensional preferences [28]. The shortest path algorithm is also widely applied in matching problems, especially in graph-based matching models, where the matching problem can be transformed into a network flow problem, and the shortest path is used to optimize the matching cost or benefit [29]. In two-sided matching, the shortest path can be used to calculate the weight sum of the optimal matching. For instance, Gale and Shapley’s stable matching algorithms can optimize matching stability by constructing preference graphs and finding the shortest path. In task allocation problems, the shortest path algorithm can efficiently solve the minimum cost matching [30]. Gao et al. [31] described stereo matching as an energy minimization problem that can be solved by searching for the shortest path in a directed graph. Their method outperforms dynamic programming and graph cutting in both accuracy and speed.
There are still several limitations in the existing research on matching problems: (1) Traditional matching models overly rely on the rigid stability assumption. This strict constraint condition is difficult to adapt to the incomplete information and dynamically changing environment that are widespread in real scenarios, resulting in insufficient robustness of the algorithm. (2) The three-sided matching problem under combinatorial preference involves the pairing preference of one matching agent for the other two matching agents, and is limited by fuzzy and uncertain evaluations. However, existing research lacks a modeling framework that integrates combinatorial preference and fuzzy quantization. (3) Although mainstream heuristic algorithms can enhance computational efficiency, they have problems such as large fluctuations in solution quality and uncontrollable convergence, which seriously affect the reliability of the matching system. Therefore, starting from the above deficiencies, this study proposes a solution method using fuzzy quantization under combined preference, and designs a matching method in combination with the relevant knowledge of graphs to enhance the reliability and practicability of the matching system.

3. Problem Modeling

3.1. Formal Description

The three-sided matching problem can be formally described as follows: there are three disjoint finite principal sets and their elements A = a 1 , a 2 , , a m , B = b 1 , b 2 , , b n , C = c 1 , c 2 , , c p (mnp are all positive integers), whose triples are denoted as ( a i , b j , c k ) A × B × C = Ω ( i = 1 , , m , j = 1 , , n , k = 1 , , p ). The matching M is a subset of triples, and any two triples ( a i , b j , c k ) , ( a i , b j , c k ) M satisfied i i , j j , k k (that is, each subject appears in at most one triplet).
If the subject preferences are all given in the form of subject pairs formed by one subject to the other two, then such preferences are called combinatorial preferences [4] (as shown in Figure 1). That is, element ai in subject A has a certain preference for the tuple b j , c k in subject B × C , element bj in subject B has a certain preference for the tuple a i , c k in subject A × C , and element ck in subject C has a certain preference for the tuple a i , b j in subject A × B . In the case of combined preference, if the preference of the first subject within the binary group is prioritized for sorting, and only when there is no difference in the preferences of the first subject, and then the preference of the second subject within the group is used for sorting, such preferences are called dictionary-based preferences.

3.2. Stability Conditions

Matching M is stable if and only if there are no-blocking triples.
Definition 1 [4].
For a three-sided match M with a combinatorial preference structure, if there exists a matching group  a i , b j , c k Ω M   such that the subjects  a i , b j , c k  in the group, respectively, satisfy the following conditions:
(1)
For a i , satisfy b j , c k a i M A B × C a i ;
(2)
For b j , satisfy a i , c k b j M B A × C b j ;
(3)
For c k , satisfy a i , b j c k M C A × B c k ;
Then a i , b j , c k is called the blocking group of M.
Theorem 1. 
When the preference structure of a three-sided matching problem satisfies the combinatorial preference, if the following constraints are simultaneously satisfied:
x a i b j × c k + b j × c k : M a i b j × c k > M a i b j × c k x a i b j × c k 1 y b j a i × c k + a i × c k : M b j a i × c k > M b j a i × c k y b j a i × c k 1 z c k a i × b j + a i × b j : M c k a i × b j > M c k a i × b j z c k a i × b j 1
Then a stable match can be generated. Among them, match M is a matrix composed of 0 and 1, where xy, and z, respectively, represent mismatch or match, taking values of 0 or 1. a i b j × c k denotes that the preferred direction of a i is b j × c k .
Proof. 
Sufficiency proof.
Suppose the constraint conditions hold, but the match M is unstable—that is, there exists a blocking triplet ( a i , b j , c k ) such that
a i prefers ( b j , c k ) over the current match, that is x a i b j × c k = 0 , and the summation term is 0 (there is no better match). This contradicts the first constraint x a i b j × c k + b j × c k : M a i b j × c k > M a i b j × c k x a i b j × c k 1 .
The proof of y b j a i × c k + a i × c k : M b j a i × c k > M b j a i × c k y b j a i × c k 1 and z c k a i × b j + a i × b j : M c k a i × b j > M c k a i × b j z c k a i × b j 1 is the same.
Therefore, the assumption does not hold, and the match M is stable.□
Proof of necessity. 
Let M be stable, but a certain constraint does not hold (for example, for ai):
There exists ( b j , c k ) such that x a i b j × c k + b j × c k : M a i b j × c k > M a i b j × c k x a i b j × c k = 0 . That is, a i does not match ( b j , c k ) and does not match any better combination. Therefore, a i prefers ( b j , c k ) rather than the current match.
If bj and ck are not matched to a better combination either, then ( a i , b j , c k ) is a blocking triplet, which contradicts stability. Therefore, the constraint must hold true. □
Meanwhile, in this study, a fuzzy stability threshold is introduced into the trilateral matching problem under combinatorial preference, aiming to quantify the satisfaction degree of the matching scheme through the membership degree of fuzzy mathematics, thereby addressing the issue where traditional strict stability may be too rigid or difficult to achieve.
In the subject set A = a 1 , a 2 , , a m , the subject ai generates a preference order for the elements in B = b 1 , b 2 , , b n according to the arrangement rule from the most preferred to the least preferred, and assigns the preference order value 0 , , n 1 in sequence to represent the grade of the subject elements in B in subject ais preference order, denoted by r a n k a i B . The preference order processing method for other preference directions is the same.
Let r a n k a i b j represent the grade of the subject bj in the subject ai preference order. Then, the satisfaction of subject ai with the matching triplet a i , b j , c k under the combined preference can be expressed as the degree to which ( b j , c k ) approaches the highest preference level in the ai preference order—that is, the membership degree μ a i ( b j , c k ) :
μ a i ( b j , c k ) = 1 γ 1 r a n k a i b j + γ 2 r a n k a i c k γ 1 max r a n k a i B + γ 2 max r a n k a i C
where γ 1 and γ 2 are the primary priority weights. When γ 1 = γ 2 , the triple performance is not a dictionary type combination preference, on the other hand, the preference for dictionary type combination. It is not difficult to see that μ a i ( b j , c k ) [ 0 , 1 ] , for matching triples a i , b j , c k , μ b j ( a i , c k ) [ 0 , 1 ] represents bj’s satisfaction with the combination a i , c k , and μ c k ( a i , b j ) [ 0 , 1 ] represents ck’s satisfaction with the combination a i , b j . The closer the membership degree is to 0, the lower the preference intensity is; that is, the less satisfied the matching subject is with the current matching (among which, the default membership degree of the unmatched element is 0—that is, the most dissatisfied).
Traditional weak stability requires complete non-blocking, but in actual situations, the matching subject also allows for a certain degree of non-satisfaction. Now, a fuzzy stability is constructed to represent this degree. Define the fuzzy blocking strength β   ( a i , b j , c k ) of triple ( a i , b j , c k ) for matching M as
β ( a i , b j , c k ) ( a i , b j , c k ) M = min m a x ( 0 , μ a i ( b j , c k ) μ a i ( M ( a i ) ) ) , m a x ( 0 , μ b j ( a i , c k ) μ b j ( M ( b j ) ) ) , m a x ( 0 , μ c k ( a i , b j ) μ c k ( M ( c k ) ) )
where M (ai) represents the current matching combination of ai in M.
Definition 2. 
Sets a threshold  τ 0 , 1 stating that the match M is  τ -fuzzily stable if
  ( a i , b j , c k ) M , β ( a i , b j , c k ) τ
Meanwhile
τ < m i n ( a i , b j , c k ) M ( μ a i ( M ( a i ) ) , μ b j ( M ( b j ) ) , μ c k ( M ( c k ) ) ) .
where when τ = 0 , it degenerates into the traditional weak stability (completely non-blocking triad); when τ > 0 , slight blocking is allowed, but the intensity does not exceed τ .
This next section focuses on the core connotation of the “fuzzy” concept—that is, allowing a slight disruption not exceeding the threshold τ, rather than pursuing a rigid stability with absolute no-blocking. The larger the τ value is, the higher the tolerance for fuzziness becomes, and the stronger the flexibility of matching becomes; the smaller the τ value is, the lower the tolerance for fuzziness becomes, and the more similar the matching is to the traditional rigid stability. The following clarifies the linguistic definition of “fuzzy” and clearly distinguishes it from “no-blocking”:
τ 0.15 , 0.25 , Strong   fuzzy   tolerance 0.08 , 0.15 , Moderate   fuzzy   tolerance 0 , 0.08 , Weak   fuzzy   tolerance 0 , No   fuzzy   tolerance
Here are examples to illustrate the fuzzy blocking strength and τ -fuzzy stability.
Example 1. 
Suppose there is a three-sided matching problem, where  A = { a } , B = { b 1 , b 2 } , C = { c 1 , c 2 } . The preference order of subject a is as follows:
  • A to B: b 2 b 1 , that is r a n k a B ( b 1 ) = 0 , r a n k a B ( b 2 ) = 1 ;
  • a to C: c 2 c 1 , that is r a n k a C ( c 1 ) = 0 , r a n k a C ( c 2 ) = 1 .
Set weights γ 1 = γ 2 = 0.5 , then for a, the membership degree of the combination b j , c k is
μ a b j , c k = 1 0.5 × r a n k a B b j + 0.5 × r a n k a C c k 0.5 × 1 + 0.5 × 1 = 1 0.5 × r a n k a B b j + 0.5 × r a n k a C c k
The calculation shows
μ a b 1 , c 1 = 1 0.5 × 0 + 0.5 × 0 = 1 μ a b 1 , c 2 = 1 0.5 × 0 + 0.5 × 1 = 0.5 μ a b 2 , c 1 = 1 0.5 × 1 + 0.5 × 0 = 0.5 μ a b 2 , c 2 = 1 0.5 × 1 + 0.5 × 1 = 0
Similarly, calculate the membership degree of each element in B and C, where the preference order of each element is c 2 b 1 c 1 , c 2 b 2 c 1 , b 2 c 1 b 1 ,   b 2 c 2 b 1 . Suppose the current match is M = a , b 2 , c 2 , then for ab2c2, the current matching membership degrees are all 0.
Now consider the fuzzy blocking strength of the unmatched triplet a , b 1 , c 1 . This match has a membership degree of 1 for ab1c1. Now calculate the fuzzy blocking strength β   ( a , b 1 , c 1 ) of the triplet a , b 1 , c 1 :
β ( a , b 1 , c 1 ) = min m a x ( 0 , μ a ( b 1 , c 1 ) μ a ( M ( a ) ) ) , m a x ( 0 , μ b 1 ( a , c 1 ) μ b 1 ( M ( b 1 ) ) ) , m a x ( 0 , μ c 1 ( a , b 1 ) μ c 1 ( M ( c 1 ) ) ) = min m a x ( 0 , 1 0 ) , m a x ( 0 , 1 0 ) , m a x ( 0 , 1 0 ) = 1
Now, according to the range of values for τ as defined in Definition 2, it can be known that regardless of how τ is taken, there is always β   ( a , b 1 , c 1 ) > τ . Therefore, M = a , b 2 , c 2 does not constitute τ-fuzzy stability.

3.3. Graph-Based Modeling

This section, in combination with the relevant knowledge of graphs, models the three-sided matching process with a combined preference structure as a graph path search problem, as shown below. The matching ends after all the elements in either subject are matched, so there are min m , n , p columns in Figure 2S is the starting point, T is the end point, and Mi is the matching triple.
A directed graph G is an ordered tuple (NE), denoted as G = N , E , where N = n 1 , , n n ( n 1 ) is the set of points of G, and each point represents a matching triplet ( a i , b j , c k ) , E = e p q is the edge set of Gepq is an ordered tuple n p , n q , if e p q = n p , n q , then it is said that epq connects np and nq, and points np and nq are called the endpoints of epq. In the search process of the graph, the matching triples ( a i , b j , c k ) and ( a i , b j , c k ) represented by any two points on each feasible path, satisfied i i , j j , k k , ensure the uniqueness of each subject match. The weight of the edge w e p q represents the preference deviation degree of the point nq in e p q = n p , n q . Thus, the graph model of three-sided τ -fuzzy stable matching problem can be obtained as follows:
min e p q p a t h w e p q x p q s . t . e o u t ( p ) x p q e i n ( p ) x p q = 1 , p = s , 1 , p = t , 0 , Others . x p q = 1 , If   edge   e p q   is   selected   in   the   optimal   solution , 0 , Others . β ( a i , b j , c k ) ( a i , b j , c k ) p a t h τ .
where the weight of the edge w e p q e p q p a t h = 1 1 3 μ a i + μ b j + μ c k . The s and t, respectively, represent the starting point and the ending point in the shortest path diagram. The threshold of the fuzzy blocking intensity τ < m i n ( a i , b j , c k ) p a t h ( μ a i ( M ( a i ) ) , μ b j ( M ( b j ) ) , μ c k ( M ( c k ) ) ) out (p) represents the set of edges leaving point p, and in (p) represents the set of edges entering point p. When τ = 0 , the optimization model for the three-sided weakly stable matching problem can be obtained:
min e p q p a t h w e p q x p q s . t . e o u t ( p ) x p q e i n ( p ) x p q = 1 , p = s , 1 , p = t , 0 , O t h e r s . x a i b j × c k + b j × c k : M a i b j × c k > M a i b j × c k x a i b j × c k 1 , y b j a i × c k + a i × c k : M b j a i × c k > M b j a i × c k y b j a i × c k 1 , z c k a i × b j + a i × b j : M c k a i × b j > M c k a i × b j z c k a i × b j 1 , x p q = 1 , If   edge   e p q   is   selected   in   the   optimal   solution , 0 , O t h e r s .
This section has established a complete mathematical model of trilateral fuzzy stable matching under combined preference through formal description, stability condition definition, and graph model construction, providing a theoretical basis for subsequent algorithm design and solution.

4. Theory and Algorithm

4.1. Theoretical Analysis

Theorem 2 (Relationship between the Shortest Path Solution and the Stable Matching Result).
Let the directed graph G (V, E) of the three-sided matching problem be given, where the vertices v V  represent matching triples and the edges  e v v E  represent matching operations under the constraint conditions from point v to v’If the weight of the shortest path from the initial state vS to the final state vM is bounded, then, according to the matching M non-blocking triplet corresponding to the shortest path obtained in Model (7), stability is satisfied.
Proof. 
Suppose there exists a blocking triplet a i , b j , c k M , such that μ a i b j , c k > μ a i M a i (the same applies to the other two preferred directions).
If a i , b j , c k is added to the matching and the relevant triples in the original matching are replaced, a new path P′ can be obtained, which has a lower total weight and contradicts the shortest path of the original one. Therefore, the matching M corresponding to the shortest path must be a non-blocking triplet.□
Definition 3 (Kernel). 
The kernel of a three-sided stable matching problem is the set of all stable matches.
Theorem 3 (Sufficient Conditions for Nuclear Non-emptiness). 
Let the combination preference of the tripartite subjects satisfy the following conditions:
Transitivity
For any subject a i A , if b 1 , c 1 a i b 2 , c 2 and b 2 , c 2 a i b 3 , c 3 , then b 1 , c 1 a i b 3 , c 3 (the preference relation for subjects B and C directions under similar conditions also holds).
Non-conflict
The preference conflict of the sum of any two triples a i , b j , c k and a p , b q , c r can be eliminated through a finite number of adjustments.
Then the kernel of the three-sided matching problem is non-empty.
Proof. 
Consider the matching state as the vertices of the graph, the state transition as the edges, and the non-empty kernel as equivalent to the existence of an endpoint in the graph. Transitivity ensures that the path is acyclic and can guide the partial order direction of the state graph, enabling the algorithm to converge in order. Non-conflict ensures that the path terminates at the endpoint.□
Theorem 4 (Nuclear Existence under Fuzzy Preference). 
If the membership function is fuzzy,  μ a i b j , c k  satisfied the following:
Continuity: Continuous in the space of B × C.
Uniqueness: There exists a unique combination of the maximum membership degree.
Then there exists a τ -fuzzy stable match M such that for all unmatched triples a i , b j , c k , there is
m i n ( μ a i ( b j , c k ) , μ b j ( a i , c k ) , μ c k ( a i , b j ) ) τ
Proof. 
Let Ω be the set of all possible fuzzy matches, where each match M satisfies that for each agent a i A , and there exists a matching triplet a i , b j , c k such that μ a i b j , c k τ (similar conditions also hold for the preference relation in the directions of agent B and C). Ω has the following properties:
Non-empty: At least a match exists M .
Closed interval: Due to the bounded degree of membership ( μ 0 , 1 ). Therefore, Ω is a closed interval and bounded.
For the current match M, define Φ M as the new match updated by the following rules:
Find all the triples a i , b j , c k that satisfy;
Replace each blocking triple with the conflicting triples in the current match;
Keep the non-blocking part unchanged.
According to Definition 2, it can be known that the matching Φ M ultimately generated by the above calculation process does not have blocking triples, and the membership function is continuous, the maximum membership combination is unique, and the matching process will not fall into an infinite loop. The algorithm eventually converges to a stable match M; that is, at this time, M is τ -fuzzily stable.□

4.2. Algorithm Process

According to the three-sided matching diagram of the shortest path shown in Figure 2, it can be known that the solution algorithm needs to solve the non-negative-weight graph under the single-source shortest path and can ensure that the solution result is the optimal solution. Therefore, taking the Dijkstra algorithm as the core framework and combining the matching unique feature design pruning strategy, an improved shortest path algorithm is proposed.
Input: Three-sided subject sets ABC and their respective combined preferences (or fuzzy preference relationships).
Construction diagram:
Vertex set: All possible matching states (including unmatched states and matched states).
Edge set: Matching operations that satisfy constraint conditions.
Weight allocation: Calculate the preference deviation degree of each edge.
Solve the shortest path: Use Dijkstra’s algorithm.
Output: The matching scheme corresponding to the shortest path.

4.3. Algorithm Complexity

Theorem 5. 
If the sets of three subjects are, respectively, A = a 1 , a 2 , , a m , B = b 1 , b 2 , , b n , C = c 1 , c 2 , , c p (mnand p are all positive integers), then the computational complexity of the algorithm is O (mnp2).
Proof. 
As shown in Figure 2, starting from point S, each time a node is passed, mnp possible paths need to be traversed. However, due to the limitation of the matching condition, that is, the same element can only appear once on the same path, and each time a node is passed, the feasible choice of one element will be reduced in the next node. The above description can be formalized as follows: Starting from point S, the first optional path is mnp, the second optional path is (m − 1) (n − 1) (p − 1), and so on. Let min ( m , n , p ) = p , then until all elements in one of the subjects ABC have completed matching, the number of algorithm calculations is
k = 0 p 1 ( m k ) ( n k ) ( p k ) .
because
( m k ) ( n k ) ( p k ) = m n p k ( m n + n p + p m ) + k 2 ( m + n + p ) k 3
then
k = 0 p 1 ( m k ) ( n k ) ( p k ) = k = 0 p 1 m n p k = 0 p 1 k ( m n + n p + p m ) + k = 0 p 1 k 2 ( m + n + p ) k = 0 p 1 k 3
and because
k = 0 p 1 k 0 = p
k = 0 p 1 k = p ( p 1 ) 2
k = 0 p 1 k 2 = ( p 1 ) p ( 2 p 1 ) 6
k = 0 p 1 k 3 = p p 1 2 2
Therefore, by substituting the original formula, we can obtain
k = 0 p 1 ( m k ) ( n k ) ( p k ) = m n p 2 ( m n + n p + p m ) ( p 2 p ) 2 + ( m + n + p ) ( 2 p 3 3 p 2 + p ) 6 ( p 2 p ) 2 4
Now, based on the growth trend of the algorithm with the input scale mnp, the highest order mnp2 is retained, and the time complexity of the algorithm can be obtained as O (mnp2).□
As shown in Figure 2, the three-sided matching problem involves mnp2 nodes. Now, the time complexity of some algorithms of the same type is compared, as shown in Table 1.
This section not only theoretically proves the rationality of the proposed model and the properties of the solution but also designs a solution algorithm based on Dijkstra and analyzes its complexity, ensuring the rigor and feasibility of the method.

5. Experiment and Analysis

5.1. Example Description

Consider a case where a software development company, denoted as H, initiates five key commercial projects ( C 1 , C 2 , , C 5 ). Due to the long development cycle and high technical complexity of these projects, once each project manager and development engineer is matched with a certain project, they will be fully committed and cannot participate in other projects. Therefore, how to efficiently and fairly complete the three-sided matching of project manager–development engineer–project has become an important task for the company’s human resources department.
This matching involves 15 development engineers ( A 1 , A 2 , , A 15 ) and 12 project managers ( B 1 , B 2 , , B 12 ). Each project manager is responsible for architecture design, code review, and team management, while the development engineers are in charge of specific functional implementation. The core objective of matching is as follows:
Direction alignment: Each project should be completed by a project manager and a development engineer whose expertise and professionalism align with the project’s requirements.
Ability matching: Project managers hope to collaborate with engineers who have solid technical skills and efficient communication. Development engineers tend to join projects at the forefront of technology with great growth potential, or work with project managers who have strong leadership capabilities.
Preference optimization: Each project manager and development engineer has their own preferred projects, and each project also has a preference for capabilities and professional directions. The matching should respect these preferences as much as possible and minimize forced assignments.
Stability: Each project manager and development engineer can only be assigned to one project to avoid resource dispersion. After the matching is completed, there should be no unmatched “project manager-development engineer–project” combination that would satisfy all three parties more; otherwise, the matching would be unstable.
The mutual preference orders among the three agent sets are numerically specified in Table 2, Table 3, Table 4, Table 5, Table 6 and Table 7. A higher numerical value indicates a stronger preference.

5.2. Case Analysis

For the above calculation example, the following analysis is conducted:
Unique match: Each project manager, development engineer, and each project can be included in at most one matched triple, meaning that once matched, it cannot be adjusted.
Development engineer preference: Each development engineer ranks the “project manager + project” combination. For example, A1 may be more inclined towards (B3,C1) rather than (B5,C2).
Project manager preferences: Each project manager ranks the “development engineer + project” combination. For instance, B3 might prefer to collaborate with A7 on C1 rather than A2 on C2.
Project preference: Each project ranks the combination of “project manager + development engineer”. For example, C1 may prefer the collaboration between A7 and B3 rather than that between A2 and B3.
Stability condition: After matching is completed, there are no unmatched combinations A , B , C , such that the following occurs:
Development engineer A prefers B , C rather than the current match;
Project manager B prefers A , C rather than the current match;
Project C is not occupied or leans more towards A , B .
Based on the above analysis, it can be known that the problem in this context at this time can be transformed into a trilateral stable matching problem with combinatorial preferences.
Let γ 1 = γ 2 = 0.5 , τ = 0.2 ; the matching results can be obtained as shown in Table 8:

5.3. Algorithm Effectiveness Analysis

Verification of the matching effect under dictionary-based preference
In actual situations, there exist dictionary-based preferences for matching subjects, such as the following: When development engineers select the project manager–project matching combination, they will give priority to projects that are challenging or more proficient, and then consider the cooperating project managers. At this time, γ 1 , γ 2 in Equation (2) is no longer equal. To ensure that the algorithm can adapt to the changing needs of different matching subjects and avoid the weight parameters not playing a role in the operation, the value is now changed γ 1 , γ 2 for re-matching. The results are as follows in Table 9.
In the three-sided matching problem of development engineer–project manager–project, the adjustment of the weight coefficients γ1 and γ2 will directly affect the final matching result. As γ1 increases, the weights of the subject terms related to γ1 in the numerator and denominator increase, and the results tend to choose the combination that is more in line with the preference of the subject terms related to γ1. As γ2 increases, the weights of the principal terms related to γ2 in the numerator and denominator also increase. The results tend to choose the combination that is more suitable for the principal terms related to γ2. The above experimental results can reflect this changing rule to a certain extent. Therefore, in the actual matching process, the weights can be flexibly adjusted according to the needs of the principal, and a reasonable matching strategy can be formulated for the matching principal.
Robustness testing
Robustness testing aims to verify the stability and reliability of the algorithm in test scenarios that include error data handling, abnormal situation handling, and invalid operations. Table 10 below presents the specific implementation strategies and test results of the systematic testing.
This three-sided matching algorithm performs well in the robustness test, demonstrating good stability and adaptability. The algorithm can effectively handle various types of abnormal inputs, including null values (throwing a clear exception and automatically completing the null value with the minimum preference value of the subject), non-numeric values (the same as the null value handling method), and negative value preferences (the algorithm is applicable to non-negative values), ensuring that the system can still operate stably under extreme conditions. Meanwhile, in the context of resource competition, the algorithm still generates reasonable matching results and can reliably support complex business matching requirements.
Generalization analysis of models and algorithms
To verify the applicability of the three-sided matching logic and algorithm in different scenarios, the following explanations are provided in three areas: manufacturing production scheduling, educational resource allocation, and medical team formation.
  • Case 1: Production line Scheduling for new energy Vehicle Manufacturers in the manufacturing industry
A certain new energy vehicle manufacturer has initiated a project for five brand-new power battery production lines. Each production line requires one production line supervisor and several core technical workers. The production line supervisor is responsible for process design and quality control, while the technical workers are responsible for equipment debugging and standardized operations. Once a match is made, the supervisor and the workers must follow up on the production line throughout the process and are not allowed to provide cross-line support.
Ability matching: Supervisors tend to choose workers with high operational proficiency and low tolerance for errors. Both supervisors and workers are more willing to join production lines with high levels of automation and complete safety guarantees. Meanwhile, workers are more inclined to follow supervisors with flexible management styles. The production line has a preference for capacity targets and requires supervisors and workers with high professional capabilities and judgment.
Stability: Avoid the situation where an unmatched combination of supervisors, workers, and production lines leads to a significant increase in efficiency or satisfaction for either party.
  • Case 2: Resource Allocation of an Educational Group
A certain educational group plans to open new classes in five new campuses. Each class needs to be matched with one head teacher and two subject backbone teachers. The head teacher is responsible for class management and communication between home and school, while key teachers are responsible for curriculum design and teaching implementation. Once personnel are assigned, they must be fixed in the classes of the same campus and are not allowed to substitute teachers across campuses.
Ability matching: Head teachers tend to choose teachers with strong collaboration and good classroom control. Head teachers and teachers are more willing to join campuses with a solid student base and abundant teaching and research resources. Meanwhile, teachers are more inclined to follow head teachers with high communication efficiency. The campus has a preference for an overall improvement in teaching quality and requires class advisors and teachers who meet both the geographical location and teaching ability requirements.
Stability: Avoid significant improvement in students’ academic performance or teacher–student satisfaction caused by an unmatched homeroom teacher–class combination.
  • Case 3: Establishment of a multidisciplinary diagnosis and Treatment Team in a tertiary Hospital
A tertiary hospital has initiated five Multi-Disciplinary Team (MDT) diagnosis and treatment projects for major diseases. Each project requires one leading expert and three core doctors from different departments. The leading expert is responsible for formulating the diagnosis and treatment plan and coordinating among multiple departments, while the core doctor is responsible for specialized diagnosis and treatment. Once the team is formed, it needs to follow up on the patients of this project throughout the process and cannot provide support across projects.
Ability matching: Leading experts tend to choose doctors with rich clinical experience and strong academic collaboration. Both experts and doctors are more willing to join projects with abundant case resources and sufficient research support. Doctors are more inclined to follow leading experts with significant influence in the industry. The project has a preference for diagnosis and treatment models (surgery first/targeted therapy first), and requires experts and doctors who can accurately grasp the diagnosis and treatment rhythm and correctly estimate the complexity of cases.
Stability: Avoid significant improvements in patient treatment outcomes or team diagnosis and treatment efficiency due to an unmatched lead expert–doctor–project combination.
All the above cases involve three-sided matching problems, and the problem structure conforms to the combinatorial preference relationship. The matching goals are all satisfactory and stable matches, which have the same logic as the case in Section 5.1. Therefore, the three-sided matching model and algorithm can be used for a solution, further confirming the generalization of the model and algorithm in different management problems.
Through detailed examples of project allocation in software companies, this section verifies the effectiveness, robustness, and generalization ability of the proposed method in generating stable matching schemes, adapting to different preference structures, and dealing with abnormal inputs.

6. Conclusions

In view of the incompatibility between the rigid stability requirements of traditional three-sided matching and the adaptability of complex systems, this study proposes a three-sided matching method based on fuzzy stability theory. By constructing a rank-weighted membership function (integrating combinatorial preference weights and normalized preference ranks) to quantify the preference satisfaction between agents, we define fuzzy blocking pairs, fuzzy stability conditions, and stability transition rules. We further transform the three-sided matching problem into a shortest path problem, prove the equivalence between the shortest path solution and stable matching outcomes, and improve the efficiency of Dijkstra’s algorithm via a pruning strategy. Verified by practical project allocation cases in software companies, the method not only generates fuzzy stability-compliant matching schemes but also achieves excellent performance in subject satisfaction and computational efficiency.
Theoretically, we establish a fuzzy stability framework for combinatorial preference-based complex three-sided matching systems, and improve matching quality and stability by integrating the shortest path transformation. Practically, the introduced fuzzy blocking strength enhances the flexibility and practicality of matching results, which can be applied to multi-party matching scenarios such as software project team formation, providing effective solutions for person–job matching and resource scheduling in complex decision-making environments.
The core premise of the model is that the subject’s preference is a static value. In actual matching, the subject’s preference may change due to various factors, but the current model is unable to capture such dynamic changes. Future research can focus on designing preference update functions, quantifying dynamic factors such as time dimensions and environmental feedback into preference adjustment coefficients, and embedding them in membership functions to achieve real-time dynamic updates of preferences. Meanwhile, future research will also optimize the algorithm through state compression and phased solution strategies to better meet the requirements of large-scale three-sided stable matching.

Author Contributions

R.F.: Conceptualization of this study, methodology, software. Y.C.: Conceptualization of this study, methodology. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Dataset available on request from the authors.

Acknowledgments

Thanks to all the authors who contributed to this study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Xu, Y.; Zhang, S.S.; Lyu, C.; Liu, J.; Taleb, T.; Norio, S. TRIMP: Three-Sided Stable Matching for Distributed Vehicle Sharing System Using Stackelberg Game. IEEE. Trans. Mob. Comput. 2025, 24, 1132–1148. [Google Scholar] [CrossRef]
  2. Cui, L.; Jia, W.J. Cyclic stable matching for three-sided networking services. Comput. Netw. 2013, 57, 351–363. [Google Scholar] [CrossRef]
  3. Fei, H.; Li, S. A Lightweight Multicriteria Recommendation Mechanism for Enhancing Doctor–Patient Matching Efficiency on Online Consultation Platforms. Systems 2025, 13, 1048. [Google Scholar] [CrossRef]
  4. Knuth, D.E. Mariages Stables; Les Presses de L’Université de Montréal: Montréal, QC, Canada, 1976. [Google Scholar]
  5. Gale, D.; Shapley, L.S. College Admissions and the Stability of Marriage. Am. Math. Mon. 1962, 69, 9–15. [Google Scholar] [CrossRef]
  6. Yang, Y.; Xiaodong, Z. Three-sided stable matching with one-way acyclic preference considering agent’s psychological behavior. Control Decis. 2021, 36, 741–746. [Google Scholar] [CrossRef]
  7. Yang, Y.; Xiaodong, Z. A Three-sided Unidirectional Acyclic Stable Matching with Thresholds of Preference Order. J. Syst. Sci. Math. Sci. 2020, 40, 1420–1431. [Google Scholar]
  8. Cseh, A.; Escamocher, G.; Genç, B.; Quesada, L. A collection of Constraint Programming models for the three-dimensional stable matching problem with cyclic preferences. Constraints 2022, 27, 249–283. [Google Scholar] [CrossRef]
  9. Teng, F.; Shen, M.; Liu, X.; Liu, P. Z-mixture three-sided stable matching in seaborne coal exchange with cooperative partners and heterogeneous relationships among attributes. Expert Syst. Appl. 2024, 244, 122444. [Google Scholar] [CrossRef]
  10. Qian, G.; Yike, Z.; Gang, W. Emergency rescue allocation decision-making based on three-sided matching theory. China Saf. Sci. J. 2024, 34, 222–229. [Google Scholar] [CrossRef]
  11. Mordig, M.; Vecchia, R.D.; Cesa-Bianchi, N.; Scholkopf, B. Multi-Sided Matching Markets with Consistent Preferences and Cooperative Partners. arXiv 2021, arXiv:2102.11834. [Google Scholar]
  12. Alkan, A. Nonexistence of Stable Threesome Matchings. Math. Soc. Sci. 1988, 16, 207–209. [Google Scholar] [CrossRef]
  13. Ng, C.; Hirschberg, D.S. 3-Dimensional Stable Matching Problems. SIAM Discret. Math. 1991, 4, 245–252. [Google Scholar] [CrossRef]
  14. Danilov, V.I. Existence of stable matchings in some three-sided systems. Math. Soc. Sci. 2003, 46, 145–148. [Google Scholar] [CrossRef]
  15. Feng, D.; Klaus, B.; Klijn, F. Characterizing the typewise top-trading-cycles mechanism for multiple-type housing markets. Games Econ. Behav. 2024, 146, 234–254. [Google Scholar] [CrossRef]
  16. Zadeh, L.A. Fuzzy sets. Inf. Control 1965, 8, 338–353. [Google Scholar] [CrossRef]
  17. Shivani; Rani, D.; Ebrahimnejad, A.; Gupta, G. Multi-objective non-linear programming problem with rough interval parameters: An application in municipal solid waste management. Complex Intell. Syst. 2024, 10, 2983–3002. [Google Scholar] [CrossRef]
  18. Büyüközkan, G.; Karabulut, Y.; Göçer, F. Spherical fuzzy sets based integrated DEMATEL, ANP, VIKOR approach and its application for renewable energy selection in Turkey. Appl. Soft. Comput. 2024, 158, 21. [Google Scholar] [CrossRef]
  19. Pinki; Kumar, R.; Vimal, S.; Alghamdi, N.S.; Dhiman, G.; Pasupathi, S.; Sood, A.; Viriyasitavat, W.; Sapsomboon, A.; Kaur, A. Artificial intelligence-enabled smart city management using multi-objective optimization strategies. Expert Syst. 2025, 42, 30. [Google Scholar] [CrossRef]
  20. Chai, N.J.; Chen, Z.Y.; Zhou, W.L.; Lodewijks, G. Sustainable battery supplier selection of battery swapping station using an interval type-2 fuzzy method based on the cumulative prospect theory. J. Clean Prod. 2025, 495, 18. [Google Scholar] [CrossRef]
  21. Chang, X.; Liu, X.; Hou, L.; Qi, J. Quantized Fuzzy Feedback Control for Electric Vehicle Lateral Dynamics. IEEE Trans. Syst. Man Cybern. Syst. 2024, 54, 2331–2341. [Google Scholar] [CrossRef]
  22. Liu, X.-M.; Chang, X.-H.; Hou, L.-W. Attack-Dependent Adaptive Event-Triggered Security Fuzzy Control for Nonlinear Networked Cascade Control Systems Under Deception Attacks. Mathematics 2024, 12, 3385. [Google Scholar] [CrossRef]
  23. Ricci, F.; Rokach, L.; Shapira, B. Recommender Systems Handbook; Springer Publishing Company, Incorporated: Berlin, Germany, 2015. [Google Scholar]
  24. Wang, G.; Chen, Y.F. Two-View Correspondence Learning With Local Consensus Transformer. IEEE Trans. Neural Netw. Learn. Syst. 2025, 36, 11861–11874. [Google Scholar] [CrossRef] [PubMed]
  25. Chen, J.X.; Chen, S.; Chen, X.X.; Yang, Y.; Rao, Y.J. StateNet: Deep State Learning for Robust Feature Matching of Remote Sensing Images. IEEE Trans. Neural Netw. Learn. Syst. 2023, 34, 3284–3298. [Google Scholar] [CrossRef]
  26. Huang, J.T.; Meng, Y.; Dong, Y.; Liu, C.; Zhao, S.N. A two-sided matching-based multi-objective differential evolution algorithm for the slab matching problem in the steel industry. Eng. Optimiz. 2025, 1–34. [Google Scholar] [CrossRef]
  27. Sun, Y.B.; Yue, L.; Liu, Y.; Chen, W.T.; Sun, Z. The Application of the SubChain Salp Swarm Algorithm in the Less-Than-Truckload Freight Matching Problem. Appl. Sci. 2025, 15, 14. [Google Scholar] [CrossRef]
  28. Saaty, R.W. The analytic hierarchy process—What it is and how it is used. Math. Model. 1987, 9, 161–176. [Google Scholar] [CrossRef]
  29. Ahuja, R.K.; Magnanti, T.L.; Orlin, J.B. Network Flows: Theory, Algorithms, and Applications; Prentice-Hall, Inc.: Upper Saddle River, NJ, USA, 1993. [Google Scholar]
  30. Kleinberg, J.; Tardos, V. Algorithm Design; Tsinghua University Press: Beijing, China, 2006. [Google Scholar]
  31. Gao, T.; Wan, Z.; Zhang, Y.; Yu, B.; Zhang, Y.; Liu, S.; Raychowdhury, A. iELAS: An ELAS-Based Energy-Efficient Accelerator for Real-Time Stereo Matching on FPGA Platform. In Proceedings of the 2021 IEEE 3rd International Conference on Artificial Intelligence Circuits and Systems, Washington, DC, USA, 6–9 June 2021. [Google Scholar]
Figure 1. The combination preference among three-sided agents.
Figure 1. The combination preference among three-sided agents.
Systems 14 00101 g001
Figure 2. Schematic diagram of the three-sided matching of the shortest path.
Figure 2. Schematic diagram of the three-sided matching of the shortest path.
Systems 14 00101 g002
Table 1. Comparison of algorithm time complexity.
Table 1. Comparison of algorithm time complexity.
Algorithm NameTime Complexity
Dijkstra algorithm O V 2 O m 2 n 2 p 4
Bellman–Ford O V E O m n p 2 E E represents the number of sides
Floyd–Warshall O V 3 O m 3 n 3 p 6
Simplex method O 2 V O 2 m n p 2
Note: In three-sided matching, the dimension of the state space is determined by the number of three-sided subjects. Theoretically, the number of states is all possible matching combinations, and its theoretical state scale is equivalent to all possible matching combinations, expanding exponentially with the increase in the number of subjects. This has become the core bottleneck restricting the efficiency of the algorithm. The method proposed in this section addresses this issue. For the same matched element (i.e., the same i / j / k ), it only retains the state with the optimal preference deviation and eliminates the inferior states to achieve the purpose of pruning. This mechanism reduces the total number of states to be processed by screening valid states, alleviates the computational pressure brought by the high-dimensional state space, and enhances the feasibility of the algorithm in medium- and large-scale matching scenarios. It is worth noting that, as the core of the algorithm still relies on the traversal idea of Dijkstra’s algorithm, when dealing with ultra-large-scale matching problems (such as the number of three subjects each exceeding several hundred levels), the traversal logic itself may still lead to an increase in time complexity. It is necessary to further break through the performance boundary by combining strategies such as state compression and hierarchical optimization. However, compared with traditional methods, this algorithm achieves the maximization of state redundancy while ensuring the search ability for the optimal solution through pruning strategies, and to a certain extent, balances the solution accuracy and efficiency.
Table 2. Preferences of development engineers for project managers.
Table 2. Preferences of development engineers for project managers.
Number  B1  B2  B3  B4  B5  B6  B7  B8  B9  B10  B11  B12
 A172951101036184
 A241018611520397
 A311507938141026
 A469310271115840
 A581114069510273
 A637102816011459
 A706593102781114
 A810471580936112
 A950831411102769
 A1021160794815310
 A1193411102760185
 A1218264531190107
 A1342986111007351
 A1475110904268113
 A1510734118592061
Table 3. The project preferences of development engineers.
Table 3. The project preferences of development engineers.
Number  C1  C2  C3  C4  C5
 A131402
 A220143
 A343021
 A414230
 A502314
 A621403
 A730142
 A842031
 A913204
 A1004321
 A1120413
 A1231042
 A1343120
 A1412304
 A1504231
Table 4. Project managers’ preference for development engineers.
Table 4. Project managers’ preference for development engineers.
Number  A1  A2  A3  A4  A5  A6  A7  A8  A9  A10  A11  A12  A13  A14  A15
 B183126141105097114132
 B211470132149611251083
 B351011438127114013629
 B429613105114831107124
 B570134129310214581116
 B614641111273982100513
 B711210581342147936011
 B897212011613351448101
 B913508471111210329614
 B1031491060812521713411
 B111011471140813649235
 B1268315141301011126497
Table 5. Project managers’ preferences for the project.
Table 5. Project managers’ preferences for the project.
Number  C1  C2  C3  C4  C5
 B131042
 B224103
 B302431
 B443210
 B510324
 B621043
 B734102
 B803421
 B912340
 B1040213
 B1123104
 B1230412
Table 6. Project preference for development engineers.
Table 6. Project preference for development engineers.
Number  A1  A2  A3  A4  A5  A6  A7  A8  A9  A10  A11  A12  A13  A14  A15
 C183126141105097114132
 C211470132149611251083
 C351011438127114013629
 C429613105114831107124
 C570134129310214581116
Table 7. Project preference for project managers.
Table 7. Project preference for project managers.
Number  B1  B2  B3  B4  B5  B6  B7  B8  B9  B10  B11  B12
 C172951101036184
 C241018611520397
 C311507938141026
 C469310271115840
 C581114069510273
Table 8. The optimal results of trilateral matching for item matching.
Table 8. The optimal results of trilateral matching for item matching.
Matching TriplesSatisfaction of the Three SidesOverall Satisfaction
A 3 , B 5 , C 1 A 3 = 0.773 , B 5 = 0.667 , C 1 = 0.840 0.747
A 4 , B 8 , C 4 A 4 = 0.800 , B 8 = 0.667 , C 4 = 0.880 0.782
A 7 , B 2 , C 2 A 7 = 0.267 , B 2 = 0.889 , C 2 = 0.880 0.679
A 5 , B 1 , C 5 A 5 = 0.667 , B 1 = 0.778 , C 5 = 0.720 0.721
A 9 , B 7 , C 3 A 9 = 0.733 , B 7 = 0.722 , C 3 = 0.680 0.712
Table 9. Optimal matching results under dictionary preference.
Table 9. Optimal matching results under dictionary preference.
Value   of   γ 1 , γ 2 Matching TriplesSatisfaction of the Three SidesOverall Satisfaction
γ 1 = 0.9 , γ 2 = 0.1 A 3 , B 1 , C 1 A 3 = 0.903 , B 1 = 0.777 , C 1 = 0.766 0.815
A 4 , B 8 , C 4 A 4 = 0.893 , B 8 = 0.769 , C 4 = 0.861 0.841
A 11 , B 4 , C 2 A 11 = 0.864 , B 4 = 0.708 , C 2 = 0.774 0.782
A 10 , B 12 , C 5 A 10 = 0.786 , B 12 = 0.700 , C 5 = 0.869 0.785
A 9 , B 7 , C 3 A 9 = 0.883 , B 7 = 0.900 , C 3 = 0.708 0.831
γ 1 = 0.1 , γ 2 = 0.9 A 3 , B 7 , C 1 A 3 = 0.723 , B 7 = 0.540 , C 1 = 0.814 0.693
A 2 , B 6 , C 4 A 2 = 0.787 , B 6 = 0.640 , C 4 = 0.549 0.659
A 10 , B 2 , C 2 A 10 = 0.787 , B 2 = 0.540 , C 2 = 0.717 0.681
A 5 , B 11 , C 5 A 5 = 0.702 , B 11 = 0.740 , C 5 = 0.575 0.672
A 6 , B 12 , C 3 A 6 = 0.745 , B 12 = 0.800 , C 3 = 0.460 0.668
γ 1 = 0.7 , γ 2 = 0.3 A 3 , B 5 , C 1 A 3 = 0.730 , B 5 = 0.764 , C 1 = 0.817 0.770
A 4 , B 8 , C 4 A 4 = 0.854 , B 8 = 0.727 , C 4 = 0.870 0.817
A 11 , B 4 , C 2 A 11 = 0.753 , B 4 = 0.691 , C 2 = 0.748 0.731
A 10 , B 12 , C 5 A 5 = 0.652 , B 1 = 0.855 , C 5 = 0.748 0.751
A 9 , B 7 , C 3 A 9 = 0.820 , B 7 = 0.827 , C 3 = 0.695 0.781
γ 1 = 0.3 , γ 2 = 0.7 A 3 , B 5 , C 1 A 3 = 0.738 , B 5 = 0.514 , C 1 = 0.866 0.706
A 4 , B 8 , C 4 A 4 = 0.721 , B 8 = 0.571 , C 4 = 0.891 0.728
A 9 , B 7 , C 2 A 9 = 0.721 , B 7 = 0.857 , C 2 = 0.361 0.647
A 5 , B 1 , C 5 A 5 = 0.689 , B 1 = 0.657 , C 5 = 0.689 0.678
A 6 , B 12 , C 3 A 6 = 0.738 , B 12 = 0.857 , C 3 = 0.471 0.688
Table 10. Results of algorithm robustness test.
Table 10. Results of algorithm robustness test.
Test TypeTest Case DesignDetection IndexReference Value for Normal ScenariosMeasured Values of Abnormal Scenarios
Null value inputThe preference matrix is either none or an empty list1. Matching completion rate
2. Time-consuming calculation
1.100%
2.1.8 s
1.100%
2.1.82 s
Non-numerical dataThe preference matrix contains strings or Boolean valuesAverage satisfaction0.7280.725
Negative value preferenceThe preference value appears negativeAverage satisfaction0.728--
Shortage of project managersThere are 5 projects but only 3 project managersMatching completion rate100%60%
There is an overstaffing of development engineers15 development engineers are competing for two projectsThe distribution rate of the top two satisfaction levels100%100%
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

Fan, R.; Chen, Y. Three-Sided Fuzzy Stable Matching Problem Based on Combination Preference. Systems 2026, 14, 101. https://doi.org/10.3390/systems14010101

AMA Style

Fan R, Chen Y. Three-Sided Fuzzy Stable Matching Problem Based on Combination Preference. Systems. 2026; 14(1):101. https://doi.org/10.3390/systems14010101

Chicago/Turabian Style

Fan, Ruya, and Yan Chen. 2026. "Three-Sided Fuzzy Stable Matching Problem Based on Combination Preference" Systems 14, no. 1: 101. https://doi.org/10.3390/systems14010101

APA Style

Fan, R., & Chen, Y. (2026). Three-Sided Fuzzy Stable Matching Problem Based on Combination Preference. Systems, 14(1), 101. https://doi.org/10.3390/systems14010101

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