Ergodic Control of Bipartite Matching Queues with Class Change and Matching Failure

Published Online:https://doi.org/10.1287/stsy.2022.0008

Abstract

Motivated by transplant applications, we study a bipartite matching queue with multiclass customers and multitype resources. Customers may change their classes or abandon the system while waiting in queue, and they may decline the offered resource units which results in matching failure. We are interested in designing efficient instantaneous matching policies that allocate resources upon arrival to waiting customers. Our objective is bicriteria and formulated as a cost functional that linearly combines the long-run average expected reward due to successful matches and the long-run average expected cost from customer waiting and abandonment. We first develop a stability condition on the class change and abandonment rates, which requires at least one customer queue with abandonment and that any queue without abandonment have a class transition path to a queue with abandonment. Under this condition, we construct a simple linear program, referred to as the fluid control problem (FCP), which serves as a lower bound for the original stochastic control problem under any admissible policy. We then propose a randomized matching policy based on the solution of the FCP and show that the proposed policy is asymptotically optimal under both the long-run average and ergodic cost criteria. In addition, we apply our method to study two X matching models with two customer classes and two resource types to provide insights on how the class change and matching failure impact the optimal policies.

1. Introduction

1.1. Motivation and Problem Statement

Although matching supply and demand has been a long-lasting problem (Roth and Sotomayor 1992), the advent and diffusion of online platform applications have spurred notable research in the operations community (Chen et al. 2020). Demand and supply are usually heterogeneous belonging to different classes/types. In many applications such as organ transplant matching systems and ridesharing systems, demand is from impatient customers and those customers may abandon the system if they wait too long, and supply should be allocated to waiting demand quickly. In addition, customers may change classes while waiting in the system. For example, in organ transplant and other healthcare applications, patients’ classes can change because of their health deterioration or improvement, and in service systems, customers can switch between regular and VIP classes. Motivated by these applications, we study a multiclass bipartite matching queue with class change, and focus on instantaneous matching policies that assign each supply unit upon arrival to waiting customers.

In the queueing system we consider, customers belonging to different classes arrive to one side of the system according to Poisson processes, join their class-dependent queues, and wait in queue to be matched with resources. On the other side, resources with different types arrive according to Poisson processes and are allocated to the waiting customers on arrival. The value of a match may depend on the resource type and customer class. While waiting, the customers can join another queue or abandon the system after an exponentially distributed amount of time. Furthermore, we incorporate the matching disruption feature into the system, that is, the customers may refuse the offered resources with some class-dependent probabilities. In this case, the resources will be wasted, and the customers remain in queue, that is, the matching fails. Figure 1 shows a schematic view of the matching system with the existence of customer class change and matching failure.

Figure 1. Schematic View of the Matching System
Notes. For i,j=1,,I and h=1,,H, λi and μh are the arrival rates for customers of class i and resources of type h, and ρij represents the class change rate from customer queue i to queue j. Finally, ahi is the probability of successful matching between type h resources and class i customers.

One motivation for the current setting stems from the organ transplant application, where both the class change and matching failure features have been observed and studied. Fluid models that capture patients’ health change were proposed in Akan et al. (2012) to study the organ allocation control problems over a finite time horizon. The optimal policy is of priority type, where the priority indices dynamically depend on the shadow price process of the optimal control problem. The stochastic version of this problem was investigated in Khademi and Liu (2021), where the asymptotic optimality of the dynamic priority rule is established under a strictly overloaded condition in fluid scaling. In another related work, motivated by patient health deterioration in hospitals, Hu et al. (2021) developed a multiclass many-server queueing system, where customers of class i can move to adjacent classes i − 1 and i + 1. Focusing on the fluid dynamics of the setting with two customer classes, they developed a modified cμ/θ rule to optimize a long-run average cost function and investigated the stability of the state process under the proposed policy. They further studied an associated transient control problem (see Section 2 for a more complete literature review of related works). Considering a general multiclass bipartite matching system in a Markovian setting, our current work exploits the class change feature to develop a stability condition under which the system is stable for any arrival rates of customers and resources and any admissible control, and propose asymptotically optimal policies by studying a simple linear program (LP).

We consider a decision maker (DM) who is interested in maximizing the long-run average expected matching values and minimizing the long-run average expected cost. To this end, a bicriteria objective is formulated as a single objective via a linear combination of the two objectives with flexible weights. By this transformation, we study the bicriteria objective as a minimization problem, where the bicriteria objective is referred to as the weighted cost function. Both the class change and matching failure play important roles in designing efficient control policies. To showcase the complexity, we consider a simple system with two customer classes and one resource type. Customer class 1 has high matching value and low cost, whereas customer class 2 has low matching value and high cost. This assumption is motivated from a healthcare application, where class 1 customers correspond to patients in better conditions comparing with class 2 customers in more urgent conditions. The matching value may represent the treatment effect and the cost may include the waiting and abandonment costs. We observe that without the class change or matching failure features, if the objective is to maximize matching values, customer class 1 should be prioritized, whereas if the objective is to minimize the cost, a cμ/θ rule developed in Atar et al. (2010) should be applied (noting that the service rates for both classes are the same in this setting and equal to the arrival rate of the resource). Clearly, designing an efficient policy for our bicriteria objective depends on the weighted cost and should properly balance the matching values and costs. Now, if we include the customer class change feature, the outflow from each queue before matching consists of the abandonment and transitions to other queues, and similarly the inflow into each queue includes the transitions from other queues in addition to the external arrivals. When considering minimizing the cost, a modified cμ/θ rule was developed in Hu et al. (2021) for which the class change rates appear in the indices of the rule. As shown in our Section 4.2, these modified indices can be characterized in terms of the inverse of a matrix that collects the class change and abandonment rates, see the matrix P defined in (12). Finally, the introduction of matching failure will reduce the priority of the corresponding queue. The larger the matching failure probability, the less chance we allocate the resource to this queue. For a general multiclass bipartite system with multitype resources, the interplay of different features becomes more complex. Our work provides a unified approach to develop efficient policies in the presence of all these features.

1.2. Main Contributions and Results

Our main contributions and results are summarized as follows.

We provide a suitable stability condition (Assumption 1) on the class change and abandonment rates, under which the matching system is stable for any arrival rates of customers and resources and under any admissible control. The stability condition does not require all the abandonment rates to be positive. Instead, it exploits the class change structure and requires the existence of a class transition path from the customer queue without abandonment to a queue with abandonment. This condition can be applied for general parallel queues with class change.

We create a deterministic fluid control problem (FCP) that serves as a lower bound for the original queueing control problem (QCP) under any admissible control as the planning horizon T approaches infinity (Proposition 1). We introduce a class transition rate matrix P (see (12)) that can capture the class change and abandonment feature, show that P satisfies some regularity conditions (see Section 4.2.1 for details) under the established stability condition and characterize important properties of P1 (Lemma 1). These results on P play a crucial role in establishing the lower bound in Proposition 1. Moreover, using P1, the FCP can be reformulated as a simpler LP that can be solved efficiently.

We solve the FCP analytically for two low dimensional matching systems with two classes of customers and two types of resources (known as X models), which may be of independent interest for applications, to illustrate how the class change and matching failure impact the optimal policy. The first system models a transplant queueing system with two patient classes (“Sick” and “Healthy”) and two organ types (“Low-quality” and “High-quality”). By Healthy, we mean a patient whose health condition is not severely deteriorated. We observe that the optimal policy is of assortative or priority type depending on a threshold, which is characterized in terms of the class change and abandonment rates, and the probability that Healthy patients decline Low-quality organs (Lemma 2). For the second matching system, we assume that there is no matching failure. The optimal policy is a simple index policy with indices given as the products of the linear cost (row) vector c and the columns of the matrix P1. The policy is thus referred to as the cP1 rule. It generalizes the well-known cμ/θ rule developed in Atar et al. (2010) and the modified cμ/θ rule developed in Hu et al. (2021) to an X matching model (Lemma 3).

We develop a large-scale asymptotic framework under which we propose a randomized matching policy for the QCP based on the optimal solution of the FCP and show that the proposed policy is asymptotically optimal under both the long-run average cost criterion and the ergodic cost criterion. Under the asymptotic framework, the volumes of both demand and supply are assumed to be high and of order O(n) (the factor n measures the size of the system, e.g., the total demand rate). We show that for sufficiently long planning horizon T, the FCP lower bound is attained under the proposed policy as the system size n, and furthermore, for sufficiently large system with size n, the same FCP lower bound is attained under the proposed policy as the planning horizon T (Theorem 1). The former result is the asymptotic optimality under the long-run average cost criterion and the latter gives the asymptotic optimality for the ergodic cost. These two results yield the interchange limit theorem for the state process and the matching process as T and n both approach infinity (Theorem 2). An important tool to prove these results is a Lyapunov function (see (44) and (50)) that is constructed using the M-matrix property of the class change rate matrix P. In particular, we show that the fluid limit (derived as n) of the state process under the proposed policy is a reflected ordinary differential equation (ODE) that is also known as a projected dynamical system. Using the associated variational problem and constructing a Lyapunov function, we show that the reflected ODE admits a unique equilibrium point that is exponentially stable (Proposition 5). Next, with a similar Lyapunov function, we make evident that the matching system under the proposed policy is ergodic (derived as T) and the fluid limit of the stationary distribution turns out to be the unique equilibrium point of the reflected ODE (Proposition 7). We believe that the constructed Lyapunov function can be potentially used to analyze the stability of parallel queues with class change under different types of policies.

1.3. Organization of the Paper

The rest of the paper is organized as follows. Section 2 reviews some related literature on matching queues, queues with class change, and scheduling control of multiclass queues. In Section 3, we develop the queueing model and the QCP. In Section 4, we formally introduce the FCP and the stability condition under which the FCP is reformulated as a simple LP, and prove that the FCP provides a lower bound for the QCP under any admissible control policy. In Section 4.4, we propose the randomized matching policy based on an optimal solution of the FCP. Section 5 studies two X matching systems and solves the corresponding FCPs to provide insights on how the class change and matching failure impact the optimal policies. Section 6 is devoted to constructing the asymptotic large-scale framework. In Section 6.1, we show that the proposed policy is asymptotically optimal under both the long-run average cost and the ergodic cost criteria. The detailed asymptotic analysis is provided in Sections 6.2 and 6.3. Section 7 conducts some numerical experiments using simulation. Section 8 discusses some of the assumptions that we make in the model and their implications and potential relaxations. All the proofs are presented in the appendix.

2. Literature Review

There are several streams of literature related to our study.

2.1. Allocation Control in Bipartite Matching Systems

The bipartite matching models have been widely used in organ transplant applications. For example, Hasankhani and Khademi (2021) extended the fluid model of Akan et al. (2012) to incorporate fairness constraints and showed that the optimal policy is still of a dynamic priority rule type. Ata et al. (2021) advanced the fluid transplant model to incorporate patient choice in accepting/declining the offered organ and showed that under some natural assumptions there exists a unique Nash equilibrium. The current literature on organ transplant applications mainly uses deterministic fluid models to address a variety of decision-making problems. In the current work, we consider a stochastic bipartite matching system and develop asymptotically optimal policies construced by the corresponding fluid model. The fluid model was also considered in Arnosti and Shi (2020) for the public housing application. They studied a matching queue with strategic waiting agents, where the DM has to strike a balance between targeting individuals with the highest need (fairness) and matching individuals with the resources that produce high value (efficiency). The recent work by Ding et al. (2021) studied a matching queue where the DM allocates the resource to the customer with the highest score, which is the sum of customer’s waiting time and matching score. The system is formulated as a stochastic model, the authors studied a fluid sample path of the system and developed an efficient algorithm to analyze the steady state of the fluid sample path. In the study of a ridesharing system, Özkan and Ward (2020) studied a stochastic matching system of drivers and customers with time-varying arrival rates. They developed asymptotically optimal matching policies based on a continuous linear program for a finite horizon control problem. Compared with this work, we consider a Markovian system which allows class change for a long-run average control problem and prove the asymptotic optimality under both long-run average and ergodic cost criteria.

All the aforementioned works including the current work focus on optimizing the demand side of the system and the supply is either matched or wasted, and thus can be viewed as one-sided controlled matching systems. If resources can also be queued in addition to customers, the system becomes a two-sided controlled system. For example, Aveklouris et al. (2021) proposed a two-sided matching queue with generally distributed patience times and studied the tradeoff between making quick valuable matches and waiting to make better decisions with the risk of losing impatient demand and supply. Afeche et al. (2021) studied the design of matching topology in a multiclass multiserver queueing system under a first come first served - assign longest idle server (FCFS-ALIS) service discipline. Beyond bipartite matching queues, Gurvich and Ward (2015) modeled a matching queue in which items arrive to their dedicated queue and wait to be matched with items of other queues based on match feasibility to minimize a finite-horizon cumulative holding cost function.

2.2. Queueing Systems with Class Change Feature

In addition to the aforementioned transplant queueing models and the work by Hu et al. (2021), Down and Lewis (2010) studied the effect of class change on the stability and optimal policies for a Markovian N model with two customer classes and two service stations (with multiple servers), where station 1 is flexible in serving both customer classes and station 2 is dedicated to customer class 2, and class 1 customers are allowed to be upgraded to class 2. In Cao and Xie (2016), a two-class single-server queue was studied, where class 1 customers can change to class 2. The queueing control problem is formulated as a continuous-time Markov decision process and the main results establish the existence of optimal nonidling stationary policies and the conditions under which a modified cμ rule remains optimal. Xie et al. (2017) computed the stationary distribution of a two-class single-server priority queue that allows priority upgrade for nonpriority customers. These three works focus on the low-dimensional systems and do not consider abandonment or large-scale asymptotic setting. In Pang and Yao (2013), a collection of Markovian many-server queues, each queue with its own service pool, were considered, where a job waiting in a queue can switch over to another queue or abandon the system after an exponentially distributed time. The work is concerned with system performance analysis and establishes the fluid and diffusion limits under different large-scale regimes (quality-and-efficiency-driven and efficiency-driven regimes).

2.3. Scheduling Control of Multiclass Queueing Systems in Heavy Traffic

There is a significant literature on scheduling control of queues, where there is a fixed number of service stations/server pools in the system that serve randomly arriving heterogeneous customers. We review some related works in the many-server setting, focusing on the long-run average type objectives, or related to the X model. None of these works consider the class change feature studied in the current work. The works by Atar et al. (2010, 2011) developed the well-known cμ/θ rule for the Markovian multiclass many-server (in a single pool) queueing system with abandonments to minimize the long-run average cost, and showed that cμ/θ rule is asymptotically optimal under both the long-run average cost and ergodic cost criteria in the fluid scaling. For an overloaded (i.e., in the efficiency driven regime) multiclass many-server queue with multiple server pools, Stolyar and Tezcan (2011) proposed the shadow routing algorithm for reward maximization (SHADOW-RM) policy, and proved its asymptotic optimality for maximizing the long-run reward rate. For other works in scheduling overloaded multiclass many-server (in a single pool) queues, we refer the readers to the tutorial paper (Puha and Ward 2019) and the references therein. The literature on the ergodic control of many-server queues seems scarce. Armony and Ward (2010) designed a threshold policy for a single-class multipool many-server queue (known as the inverted V model) and showed that it is asymptotically optimal for minimizing the steady-state customer waiting time subject to a “fairness” constraint on the workload division in quality-and-efficiency driven regime. The ergodic control problem of the Markovian multiclass many-server (in a single pool) queues was studied in Arapostathis et al. (2015), and the study was extended to multipool setting in Arapostathis and Pang (2016). Both works are considered in the quality-and-efficiency driven regime. Comparing with these studies, our system assumes heterogeneity on both sides and class change feature for the customer side. We do not assume specific regimes and prove that the proposed policy is asymptotically optimal under both the long-run average cost and ergodic cost criteria.

As the simplest multiclass multipool queueing system, the X model has been studied in a series of work by Perry and Whitt (2009, 2011, 2013, 2015). Perry and Whitt (2009) studied two service systems (modeled as single-class single-pool many-server queues with abandonment) that can help each other when one encounters overload, and proposes an efficient fixed-queue-ratio-with-thresholds (FQR-T) control. In the sequels, Perry and Whitt (2011, 2013, 2015) developed fluid approximations and new algorithms for the overloaded X model under the FQR-T control. Our study of the X matching models focuses on exploring the impact of the class change rates and acceptance probabilities on fluid control problems.

3. Model Formulation

We study a bipartite matching queue where customers arrive to one side of the system and resources arrive to the other side. Customers and resources are differentiated by their classes and types. The customer class is indexed by iI{1,2,,I} so that there are totally I different customer classes. Customers of class i arrive to the system according to a Poisson process with rate λi and will join queue i on arrival. Customers in queue may abandon the system or join another queue while waiting. More precisely, the transition mechanism works as follows: Each customer in queue i is associated with I + 1 independent transition clocks, and for j=0,1,,I, the jth clock rings after an exponentially distributed time with rate ρij. If the jth clock rings first, the customer will join queue j, where queue j = 0 is interpreted as the outside of the system, that is, the customer will abandon the system. We assume that ρii=0, which indicates that the customers in queue i will not leave their current position to join queue i again. There will be H types of resources, and the units of resource of type hH{1,2,,H} arrive to the system according to a Poisson process with rate μh. We assume each customer is matched with one resource unit and the matching is instantaneous, that is, each resource unit should be allocated to a customer immediately on arrival.

For each resource type h, let I(h) denote the index set of customer classes for which the resource type h is a feasible match. For each customer class i, let H(i) denote the set of resource types that are feasible for class i customers. Without loss of generality, we assume that I(h) for all h, and H(i) for all i, that is, for each resource type (respectively, customer class) there is at least one customer class (respectively, resource type) such that their matching is feasible because otherwise we can exclude that resource type (respectively, customer class) from analysis upfront without affecting the system. The matching topology is characterized by I(h) and H(i) for iI and hH and is assumed to be fixed.

On arrival of each resource unit, the DM will allocate it to the head-of-line of a feasible customer queue, and if all feasible customer queues are empty, the unit will be wasted and removed from the system. A match may fail and we let ahi denote the probability that a match of the customer class iI with the resource type hH is successful. If the match is successful, the customer leaves the system instantaneously with the offered resource unit; otherwise, the customer will stay in the system and the resource unit is wasted and removed from the system. Figure 1 provides a schematic view of the system. One application for a matching failure is that customers may have a preference over resource types and a customer who is offered a resource unit may decline it for a hope that the future offer is of the type that the customer has a higher preference for. For this application our approach assumes that customer decisions in accepting/declining the resource are exogenous; that is, we model those decisions by considering acceptance probabilities ahi. For example, for the application of the proposed matching system for transplant systems, all the simulation models for organ allocation purposes developed by the United Network for Organ Sharing (LSAM for liver, TSAM for lung and heart, and KPSAM for kidney and pancreas) consider the acceptance probabilities for patients based on past observations (UNOS 2021). Another example is in ride sharing applications, where a customer may decline the offered driver with a probability that may depend on different factors (Özkan and Ward 2020). Another application for a matching failure is that the matching process is disrupted. For example, in a communication channel, packages sent from a supply node to a demand node may get lost or corrupted.

We now mathematically formulate the problem. Let (Ω,F,P) be a complete probability space. All the random variables and stochastic processes in this section are assumed to be defined on this space. The expectation under the probability measure P will be denoted by E. For t0, denote by Xi(t) the number of customers of class i in the system at time t, Uhi(t) the number of successful matches of resource type h to customer class i up to time t, and Vhi(t) the number of resource units of type h assigned to customer class i up to time t. Let Ai(t) and Eh(t), respectively, represent the Poisson arrival processes of customers of class i and resource units of type h. Because the transition clocks associated with each customer are independent and exponentially distributed, the transition processes between customer queues can be formulated using independent Poisson processes. Let Nij,iI,jI{0} be independent unit rate Poisson processes, which are independent of the arrival processes Ai,Eh,iI,hH. Then, the number of customers in queue i that join the customer queue j by time t can be formulated as Nij(ρij0tXi(s)ds). Consequently, the state process can be described as follows: For t0 and iI,

Xi(t)=Xi(0)+Ai(t)kI{0}Nik(0tρikXi(τ)dτ)+lINli(0tρliXl(τ)dτ)hH(i)Uhi(t),(1)
where Xi(0) is the initial number of customers in queue i, and the nondecreasing process Uhi(t) satisfies
Uhi(0)=Vhi(0)=0,Uhi(t)Vhi(t),iI(h)Vhi(t)Eh(t),hH,iI,t0.(2)

Furthermore, the random variables Xi(0),iI are assumed to be independent of the arrival processes Ai,Eh,iI,hH and the Poisson processes Nij,iI,jI{0}.

The allocation policy is represented by a matrix-valued stochastic process {π(t);t0}: At time t, π(t)=(πhi(t))H×I, where each πhi(t) equals zero or one and there is at most one element equal to one in each row, that is, iI(h)πhi(t)1 for each hH and πhi(t)=0 for iI(h). Suppose that a unit of type h resource arrives at time t. If πhi(t)=1 for some iI(h), the unit is assigned to the customer queue i. Otherwise, if πhi(t)=0 for all iI(h), the unit will be wasted. We study nonanticipative allocation policies. To this end, define the following filtration: For t0,

Ftσ {Eh(s),Ai(s),Xi(0),Xi(s),Uhi(s),Vhi(s),Nij([0,s)ρijXi(τ)dτ),hH,iI,jI{0},0st},
which represents all relevant information available to the DM at time t and σ denotes sigma field. An allocation policy {π(t);t0} is nonanticipative if π(t)Ft for all t0, and it is called admissible if it satisfies the previously mentioned constraints as well.

Given an admissible control policy {π(t);t0}, the allocation process {Vhi(t);t0} and the successful matching process {Uhi(t);t0} can be formulated as follows. Let νhk denote the arrival time of the kth unit of resource type h (that is, the kth arrival time of the Poisson process Eh(t)). We have for t0,

Vhi(t)=k=1Eh(t)πhi(νhk).(3)

Note that πhi(t) can also be completely characterized by the jump times of Vhi(t).

An assigned unit may result in a successful match or a waste. Let {whik}kN be an independently identically distributed (i.i.d.) sequence of Bernoulli random variables with successful probability ahi, which represents the probability of a successful match between customer class i and resource type h. Thus, for t0,

Uhi(t)=k=1Eh(t)πhi(νhk)whik.(4)

We assume that for each hH the vector whk(wh1k,wh2k,,whIk) is independent of Fνhk and all the external arrival processes {Eh(t);t0} and {Ai(t);t0} for iI and hH (noting that denotes matrix transpose). That is, the success of a match only depends on the class and type of the pair and is independent of the aforementioned system information.

Next, we provide the elements of the objective function. The DM considers the following factors in the matching system: (1) the value of successful matches, (2) the waiting cost of customers, and (3) the abandonment cost of customers. (One can also consider the wastage cost of a resource, see Section 8.) Specifically, the DM seeks to maximize the average value of the successful matches and minimize the average waiting and abandonment costs over a finite planning horizon [0,T] (to establish asymptotic optimality, we will eventually consider a long horizon by letting T). Let ϑhi denote the value of a successful match between a customer in class i and a resource unit of type h. Let ciw denote the linear holding cost that a class i customer imposes to the system per unit time, and cia denote the cost that is imposed to the system if a customer of class i abandons the system. Let ci=ciw+ρi0cia denote the total expected cost of holding and abandonment per customer of class i per unit time. Given an admissible allocation policy π={π(t);t0}, the expected average holding and abandonment cost over the time interval [0,T] is given by

E(iIcihT0TXi(τ)dτ+iIciaTNi0(ρi00TXi(τ)dτ))=E(iI1T0TciXi(τ)dτ).(5)

In addition, the expected average value of successful matches is given by

E(iIhH(i)ϑhiUhi(T)T).(6)

Because the DM seeks to choose admissible policies to minimize the objective function (5), and to maximize the objective function (6), we combine the two objectives into one and consider a weighted average of the two objective functions by assigning a weight of ω10 to the minimization objective (5) and ω20 to the maximization objective (6), where ω1+ω2>0. Without loss of generality, we present the objective in the minimization sense; that is, we consider the following expected “weighted cost” of an admissible allocation policy π={π(t):t0}:

CT(π;X(0),M)=ω1E(iI1T0TciXi(τ)dτ)ω2E(iIhH(i)ϑhiUhi(T)T),(7)
where M collects all the known system parameters. More precisely, for our analysis, it is assumed that all the arrival rates λ(λ1,,λI),μ(μ1,,μH), the class change rates ρ(ρij)I×(I+1), the acceptance probabilities a(ahi)H×I, the total costs c(c1,,cI), and the matching values ϑ(ϑhi)H×I are given. These parameters are collected in M, that is, M=(λ,μ,ρ,a,c,ϑ). Therefore, the DM solves the following control problem to calculate the value function
CT*(X(0),M)=infπ CT(π;X(0),M),(8)
where the infimum is taken over all admissible allocation policies.

The direct analysis of the control problem (8) is rather complex, and the standard numerical methods do not apply because of the curse of dimensionality. Our goal is to (i) develop a stability condition under which a simple LP, referred to as the fluid control problem (FCP), provides a lower bound for the queue control problem (QCP) (8) when T, (ii) construct asymptotically optimal allocation policies for the QCP (8) in a suitable large-scale setting by using the optimal solution of the LP, and (iii) show that under the proposed policy, the matching system in the large-scale setting is ergodic with a unique stationary distribution. The next section develops the FCP of interest.

4. FCP

In this section, we construct the FCP by considering the expectation of the stochastic processes constructed previously. We develop a suitable stability condition (Assumption 1) under which the FCP attains a simple reformulation, and its optimal value provides a lower bound for the QCP (Proposition 1).

4.1. Construction of the FCP

We first establish a lemma that will be used in the construction of the FCP. Recall the allocation process {V(t);t0} and the successful matching process {U(t);t0} from (3) and (4). It can be shown that E(Uhi(t)|Vhi(t))=ahiVhi(t) for all t,i,h. Taking expectation in (1) yields that for t0 and iI,

E(Xi(t))=E(Xi(0))+λit0t[kI{0}ρikE(Xi(τ))lIρliE(Xl(τ))]dτhH(i)E(Uhi(t))=E(Xi(0))+λit0t[kI{0}ρikE(Xi(τ))lIρliE(Xl(τ))]dτhH(i)ahiE(Vhi(t)).

Next, taking expectation in (2), we have

E(Vhi(0))=0,iI(h)E(Vhi(t))μht.(9)

Now define xi(t)E(Xi(t)) and vhi(t)E(Vhi(t)) for t0. We introduce the following deterministic control problem associated with the state process xi(t) and the control process vhi(t). This control problem serves as a transitional step to introduce the FCP of interest.

Definition 1.

Given x(0)=(x1(0),,xI(0))R+I and M, the transitional control problem selects v{(vhi(t))H×I;t[0,T]} to minimize

CT(v;x(0),M)ω1T0TiIcixi(t)dtω2TiIhH(i)ϑhiahivhi(T)(10a)
subjecttothefollowingconstraints:Fort0andiI,hH,
xi(t)=xi(0)+λit0t[kI{0}ρikxi(τ)lIρlixl(τ)]dτhH(i)ahivhi(t)0,(10b)
iI(h)vhi(t)μht,(10c)
vhi(0)=0,and vhi(t)isnondecreasingint.(10d)

We are interested in analyzing the system for a long time horizon. Letting T enables us to establish a deterministic control problem in equilibrium, which will be the focused FCP. Roughly speaking, we will think of {xi(t);t0} admitting an equilibrium point xie such that xi(t)xie as t, and then the long-run average t10txi(s)ds will converge to xie as well when t. Instead of considering vhi(t) directly, we study the proportion vhi(t)/(μht) and denote by rhie its formal equilibrium, that is, vhi(t)/(μht)rhie as t. In other words, rhie represents the proportion of type h resource assigned to class i customers.

Definition 2

(FCP). The FCP is to select an H × I matrix re=(rhie)H×I to solve

C(M)=minxe,reω1iIcixieω2iIhH(i)ϑhiμhahirhie(11a)
subjectto
λikI{0}ρikxie+lIρlixlehH(i)μhahirhie=0,iI,(11b)
xie0,iI,(11c)
iI(h)rhie1,hH,(11d)
rhie0,hH,iI.(11e)

The relationship between the original QCP (8), the transitional control problem (10), and the FCP (11) is characterized in Proposition 1. Before stating the result, we present the following stability condition. Let I1{iI:ρi0>0} and I2{iI:ρi0=0}. The set I1 (respectively, I2) collects the indices of customer queues for which the abandonment rate is positive (respectively, zero).

Assumption 1

(Stability Condition). The index set I1. Furthermore, for any jI2, there exist k1,j1,j2,,jkI2 and iI1 such that ρjj1ρj1j2ρjki>0.

Assumption 1 says there exists at least one customer queue with a positive abandonment rate, and for any customer queue without abandonment, there exists a transition path from this queue to a customer queue with abandonment through class changes.

4.2. FCP Reformulation

We study some structural properties embedded in the FCP that will be crucial in further analysis. To that end, considering the matrix form of (11b), we let xe=(x1e,,xIe), and introduce the following matrices:

P=(kI{0}ρ1kρ21ρ31ρI1ρ12kI{0}ρ2kρ32ρI2ρ1Iρ2Iρ3IkI{0}ρIk)(12)
and
b=(λ1hH(1)μhah1rh1e,λ2hH(2)μhah2rh2e,,λIhH(I)μhahIrhIe).(13)

Now, equations in (11b) can be represented as Pxe=b.

The matrix P plays a crucial role in the analysis throughout the paper. In Section 4.2.1, we present some important structural properties of P. Next, in Section 4.2.2, we propose a reformulation to the LP (11), which facilitates the interpretation of the optimal solution.

4.2.1. Structure of Matrix P and Its Inverse.

We develop some important properties of P in Lemma 1. A square matrix is called a nonsingular M-matrix if it can be expressed as sIB, where I is the identity matrix, B is a matrix with nonnegative entries, and the scalar s is greater than the spectral radius of B. Nonsingular M-matrices appear in many applications and have rich properties (see Plemmons (1977) for a collection of equivalent definitions for M-matrices.

Lemma 1.

Under Assumption 1, (i) P is a nonsingular M-matrix, (ii) its inverse P1 has positive diagonal entries and nonnegative off-diagonal entries, and (iii) for iI1 and jI2, the (i, j)th entry of P1 is positive.

The proof of Lemma 1 is provided in Appendix B.1, and the key is to observe that the matrix P is a weakly chained diagonally dominant matrix.

For convenience, let A=P1. The entries of the matrix A could be rather complicated. In Appendix A, we investigate a special case when P is upper triangular to shed some light on its structure.

4.2.2. FCP Reformulation Presentation.

In this section, we provide a reformulation to the FCP (11) that will pave the way to provide insights on its optimal solutions. From Lemma 1, we have that xe=P1b=Ab, that is, Equation (11b) can be written as xie=kIAikλkkIAikhH(k)μhahkrhke, and its substitution in Equation (11c) results in the following Equation (14b). Therefore, Formulation (11) can now be reformulated as follows:

maxre iIhH(i)c˜hirhie(14a)
subjectto
kIAikhH(k)μhahkrhkekIAikλk,iI,(14b)
iI(h)rhie1,hH,(14c)
rhie0,iI,hH,(14d)
where c˜hi=μhahi(kIω1ckAki+ω2ϑhi)0. We observe that the coefficient c˜hi for the allocation rate rhie depends both on matching values and costs. Specifically, because of class change, c˜hi for class i includes the cost ck from all other classes weighted by Aki.

The optimization problem (14) is an LP with a bounded convex nonempty solution space and thus admits an optimal solution at the boundary.

Lemma 2.

Under Assumption 1, the FCP admits an optimal solution.

Denote by re,*=(rhie,*)H×I an optimal solution and xe,*=(x1e,*,,xIe,*) the corresponding optimal state. One may interpret rhie,* as the optimal proportion of type h resource assigned to customers of class i. For an optimal solution, if the ith constraint in (14b) becomes active, then xie,*=0; otherwise, xie,*>0 because xie=kIAikλkkIAikhH(k)μhahkrhke. If the hth constraint in (14c) becomes active, all the resource units of type h are used; otherwise, the optimal solution wastes some of it. Furthermore, if the optimal solution constraints in (14b) are all inactive, that is, xie,*>0 for all iI, the system is “strictly overloaded.” Consequently, the optimization problem (14) becomes a knapsack problem whose solution is a priority policy by sorting c˜hi’s. In this case, for resource type h, customers’ priority will be based on ahi(kIω1ckAki+ω2ϑhi). The exact optimal solution of the LP depends on the matching topology (i.e., the index sets I(h) and H(i) for each i and h) and the system parameters M. To provide insight on the structure of the optimal solution, we study two low-dimensional matching systems in Section 5.

4.3. Lower Bound on QCP

We now present Proposition 1 that shows that the FCP serves as a lower bound for the QCP as the time horizon tends to infinity. This enables us to construct asymptotic (in a sense that will be clear later in Section 6) optimal policies for the QCP by using the optimal solution of the FCP. First, we show the following Lemma 3 that says under Assumption 1 the matching system is stable under any admissible control, and will be used in the proof of Proposition 1.

Lemma 3.

Under Assumption 1, there exist positive constants C1 and C2 that are independent of t such that for any t0,

E(iIXi(t))C1E(iIXi(0))+C2.

Proposition 1.

Under any admissible policy π for the QCP (8) and for any T0,

CT(π;X(0),M)CT(E(V);E(X(0)),M),(15)
where V is the allocation process under the policy π. Furthermore, under Assumption 1,
lim infT CT(E(V);E(X(0)),M)C(M).(16)

The complete proofs of Lemma 3 and Proposition 1 are provided in Appendix B.1. Roughly speaking, the first part of Proposition 1 is true because the constraints in the FCP are created from those of the original stochastic control problem, as well as having the same objective. The second part holds because by Lemma 3, limTxi(T)/T=0, which makes the constraints in (10) converge to those in (11).

4.4. Proposed Policy for QCP

We construct a simple randomized allocation policy for QCP using an optimal solution of the FCP. Under Assumption 1, denote by re,*=(rhie,*)H×I an optimal solution and xe,*=(x1e,*,,xIe,*) the corresponding state of the FCP with parameter M. For each hH, let rh0e,*=1iIrhie,* representing the probability of wasting a resource unit of type h. We consider a generalized Bernoulli random vector Zh=(Zh0,Zh1,,ZhI) according to the probability distribution (rh0e,*,rh1e,*,,rhIe,*). More precisely, we consider a random vector Zh=(Zh0,Zh1,,ZhI) such that each component Zhi is Bernoulli distributed with success probability rhie,* and i=0IZhi=1. The distribution of Zh is then given by

P(Zh0=z0,Zh1=z1,,ZhI=zI)=i=0I(rhie,*)zi
for zi{0,1},i=0,1,,I and i=0Izi=1. For each arriving resource unit of type h, we sample the random vector Zh, independently of the past, and assign the unit to the customer queue i if Zhi = 1 and queue i is nonempty; otherwise, if queue i is empty, we simply assign it to queue 0 and waste the unit.

Denote by π*(M) the previously described allocation policy. Clearly, it is admissible. The policy is not work-conserving; a resource unit is wasted when it is assigned to a customer queue that is empty, no matter other customer queues that can accept the resource be empty or not. Nevertheless, in Section 6.1, we will show that this policy is asymptotically optimal when the system scale is large, and the resource units wasted in the previous situation are asymptotically negligible.

5. FCPs for Two X Models

We analytically solve the FCP for two X matching models and investigate how their solutions depend on the class change rates and the success probability of matching. In the first model, we study a transplant system with two patient classes and two organ types and establish an optimal policy that is of assortative or priority type depending on a threshold. The threshold parameter is given in terms of the class change and abandonment rates, and the success probability of matching (Proposition 2). For the second model, an X model with no matching failure is considered where the FCP only minimizes the linear cost. We show that a simple index policy, referred to as the cP1 rule, is optimal and generalizes the well-known cμ/θ rule developed in Atar et al. (2010) and the modified cμ/θ rule developed in Hu et al. (2021) to an X matching model (Proposition 3).

5.1. An X Model for a Transplant System

We consider a transplant queueing system with two patient classes (Sick and Healthy) and two organ types (Low-quality and High-quality). The arrival rates for Sick and Healthy patients are λ1 and λ2, and the arrival rates for Low-quality and High-quality organs are μ1 and μ2. Sick patients die with rate ρ10d1>0 and Healthy patients become Sick with rate ρ21ρ>0. We assume that Healthy patients do not die while waiting (i.e., ρ20=0) and Sick patients do not become Healthy (i.e., ρ12=0). We also assume that Sick patients accept both organs with probability one (i.e., a11=a21=1), Healthy patients accept High-quality organs with probability one (i.e., a22=1), but accept Low-quality organs with probability a12a(0,1]. Figure 2 shows a schematic view of the system. In transplant queueing systems, it is natural to assume that λ1+λ2>μ1+μ2, that is, the system is overloaded in the sense that the demand for organs exceeds the supply. Under this assumption, summing up (11b) over i = 1, 2 results in d1x1e=λ1+λ2μ1(r11e+ar12e)μ2>0 under any feasible allocation policy. Thus, no organ will be wasted (because of no available patients), which yields that the allocation rates must satisfy r11e+r12e=r21e+r22e=1. The matrix P and its inverse A are given by

P=(d1ρ0ρ),A=(d11d110ρ1).

Figure 2. Transplant Queueing System with Two Patient Classes and Two Organ Types

In the FCP, the cost ci represents the pretransplant mortality, as well as the social costs corresponding to waiting on the list, and the matching values ϑhi denote the posttransplant survival of a patient in class i on transplanting an organ of type h. It is natural to assume that ϑ11ϑ12 and ϑ21ϑ22. That is, the posttransplant survival of Sick patients is less than or equal to that of Healthy patients. The FCP in (14) will be given by

minr11e,r21e[ω1(a(c1d1+c2ρ)c1d1)+ω2(aϑ12ϑ11)]μ1r11e+(ω1c2ρ+ω2(ϑ22ϑ21))μ2r21e(17a)
subjectto:
(a1)μ1r11e+(λ1+λ2aμ1μ2)0,(17b)
aμ1r11e+μ2r21e+λ2aμ1μ20,(17c)
r11e,r21e[0,1].(17d)

Constraint (17b) is redundant because from the overloaded condition that λ1+λ2>μ1+μ2, we have

(a1)μ1r11e+(λ1+λ2aμ1μ2)(a1)μ1+(λ1+λ2aμ1μ2)=λ1+λ2μ1μ2>0.

Introduce

C1=ω1(a(c1d1+c2ρ)c1d1)+ω2(aϑ12ϑ11),C2=ω1c2ρ+ω2(ϑ22ϑ21).(18)

We note that C2>0, but C1 can be positive or negative or zero. For this system, we interpret the optimal allocation policy as being (i) assortative or (ii) of priority type. Assortative policies are those that assign high-quality organs to patients with lower risk (moderately healthy) and vice versa. We collect the optimal solutions of the FCP in the following Proposition 2; the proof is standard and provided in Appendix B.2.

Proposition 2.

When λ2aμ1+μ2, we have r11e,* is equal to one if C1<0, is equal to 0 if C1>0, and can take any value in [0,1] if C1=0. And r21e,* is always equal to zero. When λ2<aμ1+μ2, the optimal solution is summarized in the following cases.

  • (1) If C1<0, r11e,*=1 and r21e,*=max{0,(μ2λ2)/μ2}.

  • (2) If C1=0, r11e,*[1+(μ2λ2μ2r21e,*)/(aμ1),1] and r21e,*=max{0,(μ2λ2)/μ2}.

  • (3) If 0<C1/C2<a, r11e,*=min{1+(μ2λ2)/(aμ1),1} and r21e,*=max{0,(μ2λ2)/μ2}.

  • (4) If C1/C2=a, any feasible point on the line aμ1r11e,*+μ2r21e,*+λ2aμ1μ2=0 is an optimal solution.

  • (5) If C1/C2>a, r11e,*=max{0,(aμ1λ2)/(aμ1)} and r21e,*=min{1+(aμ1λ2)/μ2,1}.

Remark 1.

From Section 4.4, we can construct a randomized policy based on the solution of the FCP for QCP. For example, in Case (1), when C1<0, if μ2>λ2, then r21e,*=(μ2λ2)/μ2(0,1). This says r21e,* proportion of High-quality organs should be assigned to Sick patients and 1r21e,* proportion of High-quality organs should be assigned to Health patients. However, in view of the optimal solution and its associated optimal state, we can also interpret the policy being of priority type or assortative. In Case (1), r11e,*=1 indicating the type 1 (Low-quality) organs should prioritize class 1 (Sick) patients. Next, r22e,*=1r21e,*=min{1,λ2/μ2}. This says if λ2μ2, all the type 2 (High-quality) organs are allocated to class 2 (Healthy) patients and x2e,*=(λ2μ2)/ρ0, and if λ2<μ2, the type 2 (High-quality) organs should prioritize the class 2 (Healthy) patients such that x2e,*=0 and the rest (r21e,*=(μ2λ2)/μ2 proportion) can be allocated to the class 1 (Sick) patients. In this way, we can propose an assortative policy for the QCP, which says the type 1 (Low-quality) organs should prioritize class 1 (Sick) patients and the type 2 (High-quality) organs should prioritize class 2 (Healthy) patients. Similar analysis can be applied to other cases. We summarize the results in Table 1.

However, not all optimal solutions of the FCP can be easily interpreted as being assortative or of priority type. For example, in Case (4) of the previous proposition, if we compute an optimal solution (r11e,*,r21e,*) for which both r11e,* and r21e,* are within (0, 1) (this happens when the solution is in the interior of the line segment). In this situation, it is not straightforward to design an assortative or priority policies, and a randomized policy naturally arises, assigning r11e,* proportion of Low-quality organs and r21e,* proportion of High-quality organs to Sick patients, and the rest goes to Health patients.

The following two examples are concerned with two special cases to provide more insight: when ω1=1 and ω2=0 and when ω1=0 and ω2=1.

Table

Table 1. Intuition for Results in Proposition 2

Table 1. Intuition for Results in Proposition 2

CaseInterpretation
(1) C1<0The type 1 (Low-quality) organs should prioritize the class 1 (Sick) patients.
The type 2 (High-quality) organs should prioritize the class 2 (Healthy) patients, and any remaining organs will be allocated to the class 1 (Sick) patients.
(3) 0<C1/C2<aThe type 2 (High-quality) organs should prioritize the class 2 (Healthy) patients, and if type 2 (High-quality) organs cannot satisfy all class 2 (Healthy) patients, the remaining requirements will be satisfied by type 1 (Low-quality) organs.
(5) C1/C2>aThe type 1 (Low-quality) organs should prioritize the class 2 (Healthy) patients, and if type 1 (Low-quality) organs cannot satisfy all the class 2 (Healthy) patients, the remaining requirements will be satisfied by the type 2 (High-quality) organs.
Example 1.

We consider the special case when ω1=1 and ω2=0, in which the DM seeks to minimize pretransplant mortality, as well as social costs corresponding to waiting on the list. In terms of application, it means that the DM does not include posttransplant survival, that is, matching values, in the objective. This is aligned with practice for some organs. For example, UNOS allocation rules for liver and heart do not include donor risk profiles and in broad view are medical urgency based (OPTN 2021). We have

C1=a(c1d1+c2ρ)c1d1,C2=c2ρ,
which yields
C1<()0a<()c1/d1c1/d1+c2/ρ,(19)
and
C1C2=c1/d1+(c1/d1+c2/ρ)ac2/ρ=a(1a)c1/d1c2/ρa.(20)

Thus, Case (5) of Proposition 2 does not happen. Proposition 2 provides the following insight into the optimal allocation: If the probability that class 2 (Healthy) patients accept type 1 (Low-quality) organs is less than the threshold (c1/d1)/(c1/d1+c2/ρ), the optimal policy is assortative in that type 1 (Low-quality) organs are matched with class 1 (Sick) patients and type 2 (High-quality) organs are matched with class 2 (Healthy) patients. However, if the probability that class 2 (Healthy) patients accept type 1 (Low-quality) organs is greater than the threshold, the optimal policy prioritizes class 2 (Healthy) patients: High-quality and Low-quality organs will satisfy Healthy patients first, and the rest goes to the Sick patients.

Example 2.

We consider the special case when ω1=0 and ω2=1, in which the DM maximizes the successful matching values, that is, posttransplant survival. We have

C1=aϑ12ϑ11,C2=ϑ22ϑ21,
which yields
C1<()0a<()ϑ11ϑ12,(21)
and
C1C2=aϑ12ϑ11ϑ22ϑ21<()aϑ12a1ϑ11<()ϑ22ϑ21.(22)

The threshold of the acceptance probability in (21) is given as ϑ11/ϑ12, which only depends on the two matching values. From (22), we see that the relationship between C1/C2 and a is determined by the quantities ϑ12ϑ11 and ϑ22ϑ21 that represent the posttransplant survival difference between Healthy and Sick patients from the Low-quality and High-quality organs, respectively. More precisely, when C1>0, we have

  • If ϑ12ϑ11ϑ22ϑ21, then ϑ12a1ϑ11<ϑ22ϑ21 and C1/C2<a,

  • If ϑ12ϑ11>ϑ22ϑ21, and a<ϑ11/[ϑ12(ϑ22ϑ21)], then ϑ12a1ϑ11<ϑ22ϑ21 and C1/C2<a,

  • If ϑ12ϑ11>ϑ22ϑ21, and ϑ11/[ϑ12(ϑ22ϑ21)]a1, then ϑ12a1ϑ11ϑ22ϑ21 and C1/C2a,

Thus, Case (5) of Proposition 2 happens only when ϑ12ϑ11>ϑ22ϑ21 and the acceptance probability a is large enough such that a>ϑ11/[ϑ12(ϑ22ϑ21)].

Let H×I be a lattice and ϑ{ϑhi}h,iH×I be a function defined on it. The condition ϑ12ϑ11()ϑ22ϑ21 means that the function ϑ is supermodular (submodular). Becker (1973) showed that in a static matching market with equal-sized groups supermodularity (submodularity) of matching values results in a positive (negative) assortative matching, that is, mating of likes (unlikes). Results in Proposition 2 has an assortative flavor when λ2<aμ1+μ2. In particular, if ϑ12a1ϑ11ϑ22ϑ21, it seeks to maximize r11e (the rate of assigning Low-quality organs to Sick patients) and minimize r21e (the rate of assigning High-quality organs to Sick patients). Because of the existence of the acceptance probability a, the required condition becomes ϑ12a1ϑ11ϑ22ϑ21, with a11, which provides the following insight: Because the Healthy patients may decline Low-quality organs, the condition for positive assortative matching becomes “easier” to satisfy.

5.2. An X Model with No Matching Failure

In this section, we consider a matching system with two types of resources and two classes of customers. We assume that the matching process is perfect, that is, a11=a12=a21=a22=1, and the matching topology is a complete bipartite graph, that is, H(1)=H(2)={1,2} and I(1)=I(2)={1,2}. The DM is interested in minimizing the linear cost by considering the LP (14) with ω1=1 and ω2=0. Denote by C(M) the optimal value of the LP.

For this LP, if the system is underloaded or balanced, that is, λ1+λ2μ1+μ2, there is enough supply of resources for the demand of customers and the system will be empty under the optimal policy in the long run. When the system is overloaded, that is, λ1+λ2>μ1+μ2, the optimal solution is a priority policy that assigns priority to each class according to the index j=12cjAji for i=1,2. Recall that A is the inverse of the rate matrix P. We thus refer to this index policy as the cP1 rule, where c is understood to be the row vector (c1, c2) and the indices are given as the products of c and the columns of P1. The optimal solutions depend on the following two quantities:

L=(λ2+ρ12ρ10+ρ12λ1(μ1+μ2))(ρ10+ρ12),(23)
U=(λ1+ρ21ρ20+ρ21λ2ρ21ρ20+ρ21(μ1+μ2))(ρ20+ρ21).(24)

Under the overloaded condition, U > 0 and ρ20L<ρ10U, but it is possible that L0. Furthermore, the FCP is equivalent to the following LP:

minr11e,r21e(c2ρ10c1ρ20)(μ1r11e+μ2r21e)subjecttoρ20[μ1r11e+μ2r21e]U,ρ10[μ1r11e+μ2r21e]L,r11e,r21e[0,1].

Proposition 3 characterizes the optimal solutions of the LP in details. Its proof can be found in Appendix B.2, in which we also provide details on deriving the previous LP.

Proposition 3.

If λ1+λ2μ1+μ2, then C(M)=0 with the optimal solution rije,*0,i,j=1,2, satisfying r11e,*+r12e,*1,r21e,*+r22e,*1 and

(λ1λ2)=(r11e,*r21e,*r12e,*r22e,*)(μ1μ2).

If λ1+λ2>μ1+μ2, then r11e,*+r12e,*=r21e,*+r22e,*=1, and the optimal solutions are given as follows.

  • (1) When j=12cjAj2>j=12cjAj1 (equivalently, c2ρ10>c1ρ20), r11e,* and r21e,* take their minimum feasible values, that is, Class 2 customers receive the higher priority from both types of resources.

    1. If L0,r11e,*=r21e,*=0.

    2. If L>0,r11e,*,r21e,*[0,1] such that μ1r11e,*+μ2r21e,*=L/ρ10.

  • (2) When j=12cjAj2<j=12cjAj1 (equivalently, c2ρ10<c1ρ20), r11e,* and r21e,* take their maximum feasible values, that is, Class 1 customers receive higher priority from both types of resources.

    1. If Uρ20(μ1+μ2),r11e,*=r21e,*=1.

    2. If U<ρ20(μ1+μ2),r11e,*,r21e,*[0,1] such that μ1r11e,*+μ2r21e,*=U/ρ20.

  • (3) When j=12cjAj2=j=12cjAj1 (equivalently, c2ρ10=c1ρ20), r11e,* and r21e,* can take any feasible values satisfying ρ20[μ1r11e,*+μ2r21e,*]U and ρ10[μ1r11e,*+μ2r21e,*]L, and the optimal value C(M)=0.

Remark 2.

We first understand the role of the quantities L and U in (i), and then in (ii) compare the cP−1 rule developed here with the cμ/θ rule.

  • (i) The quantities L and U are used to define the traffic intensities for the prioritized queues. In Proposition 3 part (1), from (23), we have

    L(<)0λ2+λ1ρ12/(ρ10+ρ12)μ1+μ2(>)1.

    One can see that the ratio [λ2+λ1ρ12/(ρ10+ρ12)]/(μ1+μ2) represents the traffic intensity for Class 2 customers when Class 2 is prioritized. Symmetrically, in Proposition 3 part (2), from (24),

    U(>)ρ20(μ1+μ2)λ1+λ2ρ21/(ρ20+ρ21)μ1+μ2(>)1.

    Thus, the ratio [λ1+λ2ρ21/(ρ20+ρ21)]/(μ1+μ2) represents the traffic intensity for Class 1 customers when Class 1 is prioritized. Under the corresponding priority policy, when the traffic intensity of the prioritized class is less than or equal to one, the prioritized class is always empty and the other class is always nonempty, otherwise, if the traffic intensity is greater than one, then both classes are nonempty.

  • Comparing with the well-known cμ/θ rule, the cP1 rule developed here only depends on the costs and class change rates, and does not depend on the resource arrival rates. In fact, different from the many-server queues considered in Atar et al. (2010, 2011) and Hu et al. (2021), in the bipartite matching queue with complete matching topology, there is no fixed “service rate” for each class of customers, instead each class of customers can be matched with all types of resources. In particular, in a many server queue there is a fixed pool of servers and each server serves class i customers with rate μi. However, in our bipartite matching queue, a “server” of type h arrives randomly over time and serves all customer classes with rate μh. Different resource types in our model impose different matching values, but in this example, matching values are ignored. (Recall that in an strictly overloaded system, for each resource type h, the priority is given by ahi(kIω1ckAki+ω2ϑhi), which depends on matching values as well.) Furthermore, if there is only one resource type, the cP1 rule is reduced to be the modified c/θ rule as in Hu et al. (2021), and if there is no class change, the cP1 rule is simplified to be the c/θ rule, which shows that the cP1 index policy generalizes the cμ/θ rule and the modified cμ/θ rule to an X matching model.

6. Asymptotic Framework

This section develops an asymptotic framework, in which suitably scaled stochastic control problems attain the FCP lower bound as the system scale and the time horizon T grow to infinity. We introduce the parameter n that represents the system scale and can be considered as the average number of customers and resource units arriving during a unit time interval. We introduce a sequence of queueing systems as described in Section 3, indexed by nN. For the nth system, we append a superscript n to all system processes, random variables, and parameters. However, for simplicity, we assume that the Bernoulli random variables {whik}kN and its success probability ahi, and the matching value ϑhi and cost ci in the objective function are all independent of n.

To construct the asymptotic setting, we study a large market setup in the following sense.

Assumption 2

(Large Scaled System). For each nN, the parameters λn,μn, and ρn are nonnegative, and there exist a positive I-dimensional vector λ¯, a positive H-dimensional vector μ¯, and a nonnegative I × I matrix ρ¯ such that as n,

λnnλ¯,μnnμ¯,ρnρ¯.

Furthermore, the matrix ρ¯ satisfies Assumption 1.

In the nth system, Xin(t) represents the number of customers of class i in the system at time t, Uhin(t) is the number of successful matches of type h resource to class i customers up to time t, and Vhin(t) is the number of resource units of type h assigned to customer class i up to time t.

Assumption 3

(Initial Condition). There exists a deterministic x¯(0)R+I such that Xn(0)/nx¯(0) in probability as n.

We also recall that Ain(t) and Ehn(t) respectively represent the Poisson arrival processes of customers of class i and resource units of type h for iI and hH and Nijn,iI,jI{0} are independent unit rate Poisson processes, which are independent of the arrival processes Ain,Ehn,iI,hH. The state and control processes Xin(t),Vhin(t), and Uhin(t) are described as follows: For hH,iI, and t0,

Xin(t)=Xin(0)+Ain(t)kI{0}Nikn(0tρiknXin(τ)dτ)+lINlin(0tρlinXln(τ)dτ)hHUhin(t),(25)
and
Vhin(t)=k=1Ehn(t)πhin(νh,kn),Uhin(t)=k=1Ehn(t)πhin(νh,kn)whik,(26)
where {πn(t);t0} is an admissible allocation control, {νh,kn}kN are the arrival times of the Poisson process Ehn(t), and {whik}kN are i.i.d. sequences of Bernoulli random variables with success probability ahi, which denotes the probability that a match of a type h resource unit to a class i customer is successful. Under Assumption 2, we introduce the fluid scaled processes:
X¯n(t)=Xn(t)n,U¯n(t)=Un(t)n,t0.(27)

The control problem for the nth system is to choose an admissible allocation policy πn={πn(t);t0} to minimize the following fluid scaled average cost function

C¯Tn(πn;Xn(0),Mn)=ω1E(1T0TiIciX¯in(t)dt)ω2E(1TiIhH(i)ϑhiU¯hin(T)),(28)
where Mn=(λn,μn,ρn,c,ϑ) represents the known parameters of the nth system.

The previous control problem, the same as the original control problem (8), is intractable in direct analysis. Our goal in this section is to show that the proposed randomized allocation policy π*(M¯) associated with the fluid-limit parameter M¯=(λ¯,μ¯,ρ¯,c,ϑ) (see Section 4.4 for the definition of the policy) is asymptotically optimal in the following sense:

limT limn C¯Tn(πn,*;Xn(0),Mn)=C(M¯),lim infT lim infn C¯Tn(πn;Xn(0),Mn)C(M¯),(29)
and furthermore,
limn limT C¯Tn(πn,*;Xn(0),Mn)=C(M¯),lim infn lim infT C¯Tn(πn;Xn(0),Mn)C(M¯),(30)
where {πn}nN is an arbitrary sequence of admissible policies, and C(M¯) is the optimal value of the FCP associated with the fluid-limit parameters M¯ (it is the same as the FCP in Definition 2 with M replaced by M¯).

In (29) and (30), we consider both orders of the two limits as T and n. To establish (29), we first let n to derive a deterministic fluid limit of X¯n under the proposed policy and then let T to study the stability of the fluid limit, whereas in the study of (30), we first let T to reach the steady state of X¯n(t) (which is a Markov chain under the proposed policy) and then let n to derive the fluid limit of the steady states. In particular, the study of (30) yields the ergodicity of the Markov chain X¯n under the proposed policy for each sufficiently large n. The allocation policies satisfying (29) and (30) are thus asymptotically optimal under the long-run average cost criterion as in (29) and the ergodic cost criterion as in (30).

6.1. Asymptotic Optimality of the Proposed Policy

Let r¯hie,* and x¯ie,* be an optimal solution and the corresponding optimal state of the FCP associated with M¯. Following Section 4.4, we construct the randomized policy π*(M¯) based on r¯hie,*. Thus, π*(M¯) does not depend on n. We consider π*(M¯) for each of the nth system. We next present our main results: Theorems 1 and 2. The proofs will be decomposed into various intermediate results shown in Sections 6.2 and 6.3. The complete proofs of both theorems are provided in Appendix B.3.3.

The first result is on the asymptotic optimality of the proposed policy.

Theorem 1.

The proposed policy π*(M¯) is asymptotically optimal under the long-run average cost criterion as in (29) and the ergodic cost criterion as in (30).

The next theorem establishes the interchange limit theorem for the bipartite matching system under the proposed allocation policy π*(M¯).

Theorem 2.

Under the proposed policy π*(M¯),{X¯n(t);t0} is a Markov chain for each n, and if there exists NN such that when nN, it is irreducible, then for iI,

limt limn E[|X¯in(t)x¯ie,*|]=limn limt E[|X¯in(t)x¯ie,*|]=0.

Furthermore, for iI and hH(i),

limt limn E[|U¯hin(t)/tμ¯hahir¯hie,*|]=limn limt E[|U¯hin(t)/tμ¯hahir¯hie,*|]=0.

Remark 3.

Although the proposed policy π*(M¯) is independent of n, it is constructed by the fluid-limit parameter M¯. In practice, one needs to identify n and the model parameters Mn to compute M¯, for example, λ¯=limnλn/n. However, the system scale n may not be easily identified. Instead of considering the fluid-limit parameters M¯, one can construct the proposed policy according to an optimal solution of the FCP associated with the unscaled system parameters. To be more precise, assume that we have the Nth system with N being large but unknown. Under Assumption 2, the FCP associated with MN can also be reformulated as a simple linear program and admits an optimal solution rNe,* with the optimal value C(MN). Now one can show that sufficient conditions in Wets 1985 (proposition 8) hold and by Wets 1985 (theorem 2), the linear program FCP associated with MN is continuous in its parameters. It follows that limn C(Mn)/n=C(M¯), which yields

C(MN)NC(M¯).(31)

Denote by πN,* the proposed policy according to rNe,*. Combining (29) and (30) with (31), when T is also large, we have

CTN(πN,*;XN(0),MN)C(MN),(32)
which demonstrates that the proposed policy πN,* is a near-optimal policy. However, we may not have rNe,*r¯e,* because the FCP could have multiple optimal solutions.

As mentioned in Section 4.4, the randomized policy π*(M¯) we propose is not work-conserving. In Corollary 1, we show that the policy is asymptotically work-conserving. For the kth arrival of the type h resource, let Z¯hk=(Z¯h0k,Z¯h1k,,Z¯hIk) denote the generalized Bernoulli random according to the probability distribution (r¯h0e,*,r¯h1e,*,,r¯hIe,*) (see Section 4.4 for more explanation on the distribution). Then the process of successful matching can be formulated as

Uhin(t)=k=1Ehn(t)Z¯hikwhik1{Xin(νhk,n)>0}.(33)

Recall that {νhk,n}k=1 is the sequence of arrival times of the Poisson arrival process Ehn of type h resource. Now define for t0,

U˜hin(t)=k=1Ehn(t)Z¯hikwhik.

The quantity U˜hin(t) represents the number of type h resource units assigned to customer queue i over the time interval [0,t] assuming the queue is nonempty for each assignment. The difference U˜hin(t)Uhin(t) gives the number of type h resource units that are assigned to customer queue i and are wasted because of the emptiness of the queue over the time interval [0,t]. The following result as a corollary of Theorem 2 shows that the long run average wasted resource is asymptotically negligible in the fluid scaling. The proof can be found in Appendix B.3.3. In Section 7, we numerically explore the convergence behavior of U˜hin(t)Uhin(t) with respect to n and t (see Section 7 for the related discussion).

Corollary 1.

We have the following interchange limit result for U˜hin(t)Uhin(t).

limn limt E[U˜hin(t)Uhin(t)nt]=limt limn E[U˜hin(t)Uhin(t)nt]=0.(34)

The rest of the section will focus on the proofs of the two main theorems. Section 6.2 focuses on the study of (29). We first derive a deterministic limit, known as the fluid limit, of X¯n(t) as n under the proposed policy, and then study the stability property of the fluid limit as t. In Section 6.3, we show that under the proposed policy, X¯n(t) is a Markov chain admitting a stationary distribution and derive the fluid limit of the stationary distribution as n. In the following sections, we use the L2 norm x=i=1Ixi2 for xRI.

6.2. Fluid Limit and Its Stability

We are interested in the asymptotic behavior of the matching system under the proposed policy π*(M¯) as n. To that end, for a given T, we show that the scaled process X¯n(t) under the proposed policy π* converges to a solution, denoted by x¯(t), of a reflected ODE uniformly on [0,T]. Then, the first natural question is: Does this dynamical system has a unique solution? Is x¯e,*, which is the corresponding optimal state of the FCP, an equilibrium point of x¯(t)? The second natural question is: If x¯(t) converges to x¯e,* as t, how fast is the convergence? This is equivalent to study the stability property of x¯(t). The main challenge in addressing these questions is that the dynamical system has a reflection boundary, which creates a type of discontinuity. We provide affirmative answers to these questions by constructing an appropriate Lyapunov function, adopting results in the generalized linear Skorokhod problem and the associated variational inequality problem for an equivalent projected dynamical system. The complete proofs of all results in this section are provided in Appendix B.3.1.

In the first step, we present a law of large number result for the successful matching process under the proposed policy. Recall from (33) that

U¯hin(t)=Uhin(t)n=1nk=1Ehn(t)Z¯hiwhi1{X¯in(νhk,n)>0}.

By constructing proper martingales and applying convergence theorems for martingales, we can show the following Lemma 4.

Lemma 4.

Under the proposed policy π*(M¯), for any T0 and iI,hH(i),

limn E[sup0tT|U¯hin(t)ahir¯hie,*μ¯hn0t1{X¯in(τ)>0}dτ|]=0.(35)

The following proposition establishes the fluid limits of the state and control processes under the proposed allocation policy π*(M¯).

Proposition 4.

Under the proposed policy π*(M¯), for any T > 0 and iI,hH(i),

limn E[supt[0,T]|X¯in(t)x¯i(t)|]=0,(36)
limn E[supt[0,T]|U¯hin(t)u¯hi(t)|]=0,(37)
where
u¯hi(t)=ahir¯hie,*μ¯hh˜H(i)ah˜ir¯h˜ie,*μ¯h˜(h˜H(i)ah˜ir¯h˜ie,*μ¯h˜ty¯i(t)),(38)
and x¯=(x¯1,,x¯I) together with y¯=(y¯1,,y¯I) is the unique solution to the following generalized linear Skorokhod problem (SP): For iI,
x¯i(t)=x¯i(0)+λ¯ithH(i)ahir¯hie,*μ¯ht0t(kI{0}ρ¯ikx¯i(τ)lIρ¯lix¯l(τ))dτ+y¯i(t),(39)
and y¯i satisfies (i) y¯i(0)=0, (ii) y¯i(·) is nondecreasing, and (iii) y¯i(·) increases only when x¯i(·) reaches zero, that is, 0x¯i(t)dy¯i(t)=0.

The proof of Proposition 4 follows a standard weak convergence argument. We first observe that (X¯n,U¯n) is C-tight and uniformly integrable, and then show that its weak limit satisfies (38) and the generalized linear SP (39).

The next step involves exploring the stability properties of the reflected ODE given in (39). To ease notation, let function F:R+IR+I be such that for xR+I,

F(x)=P¯xb¯,(40)
where P¯ and b¯ are defined as P and b in (12) and (13) with ρ,λ,μ and re replaced by ρ¯,λ¯,μ¯ and r¯e,*, respectively. Then, the vector representation of (39) is given by
x¯(t)=x¯(0)0tF(x¯(τ))dτ+y¯(t),t0.(41)

Noting that x¯e,* is the corresponding state of the FCP under the optimal solution r¯e,*, the pair (x¯e,*,r¯e,*) satisfies Constraint (11b), that is, F(x¯e,*)=0. Consequently, x¯e,* is an equilibrium point of the reflected ODE x¯(t). The following proposition establishes the uniqueness of the equilibrium point x¯e,* as well as its stability.

Proposition 5.

The point x¯e,* is the unique equilibrium point of the reflected ODE x¯(t), and it is globally exponentially stable; that is, there exist constants B > 0 and κ>0 such that

x¯(t)x¯e,*Beκt,t0.(42)

Furthermore,

limty¯(t)t=0.(43)

Remark 4.

We provide here the main proof ideas of Proposition 5.

  • (i) The proof of the uniqueness of the equilibrium point x¯e,* in Proposition 5 relies on the observation that the reflected ODE x¯(t) is equivalent to the projected dynamical system (PDS) associated with R+I and F, and the equilibrium points of the reflected ODE coincide with the solutions of the variational inequality (VI) problem associated with R+I and F (Dupuis and Nagurney 1993, Nagurney and Zhang 2012). The rigorous definitions of the PDS and VI problem can be found in the proof of Proposition 5 in Appendix B.3.1.

  • (ii) A key tool for the proof of the globally exponential stability in Proposition 5 is an appropriate Lyapunov function. For the nonsingular M-matrix P¯, there exists a positive diagonal matrix D such that P¯D+DP¯ is positive definite (Plemmons 1977). The Lyapunov function is defined as

    V(x)=12(xx¯e,*)D(xx¯e,*)=12i=1IDii(xix¯ie,*)2,xR+I,(44)
    which measures a weighted distance from the point x to the equilibrium point x¯e,*.

The following corollary follows from Propositions 4 and 5.

Corollary 2.

Under the proposed policy π*(M¯), for iI,

limt limn E[|X¯in(t)x¯ie,*|]=0,(45)
and for hH(i),
limt limn E[|U¯hin(t)/tμ¯hahir¯hie,*|]=0.(46)

6.3. Steady-State Analysis and Its Fluid Limit

Under the proposed allocation policy π*(M¯), the state process {Xn(t);t0} in the nth system is a Markov chain with the following generator Ln:M(Z+I,R)M(Z+I,R), where M(Z+I,R) is the set of measurable functions from Z+I to R. For gM(Z+I,R) and xZ+I,

Lng(x)=iIλin[g(x+ei)g(x)]+iI(hH(i)μhnahir¯hie,*+xiρi0n)[g(xei)g(x)]+iIjIxiρijn[g(x+ejei)g(x)],(47)
where the three terms on the right-hand side of (47) correspond to external arrivals, successful matches or abandonment, and internal class changes, respectively.

It is not clear upfront whether the Markov chain {Xn(t);t0} is irreducible because the transition rates ρijn can be zero among some customer queues. Nevertheless, we can consider the limiting behavior of the chain.

Proposition 6.

Under the proposed policy π*(M¯), for iI,

limn lim supt E[|X¯in(t)x¯ie,*|]=0,(48)
and for hH(i),
limn limt E[|U¯hin(t)/tμ¯hahir¯hie,*|]=0.(49)

When the chain is irreducible, it can be shown to be ergodic with a unique stationary distribution.

Proposition 7.

Under the proposed policy π*(M¯), there exists an NN such that when nN, if the Markov chain {X¯n(t);t0} is irreducible, it is ergodic with a unique stationary distribution.

Remark 5.

The proofs of the previous two propositions rely on constructing a similar Lyapunov function (see Appendix B.3.2 for the complete proofs). We consider the Lyapunov function defined in (44) and modify it for Xn(t) in the nth system. Define the matrix Pn in the same way as P in (12) with ρ replaced by ρn and r replaced by r¯e,*. Under Assumption 2, for large enough n, the matrix Pn satisfies Assumption 1 and Lemma 1 still holds for Pn. Then, there exists a positive diagonal matrix Dn such that DnPn+(Pn)Dn is positive definite. Define the following Lyapunov function for any given xZ+I,

Vn(x)=(xnx¯e,*)Dn(xnx¯e,*)=i=1IDiin(xinx¯ie,*)2.(50)

A crucial step is to study Ln(Vn(x)), which represents the rate of change of the weighted distance from x (a value of Xn(t)) to nx¯e,* and show that it decreases linearly in Vn(x) (see Lemma B.1 in the Appendix B.3.2).

7. Numerical Experiments

In this section, we provide numerical evidence for our results. We simulate a stochastic matching system and observe the performance of our proposed policy. In particular, we consider a heart transplant system with I = 4 queues for patients and H = 2 organ types. This categorization is inspired by the fact that health is a major factor for pre- and posttransplant survival for heart transplant and UNOS used four categories of “1A” (class 1), “1B” (class 2), “2” (class 3), and “Inactive” (class 4) for patient health group, where 1A denotes the sickest, 1B is less severe than 1A, 2 is less severe than 1B, and Inactive patients are not suitable for transplant (OPTN 2021). For organ type, donor age is crucial for posttransplant survival, and we consider donors with age [18,50) as type 1 and [50, 80] as type 2.

At each time t=1,2,,T, the following sequence of events takes place in the simulation. First, for each patient queue i, a random number from a Poisson distribution with parameter λin=nλi+n is generated and patients are added to the corresponding queue. For each organ type h, a random number from a Poisson distribution with parameter μhn=nμh+n is generated as the number of arrived organs of type h. For each arrived organ with type h, based on the given policy we decide which patient queue it will be matched to. Let i be that patient queue class. If patient queue i is empty, the organ is discarded. Otherwise, we offer the organ to the patient in the head of the queue, which is consistent with UNOS practice. We generate a uniform random number in [0,1] and compare it to ahi to decide whether the organ is accepted or not. On success, the patient leaves the system. If the patient declines the organ, it is discarded, and the patient stays in queue. Third, we decide on the death (abandonment) and class change for patients. To that end, for each patient in the system we roll an (I+1)-dimensional die with probabilities corresponding to abandonment and class change, that is, ρij for all j=0,1,,I, the result of which determines what will happen to the patient: Staying in the queue, abandonment, or moving to another queue.

We use Hasankhani and Khademi (2017) to estimate the parameters of the model. We consider each period as a month. The initial number of patients in each queue is generated randomly according to a discrete uniform distribution between 200 and 250. The arrival rate of patient classes is approximately λ=(60,120,60,60) patients per month and that of organs is approximately μ=(60,90) organs per month. The death rate for patient classes is (0.0252,0.00981,0.00441,0.05853) patients per month. The estimate of class change rates is shown in Table 2. To estimate the values for matching an organ to a patient, we use posttransplant life months. In particular, for type 1 organ, the posttransplant life months of four patient classes are estimated as (249,324.2,355.5,0), and for type 2 organ those are estimated as (218.3,255.1,327,0). For Inactive patients, we set posttransplant life months to be zero because they do not receive organs while in that state. For the holding costs in queue, we consider pretransplant costs while waiting on the wait list. Specifically, based on the results of Evans (1987) and adjustment for the inflation rate, we estimate a value of $319,010 per year for the holding cost for each patient class. However, to be consistent with match values, which are based on life months, we convert this yearly cost to life months. To that end, we note that in cost-effective analysis in healthcare, each life year is roughly worth $100,000 (Goodman 2016). Therefore, the holding cost for each patient class will be around 3.2 life months per month. To estimate the abandonment (death) costs, we use the expected life months gained due to transplantation, which are 194 months for class 1A, 187.7 months for class 1B, 114.5 months for class 2, and 0 months for Inactive patients. We assume that two objectives of minimizing cost and maximizing value have the same weight and set ω1=0.5 and ω2=0.5. For this system, π11=0,π12=0,π13=1,π14=0,π21=1,π22=0,π23=0,π24=0 and x1e,*=577.705,x2e,*=321.687,x3e,*=295.021 and x4e,*=2345.55. The value of the lower bound, the optimal objective function, is C(M)=12,233.1.

Table

Table 2. Estimates of Patient Class Change Rates

Table 2. Estimates of Patient Class Change Rates

1A1B2Inactive
1A0.13440.00360.1344
1B0.564480.01560.07029
20.00360.02130.07479
Inactive0.00630.00360.0093

We explore the convergence behavior with respect to n and T. To that end, we set three values for T, that is, T = 500, T = 1,000, and T = 3,000 and then change n from 1 to 201 with increments of 10, that is, n=1,11,,201. We report the average numbers for 30 simulation replications. Figure 3 shows the value of the scaled cost and lower bound. The result for T = 500 is denoted by a dashed red curve, for T = 1,000 by a dotted brown curve, and for T = 3,000 by a solid black curve. As can be seen, the objective of the nth system stabilizes after n = 50 for all three cases for T. For T = 500, the scaled cost converges to −11,981, and for T = 1,000, it converges to −12,142. When T = 3,000, it converges to −12,231.5, which is roughly equal to the lower bound optimal value C(M)=12,233.1.

Figure 3. Value of the Fluid Scaled Cost Objective Function Under the Proposed Policy and Lower Bound
Note. The subscript in πT=t,t=500,1,000,3,000, denotes that π is applied when T = t.

Furthermore, recall that the proposed policy will discard an organ upon its arrival if the result of the randomization is an empty queue. For example, in our numerical result, π13=1 and if an organ of type 1 arrives and queue 3 is empty, it will be wasted. In this section, we numerically find hHiI(U˜hin(T)Uhin(T))/(nT) in our simulation and present it in Figure 4, which by Corollary 1 is asymptotically negligible. In particular, Figure 4 shows that the average (over simulation runs) of the scaled number of organs wasted because the corresponding queue is empty on organ arrival. For T = 500, T = 1,000, and T = 3,000, the scaled wasted organs stabilize at 0.052, 0.021, and 0.007, respectively. The quantity hHiI(U˜hin(T)Uhin(T))/n roughly represents the number of organs that are discarded because of the emptiness of the assigned patient queues over the time interval [0,T]. Also recall that the total arrival rate of the two types of organs is 60+90=150 per month. Therefore, for T = 500, there are 0.052×500=26 organs wasted during 500 months out of roughly 150 × 500 = 75,000 total organs. Such wastage is indeed asymptotically negligible.

Figure 4. Value of hHiI(U˜hin(T)Uhin(T))/(nT) for the Proposed Policy

In addition, we assume that if an organ is declined by a patient, it will be discarded. Next, we construct a policy π^ that assigns organs to queues as π does, but if the patient in the head of the queue declined the organ, the policy offers the organ to the next patient in that queue and continues this process until the organ is accepted by a patient or all the patients in the queue declined it. Our simulation results for T = 3,000 and n = 201, where the objective value is essentially equal to the lower bound, shows that the improvement of policy π^ over π* is around 6%. This 6% improvement is notable because if a declined organ is eventually accepted, it will improve the objective function by increasing the life years instead of having a waiting cost. Under the policy π^, the acceptance probability for each organ becomes larger because it can be offered multiple times. See Section 8 for more discussion on the acceptance probabilities. In fact, π^ does not fall into the set of admissible policies we define for the contact acceptance probability.

8. Discussion

In this section, we discuss some major assumptions in the model and the implications of their relaxation. First, we assume that resources will not queue; for example, in the transplant application, if an organ arrives and finds all queues empty, it will be wasted. This is a simplifying assumption, but it is not restrictive in overloaded systems, that is, when the demand significantly exceeds supply. We make this argument rigorous in the following way: The scaled overall allocation process for a resource converges to the arrival process of that resource type. To that end, the first step is to observe the following result.

Lemma 5.

If xie,*>0 in (11), kI(h)rhke,*=1 for all hH(i).

It implies that if customer queue i is positive in equilibrium, all the resources that supply patient queue i are exhausted. Let I¯{iI:xie,*>0}. We call the system “overloaded” if iI¯H(i)=H; that is, there are enough positive queues in equilibrium such that all resource types are exhausted. Therefore, we have the following result.

Corollary 3.

If the system is overloaded in the sense mentioned previously, for each hH,

limt limn E[|iI(h)V¯hin(t)/tE¯hn(t)/t|]=limn limt E[|iI(h)V¯hin(t)/tE¯hn(t)/t|]=0.

The proofs of both results can be found in Appendix B.4. Second, we assume that if a resource is declined by a customer, it will be wasted. In organ transplant systems, however, if a patient declines an offered organ, it will be offered to the next patient in the waiting list based on patient scores. However, formulating the general allocation policy is challenging. In fact, if the patient in the head of the queue declines the organ, the policy should check whether there are other patients in that queue. If there are, it should check whether this patient accepts the organ or not by considering another Bernoulli random variable. This process continues until there are no more tried patients or the number of feasible offers are exhausted. If the process has to continue and all patients of the current queue have been tried, the policy must decide what queue is next. Therefore, the policy must completely characterize the path for organ offer, which makes the analysis challenging. Current fluid models in the literature approximate this process by considering the overall probability of organ acceptance. Specifically, let N denote the maximum number of times an organ can be offered. Recall that ahi is the probability that a class i patient accepts an organ type h. Thus, assuming queue i has at least N patients, the probability of eventual organ acceptance is 1(1ahi)N, which is used instead of ahi in Equation (11b) (Akan et al. 2012). Nonetheless, our proposed model applies to organs with short cold ischemic time. For example, unlike a kidney with a cold ischemic time of 48 hours, a heart only has a cold ischemic time of 4 hours, making it difficult to reoffer it after a decline. In our numerical results, we consider a policy π^ that assigns organs to patient classes as π, but when the head of the queue patient declines the offered organ, it will offer it to the next patient in line until the organ is accepted or the organ is offered to all patients in the queue and declined. The probability of organ acceptance becomes 1(1ahi)Xi(t) and is state dependent. Our results show that the improvement in the objective function of π^ over π is around 6% for large n and T.

Third, in the model, we assume that there is no cost for resource wastage. The total wastage for resource type h up to time t is Eh(t)iI(h)Uhi(t). If the wastage cost of one unit of resource type h is chw, the average wastage cost will be T1hHE[chw(Eh(T)iI(h)Uhi(T))]. This addition will only add a corresponding term in the objective function and the constraints will not change. Because we have already showed the asymptotic results for Uhi(t), all the results will hold by adding this extra term.

Finally, our proposed policy is randomized, and on arrival of a resource, a queue is determined randomly for assignment. If the queue is nonempty, the resource is assigned to the head of the queue; otherwise, the resource is wasted. In Corollary 1, we show that this randomized policy is asymptotically work-conserving. In our numerical example in Section 7, we show that the impact of nonconserving property becomes negligible for large n and T.

9. Conclusion and Future Work

We studied a bipartite matching system where customers of different classes and resources of different types arrive and need to be matched. Customers will join a corresponding queue on arrival and may change their queue or abandon the system probabilistically. Resources on arrival will be matched to customers where a match may be unsuccessful. Resources will be wasted if the match is unsuccessful or no customer is in queues. The DM will incur a cost due to customer waiting and abandonment and will accrue a reward for successful matches. We constructed a corresponding fluid control problem, which is an LP, and proposed a randomized policy based on its solution for the original problem. We showed that under the fluid scaling the proposed policy is asymptotically optimal and interchange of steady state and fluid limit holds. We also investigated the structure of the proposed policy under two X models.

There are some natural paths for future work. First, we assumed that resources must be assigned on arrival and cannot be kept in inventory. Although this assumption may be appropriate for overloaded queues (Corollary 3) like transplant systems, in underloaded queues, these resources may be kept in queues to model matching systems more realistically. Second, a match will be successful in the model based on a probability distribution. However, customers may be strategic in deciding to accept or decline a resource by solving an optimal stopping problem. The equilibrium analysis of this extension will provide more insight about this feature of the problem. Third, we assumed that the parameters of the model are known. However, some of the model parameters may be unknown but can be learned over time by sampling. The analysis of regret for such matching systems can be an interesting topic for future investigation. Last, we used a fluid-based approach to analyze the model, but considering a diffusion-based analysis will provide further realism.

Appendix A. Additional Results

A.1. Structure of P1

We investigate a special case when P is upper triangular to shed light on the structure of P1. We consider an upper triangular P (the lower triangular case can be treated similarly). The motivation for such an upper triangular matrix stems in healthcare queueing systems, where healthier patients become sicker over time while waiting for service. This can be done without loss of generality by ordering queue classes such that queue 1 (respectively, I) presents the sickest (respectively, healthiest) patient group. For this class of problems, we provide a closed form for P1 and interpret the results. Introducing di=k=0i1ρik>0, we have

P=(d1ρ21ρI10d2ρI200dI).

The matrix A=P1 is given as follows:

Aii=1di,for iI,Aij=0,for i>j,Aij=ρjidjdi+k=1ji1i<l1<<lk<jρjlkρlklk1ρl1idjdlkdl1di,for i<j.

For i < j, the previous formula enumerates all the paths from queue j to queue i and adds the ratio of the product of class change rates in the numerator to the product of total out-class rates in the denominator. For example, for i = 1 and j = 4,

A14=ρ41d4d1+ρ43ρ31d4d3d1+ρ42ρ21d4d2d1+ρ43ρ32ρ21d4d3d2d1.

Appendix B. Proofs

We collect all the proofs in this appendix.

B.1. Proofs for Section 4

Proof of Lemma 1.

We start with some definitions on matrices. For an I × I square matrix C, its ith column is called weakly diagonally dominant (WDD) if |Cii|ji|Cji| and is called strongly diagonally dominant (SDD) if |Cii|>ji|Cji|. The matrix C is called column WDD (respectively, SDD) if all its columns are WDD (respectively, SDD). The direct graph of matrix C consists of the vertex set {1,2,,I} with an edge from i to j if the (i, j)th entry is nonzero. A matrix is called weakly chained diagonally dominant (WCDD) if (i) it is column WDD and (ii) if a column i is not SDD. There exists a path in the direct graph of the matrix from vertex i to a vertex whose associated column is SDD. Observe that under Assumption 1, the matrix P defined in (12) is WCDD. From Bramble and Hubbard (1964), the matrix P is a nonsingular WDD M-matrix. From Plemmons (1977), A=P1 exists and A has nonnegative entries. Finally, being an M-matrix, P=sIB=s(Is1B) for some nonnegative matrix B and a positive constant s that is greater than the spectral radius of B. It follows that A=sn=0(s1B)n=sI+sn=1(s1B)n, which implies that the diagonal entries of A must be positive. Finally, we show that for iI1 and jI2, if there exist j1,j2,,jkI2 such that ρjj1ρj1j2ρjki>0, then Aij>0. Fix such a pair of i and j. We consider the linear equation Py=ej, which yields y=Aej and yi=Aij. Because A has positive diagonal entries and nonnegative off-diagonal entries, y0 and yj=Ajj>0. Suppose yi=Aij=0. We claim that all yjl=0 for l=1,,k and yj = 0, which is a contradiction to yj=Ajj>0. Thus we must have yi=Aij>0. Under the assumption that yi=Aij=0, we consider the ith component of Py=ej and have

ρ1iy1ρi1,iyi1ρi+1,iyi+1ρIiyI=0,
which implies ρ1iy1==ρi1,iyi1=ρi+1,iyi+1==ρIiyI=0. Noting that ρjki>0, we must have yjk=0. Now consider the jkth component of Py=ej, and we have
ρ1,jky1ρjk1,jkyjk1ρjk+1,jkyjk+1ρI,jkyI=0,
which implies ρ1,jky1==ρjk1,ykyjk1=ρjk+1,jkyjk+1==ρI,jkyI=0. Noting that ρjk1,jk>0, we have yjk1=0. Continue this process for the jlth component of Py=ej for l=k1,,1, which will deduce yjl1=0, where yj0=yj. This completes the proof. □

Proof of Lemma 2.

Under Assumption 1, the FCP formulation is equivalent to the LP (14). The LP formulation (14) is nonempty because if we set all rhie=0, all three set of constraints are satisfied. Also, the solution space of (14) is bounded; in the first set of constraints, all coefficients on the left-hand side are nonnegative and the right-hand side is also nonnegative with an inequality sign of . The second and third set of constraints clearly create a bounded region. Furthermore, all constraints are hyperplanes, so the solution space is convex. The result simply follows from the fundamental result in linear programming. □

Proof of Lemma 3.

Recall xi(t)=E(Xi(t)) and vhi(t)=E(Vhi(t)) for t0. To show (16), for each iI and t0, define

yi(t)=xi(0)+λit0tkI{0}ρikyi(τ)dτ+0tlIρliyl(τ)dτ.(B.1)

We claim that yi(t)xi(t) for all iI and t0 (it will be proved at the end). By summing yi(t)s over all iI and taking d¯=miniI1 ρi0>0, we have

iI1yi(t)iIyi(t)=iIxi(0)+iIλit0tiI1ρi0yi(τ)dτiIxi(0)+iIλit0td¯(iI1yi(τ))dτ.

Using the Gronwall’s inequality, we have for t0,

iI1yi(t)(iIxi(0)+iIλit)ed¯t.(B.2)

Next,

Ay(t)=Ax(0)+Aλt0ty(τ)dτ,
and summing over all components yields
jIkIAjkyk(t)=jIkIAjkxk(0)+jIkIAjkλkt0tjIyj(τ)dτ.(B.3)

Now from Lemma 1, for iI2, there exists a j(i)I1 such that Aj(i),i>0. Using (B.3), we have

iI2Aj(i),iyi(t)jIkIAjkyk(t)=jIkIAjkxk(0)+jIkIAjkλkt0tjIyj(τ)dτ.(B.4)

Let a¯=miniI2Aj(i),i>0. Then from (B.4), we have

a¯iI2yi(t)jIkIAjkxk(0)+jIkIAjkλkt0tjI2yj(τ)dτ.(B.5)

Using Gronwall’s inequality again gives

iI2yi(t)a¯1(jIkIAjkxk(0)+jIkIAjkλkt)ea¯1t.(B.6)

Combining (B.2) and (B.6) gives

E(iIXi(t))iIyi(t)C1E(iIXi(0))+C2,
where C1,C2>0 are independent of t.

At last, we show that yi(t)xi(t) for each iI and t0. Let zi(t)=yi(t)xi(t). We have

zi(t)=0tkI{0}ρikzi(s)ds+0tlIρlizl(s)ds+hH(i)ahivhi(t).

We note that zi(0)=0 for all iI. Let t0=inf{t0:iIzi(t)<0}. Without loss of generality, we assume the i0th component zi0(·) decreases below zero at t0, that is, zi0(t0)=0 and zi0(s)<0 for s(t0,t0+δ) for some δ>0. We also assume that neither of the other components are below zero over the interval [t0,t0+δ]. If more than one component falls below zero at t0, we can consider the sum of these components. Now for s(t0,t0+δ), we have

0>zi0(s)=zi0(t0)t0skI{0}ρi0kzi0(u)du+t0slIρli0zl(u)du+hH(i0)ahi0(vhi0(s)vhi0(t0))=t0skI{0}ρi0kzi0(u)du+t0slIρli0zl(u)du+hH(i0)ahi0(vhi0(s)vhi0(t0))0,
which is a contradiction. The last inequality follows from the fact that vhi0(t) is nondecreasing, zi0(u)<0 for u[t0,s], and lIρli0zl(u)=li0ρli0zl(u)0 for u[0,s], where s(t0,t0+δ). Hence, t0= and zi(t)0 for all t0 and iI. □

Proof of Proposition 1.

The original stochastic control problem (8) and the transitional control problem (10) share the same objective function. Furthermore, the constraints in the transitional control problem (10) are created from those of (8), which shows that the set of feasible solutions for (10) is a relaxation of (8). This shows (15).

From Lemma 3, we have for iI,

limtxi(t)t=0.(B.7)

Now dividing (10b) by t gives for each iI,

xi(t)t=xi(0)t+λi1t0tkI{0}ρikxi(τ)dτ+1t0tlIρlixl(τ)dτhH(i)ahivhi(t)t.

From (B.7), for any 0<ϵ<miniIλi, there exists T0>0 such that when tT0,xi(t)txi(0)tϵ. Fix such a T0 and define

x˜i(T0)=1T00T0xi(τ)dτ,r˜hi(T0)=hH(i)ahivhi(T0)μhT0,andλ˜i(T0)=λi+xi(0)T0xi(T0)T0.

We note that (r˜hi(T0))H×I is an admissible solution to the FCP (11) associated with system parameters MT0(λ˜(T0),ρ,μ), and x˜(T0) is the corresponding state process. Letting C(MT0) denote the corresponding optimal value, then

ω1T00T0iIcixi(τ)dτω2T00T0hHiIϑhiahivhi(τ)dτ=ω1iIcix˜i(T0)ω2hHiIμhϑhiahir˜hi(T0)C(MT0).(B.8)

Finally, by the continuity of the solution of the FCP with respect to its parameters (Wets 1985, theorem 2 and proposition 8),

limT0 C(MT0)=C(M).(B.9)

Combining (B.8) and (B.9) yields

lim infT0 C¯T0(E(V);E(X(0)),M)=lim infT0[ω1iIcix˜i(T0)ω2hHiIμhϑhiahir˜hi(T0)]C(M).

B.2. Proofs for Section 5

Proof of Proposition 2.

We consider two cases: (i) λ2aμ1μ20 and (ii) λ2aμ1μ2<0.

In Case (i) the constraint (17c) is redundant. Therefore, the optimization is over the two-dimensional cube [0,1]×[0,1]. We have r21e,*=0 because C2>0, and

r11e,*={1,ifC1<0,0,ifC1>0,anyvaluein[0,1],ifC1=0.

In Case (ii), the second constraint (17c) is not redundant. When (r11e,r21e)=(1,1), Constraint (17c) is reduced to be λ20, which always holds true. Consequently, Constraint (17c) is feasible. When C1<0,r11e,* and r21e,* should take the maximum and minimum feasible values, respectively. That is

r11e,*=1,r21e,*=max{0,μ2λ2μ2}.

When C1=0,r21e,* should still take the minimum feasible value, while r11e,* can take any feasible value. That is,

r21e,*=max{0,μ2λ2μ2},r11e,*[1+μ2λ2μ2r21e,*aμ1,1].

Now when C1>0, we need to compare the ratios C1μ1/(C2μ2) with aμ1/μ2, where the latter is the slope of the boundary of Constraint (17c). When C1/C2<a, the optimal solution is achieved when r21e,* takes the minimum feasible value. That is,

(r11e,*,r21e,*)={(1+μ2λ2aμ1,0),μ2λ2,(1,μ2λ2μ2),μ2>λ2,=(min{1+μ2λ2aμ1,1},max{0,μ2λ2μ2}).

Symmetrically, when C1/C2>a, the optimal solution is achieved when r11e,* takes the minimum feasible value. That is,

(r11e,*,r21e,*)={(0,1+aμ1λ2μ2),aμ1λ2,(aμ1λ2aμ1,1),aμ1>λ2,=(max{0,aμ1λ2aμ1},min{1+aμ1λ2μ2,1}).

At last if C1/C2=a, then any feasible point on aμ1r11e,*+μ2r21e,*+λ2aμ1μ2=0 is an optimal solution. This completes the proof. □

Proof of Proposition 3.

The FCP in (11) for this problem is given by

minrije,xiec1x1e+c2x2esubjectto0=λ1ρ10x1eρ12x1e+ρ21x2er11eμ1r21eμ2,0=λ2ρ20x2eρ21x2e+ρ12x1er12eμ1r22eμ2,x1e,x2e0,rije0,i,j=1,2,r11e+r12e1,r21e+r22e1.

We have the matrices

P=(ρ10+ρ12ρ21ρ12ρ20+ρ21),A=P1=1ρ10ρ20+ρ21ρ10+ρ12ρ20(ρ20+ρ21ρ21ρ12ρ10+ρ12).

To reformulate the previous LP, we consider

(x1ex2e) =A(λ1r11eμ1r21eμ2λ2r12eμ1r22eμ2)=A[(λ1λ2)(r11er21er12er22e)(μ1μ2)].(B.10)

When λ1+λ2μ1+μ2, there exists solutions rije,i,j=1,2 to the equation

(λ1λ2)=(r11er21er12er22e)(μ1μ2),
where rije0 and jrije1 for all i. In particular, one solution is given by
r11e=r21e=λ1μ1+μ2,r12e=r22e=λ2μ1+μ2.

Under such a solution, (x1e,x2e)=(0,0), which implies that the optimal solution of the FCP must be zero. Now suppose λ1+λ2>μ1+μ2. Adding the two state equations yields

0=λ1+λ2ρ10x1eρ20x2e(r11e+r21e)μ1(r12e+r22e)μ2,
and
ρ10x1e+ρ20x2e=λ1+λ2(r11e+r21e)μ1(r12e+r22e)μ2>0.

Noting that one of ρ10 and ρ20 must be positive, we have x1e+x2e>0. Therefore, for a nonidling scheduling control, there should be no waste of resources. Consequently, we have r11e+r12e=1 and r21e+r22e=1 at optimality. Using (B.10), we have

(x1ex2e)=(A11A12A21A22)(λ1r11eμ1r21eμ2λ2μ1μ2+r11eμ1+r21eμ2)=(A11(λ1(μ1r11e+μ2r21e))+A12(λ2μ1μ2+(μ1r11e+μ2r21e))A21(λ1(μ1r11e+μ2r21e))+A22(λ2μ1μ2+(μ1r11e+μ2r21e))).

The nonnegativity of x1e and x2e can be written as

(A12A11)(μ1r11e+μ2r21e)A11λ1A12(λ2μ1μ2),(A22A21)(μ1r11e+μ2r21e)A21λ1A22(λ2μ1μ2).

We next consider the objective function. We note that

minr11e,r21e,x1e,x2ec1x1e+c2x2e=minr11e,r21e[(c2A22+c1A12)(c1A11+c2A21)](μ1r11e+μ2r21e).

Therefore, the reformulation of the FCP for this problem is given by

minr11e,r21e[(c2A22+c1A12)(c1A11+c2A21)](μ1r11e+μ2r21e)subjectto(A12A11)(μ1r11e+μ2r21e)A11λ1A12(λ2μ1μ2),(A22A21)(μ1r11e+μ2r21e)A21λ1A22(λ2μ1μ2),r11e,r21e[0,1].

When (c2A22+c1A12)(c1A11+c2A21)>0, an optimal μ1r11e,*+μ2r21e,* should take its minimum feasible value, when (c2A22+c1A12)(c1A11+c2A21)<0, an optimal μ1r11e,*+μ2r21e,* should take its maximum feasible value, and when (c2A22+c1A12)(c1A11+c2A21)=0, an optimal μ1r11e,*+μ2r21e,* can take any feasible value. Finally, using the explicit form of the matrix A, the index

(c2A22+c1A12)(c1A11+c2A21)=c2ρ10c1ρ20det(P),(B.11)
and the previous LP is equivalent to
minr11e,r21e(c2ρ10c1ρ20)(μ1r11e+μ2r21e)subjecttoρ20[μ1r11e+μ2r21e]U,ρ10[μ1r11e+μ2r21e]L,r11e,r21e[0,1],
where L and U are defined as in (23) and (24). We note that L=ρ10(μ1+μ2λ2)ρ12(λ1+λ2μ1μ2) and U=ρ20λ1+ρ21(λ1+λ2μ1μ2). Under the overloaded condition λ1+λ2>μ1+μ2 and Assumption 1, it is clear that U > 0 and ρ20L<ρ10U, but it is possible that L0. Solving this last LP, we have the following optimal solutions and the corresponding optimal states.
  • (i) When c2ρ10c1ρ20>0,r11e,* and r21e,* take their minimum feasible values, and Class 2 customers receives a higher priority from both types of resources. More precisely,

    1. If L0,r11e,*=r21e,*=0, and x1e,*=U/det(P)>0,x2e,*=L/det(P)0,

    2. If L > 0, r11e,*,r21e,*[0,1] such that ρ10(μ1r11e,*+μ2r21e,*)=L, and x1e,*=(ULρ20/ρ10)/det(P)>0,x2e,*=0.

  • When c2ρ10c1ρ20<0,r11e,* and r21e,* take their maximum feasible values, and Class 1 customers receives a higher priority from both types of resources.

    1. If Uρ20(μ1+μ2),r11e,*=r21e,*=1, and x1e,*=(Uρ20(μ1+μ2))/det(P),x2e,*=(ρ10(μ1+μ2)L)/det(P).

    2. If U<ρ20(μ1+μ2),r11e,*,r21e,*[0,1] such that ρ20(μ1r11e,*+μ2r21e,*)=U, and x1e,*=0,x2e,*=(Uρ10/ρ20L)/det(P).

  • When c2ρ10c1ρ20=0, the value function equals zero and r11e,* and r21e,* can take any feasible values. □

B.3. Proofs for Section 6

B.3.1. Proofs for Section 6.2
Proof of Lemma 4.

From proposition 7.1 of Khademi and Liu (2021), the sequence of processes {(X¯n,V¯n)}nN is C-tight and uniformly integrable (there is no matching failure in Khademi and Liu (2021), and the allocation process there is denoted by Un). From (4), Un(t)Vn(t) and Un(t)Un(s)Vn(t)Vn(t) for 0st, which implies that {U¯n}nN is also C-tight and uniformly integrable. Consequently, {(X¯n,V¯n,U¯n)}nN is C-tight and uniformly integrable. It suffices to show the convergence in probability.

We let λ¯n=λn/n and μ¯n=μn/n. We first recall from (4) that

Uhin,*(t)=m=1Ehn(t)1{Xin(νh,mn)>0}1{Zhim=1,whim=1},
where {Zhm=(Zh0m,Zh1m,,ZhIm)}mN is an i.i.d. sequence having the same distribution as the proposed policy Zh in Section 4.4. Similarly, let whn=(wh1,wh2,,whI). We show the result in two steps. In the first step, by letting E¯hn(t)=1nEhn(t), we show that
sup0tT|U¯hin,*(t)0tahir¯hie,*1{X¯in(τ)>0}dE¯hn(τ)|0,(B.12)
in probability, and in the second step we show that
sup0tT|0tahir¯hie,*1{X¯in(τ)>0}dE¯hn(τ)0tahir¯hie,*μ¯hn1{X¯in(τ)>0}dτ|0,(B.13)
in probability.

For the first step (B.12), fix h and i, and for mN, define

Omn=1{X¯in(νh,mn)>0}(1{Zhim=1,whim=1}ahir¯hie,*),
and a filtration
Gmn=Fνh,m+1nnσ(Zhk,whk,k=1,2,,m).

We observe that X¯in(νh,mn)Gm1n and random variables Zhim and whim are independent of each other and of Gm1n. Therefore,

E{Omn|Gm1n}=E{1{X¯in(νh,mn)>0}(1{Zhim=1,whim=1}ahir¯hie,*)|Gm1n}=1{X¯in(νh,mn)>0}(E{1{Zhim=1}}E{1{whim=1}}ahir¯hie,*)=0.

Hence, {Omn} is a {Gmn} martingale difference. Next define for t0,

Dn(t)=m=1ntOmn.

We show that {Dn(t)} is a {Gntn} martingale, that is, E{Dn(t)|Gnsn}=Dn(s) for s < t. To that end, observe that

E{Dn(t)|Gnsn}=E{m=1ntOmn|Gnsn}=E{m=1nsOmn+m=ns+1ntOmn|Gnsn}=E{m=1nsOmn|Gnsn}+E{E{m=ns+1ntOmn|Gm1n}|Gnsn}=Dn(s).

Finally, we observe that

U¯hin,*(t)0tahir¯hi*1{X¯in(τ)>0}dE¯hn(τ)=1nm=1Ehn(t)1{Xin(νh,mn)>0}(1{Zhim=1,whim=1}ahir¯hie,*)=1nDn(E¯hn(t)).

Observing that

sup0tT1nDn(E¯hn(t))sup0tE¯hn(T)1nDn(t),
and sup0tT|E¯hn(t)μ¯ht|0 almost surely by the strong law of large numbers for Poisson processes, to finish the proof of (B.12), it suffices to show that sup0tT|n1Dn(t)|0 in probability. To that end, using Azuma’s inequality (aka Hoeffding-Azuma concentration inequality; Hoeffding 1963, Azuma 1967) and noting that |Omn|2, we have for any ϵ>0,
P(1n|Dn(t)|>ϵ)=P(|m=1ntOmn|>nϵ)2 exp{nϵ2/(8t)},
which yields that
E[1n|Dn(t)|]=0P(1n|Dn(t)|>ϵ)dϵ02 exp{nϵ2/(8t)}dϵ=8tπn.

Using Doob’s inequality, it follows that for any T>0, and as n

P[sup0tT1n|Dn(t)|>ϵ]E[|n1Dn(T)|]ϵ8Tπn0.

This shows (B.12) and completes the first step.

For the second step (B.13), define for t0, Hhn(t)Ehn(t)μhnt. Noting that Ehn(t) is a Poisson process, {Hhn(t);t[0,T]} is an {Ftn} square integrable martingale, and its quadratic variation is given by

[Hhn,Hhn]t=[Ehn,Ehn]t=Ehn(t).

Now observe that

0tahir¯hie,*1{X¯in(τ)>0}dE¯hn(τ)0tahir¯hie,*1{X¯in(τ)>0}μ¯hndτ=1n0tahir¯hie,*1{X¯in(τ)>0}dHhn(τ)+0tahir¯hie,*1{X¯in(τ)>0}(μ¯hnμ¯h)dτ.(B.14)

By Assumption 2, the second integral above converges to zero almost surely. For the previous first integral, we have

E[1n0·ahir¯hie,*1{X¯in(τ)>0}dHhn(τ)]2=E[1n0·ahir¯hie,*1{X¯in(τ)>0}dHhn(τ),1n0·ahir¯hie,*1{X¯in(τ)>0}dHhn(τ)]t=1nE[0t[ahir¯hie,*]21{X¯in(τ)>0}dE¯hn(τ)]1nE[E¯hn(t)]0,
almost surely, which implies that
1n0tahir¯hie,*1{X¯in(τ)>0}dHhn(τ)0,inprobability.(B.15)

This shows (B.13) and completes the second step. This completes the proof. □

Proof of Proposition 4.

The sequence {(X¯n,U¯n)}nN is C-tight and uniformly integrable. It suffices to show the convergence in probability. We first introduce the following scaled centered process. For t0,

M¯in(t)=A¯hn(t)λ¯intkI{0}[N¯ikn(0tρiknX¯in(τ)dτ)0tρiknX¯in(τ)dτ]+lI[N¯lib,n(0tρlinX¯ln(τ)dτ)0tρlinX¯ln(τ)dτ]+hH(i)[U¯hin,*(t)0tahir¯hie,*μ¯hn1{X¯in(τ)>0}dτ].(B.16)

We note that X¯in(t)iIA¯in(t) and the latter is stochastically bounded. From the strong law of large numbers for Poisson processes together with Assumption 2 and Lemma 4, we see that supt[0,T]|M¯in(t)|0 in probability.

The fluid scaled state process can be represented by

X¯in(t)=X¯in(0)+λ¯intkI{0}0tρiknX¯in(τ)dτ+lI0tρlinX¯ln(τ)dτhH(i)0tahir¯hie,*μ¯hn1{X¯in(τ)>0}dτ+M¯in(t)=X¯in(0)+λ¯intkI{0}0tρiknX¯in(τ)dτ+lI0tρlinX¯ln(τ)dτhH(i)0tahir¯hie,*μ¯hndτ+hH0tahir¯hie,*μ¯hn1{X¯in(τ)=0}dτ+M¯in(t).

Let

F¯in(t)=X¯in(0)+λ¯inthH0tahir¯hie,*μ¯hndτ+M¯in(t),(B.17)
and
Y¯in(t)=hH0tahir¯hie,*μ¯hn1{X¯in(τ)=0}dτ.

From Assumption 2, supt[0,T]|F¯in(t)fi(t)|0 in probability, where

fi(t)=x¯i(0)+λ¯ithHahir¯hie,*μ¯ht.

Next, Y¯in(0)=0,Y¯in(t) is nondecreasing in t, and 0TX¯in(τ)dY¯in(τ)=0. Hence, (X¯n,Y¯n)=(Φ,Ψ)(F¯n), where Φ and Ψ are generalized linear Skorokhod mappings associated with P¯ and the identity reflection matrix presented in the appendix of Reed and Ward (2004). By the Lipschitz continuity of maps Φ and Ψ, we have supt[0,T]|(X¯in(t),Y¯in(t))(x¯i(t),y¯i(t))|0 in probability, where

x¯i(t)=x¯i(0)+λ¯i(t)kI{0}0tρ¯ikxi(τ)dτ+lI0tρ¯lixl(τ)dτhHahir¯hie,*μ¯ht+y¯i(t)
with 0x¯i(t)dy¯i(t)=0, where y¯i(0)=0 and y¯i(t) is nondecreasing.

Finally, using the convergence of Y¯in, we have

0t1{X¯in(τ)=0}dτy¯i(t)hHahir¯hie,*μ¯hn,
in probability uniformly for t[0,T]. From Lemma 4, (37) follows now. This completes the proof. □

B.3.2. Proofs for Section 6.3
Proof of Proposition 5.

We first introduce the (projected dynamical system) PDS and (variational inequality) VI problem associated with R+I and the function F defined in (40). Recall that ei denotes the I-dimensional unit vector with one being the ith component and zero for the other components. For xR+I, let I(x)={iI:x,ei=0}, and define the set of inward normals at x by

n(x)={γ=iI(x)αiei:αi0,γ=1}.(B.18)

When x(R+I)°, we define

n(x)={γRI:γ=1}.

For an xR+I and vRI, define Π(x,v) as the projection of v at x along inward normals such that (i) if x(R+I)°,Π(x,v)=v, and (ii) if xR+I,

Π(x,v)=v+max{0,v,γ(x,v)}γ(x,v),
where γ(x,v)argmaxγn(x)v,γ. In particular, if x,ei0 for all iI(x), which means that the vector v points into the domain R+I at x, then v,γ0 for any γn(x) and Π(x,v)=v. Otherwise, if v points out of R+I, then γ(x,v)=ei for some iI(x), and the projected vector Π(x,v) will be tangent to the hyperplane {yR+I:y,ei=0}.

From chapter 1 of Nagurney and Zhang (2012), for any initial condition ϕ0R+I, the function ϕ:[0,)R+I is a solution to the PDS associated with R+I and F if ϕ is absolutely continuous and ϕ˙(t)=Π(ϕ(t),F(ϕ(t))) for almost every t. The VI problem associated with R+I and F is to find x¯*R+I such that

F(x¯*),xx¯*0,xR+I.

Lemma 1 and theorem 2 of Dupuis and Nagurney (1993) yield that the pair (x¯,y¯) solves the reflected ODE (39) if and only if x¯ solves the PDS associated with R+I and F, and the equilibrium points of the reflected ODE x¯(t) coincide with the solutions of the VI problem.

To show the uniqueness of the x¯e,*, we note that a point x¯* can be an equilibrium point of the reflected ODE x¯(t) if either (i) F(x¯*)=0 or (ii) x¯*R+I, such that F(x¯*)=αγ for α>0 and γn(x¯*). The unique solution for (i) is x¯e,*. Let’s now consider (ii). We note that F(x¯*)=P¯x¯b¯=αγ results in

x¯=A¯b¯+αA¯γ=x¯e,*+αA¯γ,(B.19)
where A¯=P¯1. Because x¯*R+I, there is at least one zero in the elements of x¯*. From the previous definition, I(x¯*) denotes the set of zero component indices in x¯*, and γ is a linear combination of ei for iI(x¯) and γ=1. Thus there exists an i0I(x¯*) such that γi0>0. Now from (B.19) and Lemma 1 for P¯ and A¯,
0=x¯i0=x¯i0e,*+αj=1IA¯i0jγjx¯i0e,*+αA¯i0i0γi0>0,
which yields a contradiction. Therefore, it cannot satisfy (ii). This shows the uniqueness of the equilibrium point.

We next show the stability of x¯e,*. Recall the Lyapunov function defined in (44). Clearly, V(x¯e,*)=0, V (x) > 0 for any xx¯e,*, and V(x) as x. Furthermore, we have that

ddtV(x¯(t))=(x¯(t)x¯e,*)Dx¯˙(t)=(x¯(t)x¯e,*)DΠ(x¯(t),F(x¯(t))).

From lemma 2.1 in Nagurney and Zhang (2012),

Π(x¯(t),F(x¯(t)))=F(x¯(t))+βγ
for some β0 and some γn(x¯). It follows that
ddtV(x¯(t))=(x¯(t)x¯e,*)DF(x¯(t))+(x¯(t)x¯e,*)Dβγ=(x¯(t)x¯e,*)D(P¯x¯(t)b¯)+(x¯(t)x¯e,*)βDγ=(x¯(t)x¯e,*)DP¯(x¯(t)x¯e,*)+(x¯(t)x¯e,*)βDγ.(B.20)

Considering the last equation (B.20), we see that

(x¯(t)x¯e,*)DP¯(x¯(t)x¯e,*)=12[(x¯(t)x¯e,*)DP¯(x¯(t)x¯e,*)+(x¯(t)x¯e,*)P¯D(x¯(t)x¯e,*)]=12(x¯(t)x¯e,*)(DP¯+P¯D)(x¯(t)x¯e,*)<0.

For the second term in (B.20), if x¯(t)(R+I)°, then β = 0 and the second term equals zero. Now if x¯(t)R+I, then β>0,γ=iI(x¯(t))αiei and (x¯(t)x¯e,*)γ0. We further note that

(x¯(t)x¯e,*)βDγ=iI(x¯(t))(x¯i(t)x¯ie,*)βDiiαiei,
which implies that (x¯(t)x¯e,*)βDγ0. It now follows that for each t > 0,
ddtV(x¯(t))<0.

Because DP¯+P¯D is positive definite, letting κ to be a positive constant that is smaller than the eigenvalues and diagonal entries of DP¯+P¯D, then DP¯+P¯DκI is also positive definite. Consequently, we have

ddtV(x¯(t))12(x¯(t)x¯e,*)(DP¯+P¯D)(x¯(t)x¯e,*)
=12(x¯(t)x¯e,*)(DP¯+P¯DκI)(x¯(t)x¯e,*)12κx¯(t)x¯e,*2
12κx¯(t)x¯e,*2(B.21)
κmaxiI DiiV(x¯(t)).(B.22)

The results follows from the Lyapunov criterion for globally exponential stability.

Last, from (41), we observe that

y¯(t)t=x¯(0)tx¯(t)t1t0tF(x¯(τ))dτ.

From (42), limtx¯(t)=x¯e,*, which yields that

limtx¯(t)t=0,limt1t0tF(x¯(τ))dτ=F(x¯e,*)=0,
and consequently, limty¯(t)/t=0. □

Proof of Proposition 6.

We first establish Lemmas B.1 and B.2, which play an important role in the proof of (48) in Proposition 6. Recall the Lyapunov function Vn defined in (50).

Lemma B.1.

There exists an n0N such that when nn0

LnVn(x)a1Vn(x)+a2x+n2δn,xZ+I,(B.23)
where a1 and a2 are positive constants independent of x and n, and {δn}n=1 is a sequence independent of x satisfying limnδn=0.

Proof of Lemma B.1.

From Assumption 2, there exists n1N such that when nn1, the matrix Pn is a nonsingular M-matrix. We let nn1. For notational convenience, we let γin=hH(i)ahir¯hie,*μhn represent the total supply allocation rate to customers of Class i, and xic=xinx¯ie,*. From (47),

LnVn(x)=iIλinDiin[2xic+1]+iI(γin+xiρi0n)Diin[2xic+1]
+iIjIxiρijn[Djjn(2xjc+1)+Diin(2xic+1)]
=iI(λinDiin+γinDiin)+iIxiρi0nDiin+iIjIxiρijn(Djjn+Diin)(B.24)
+2iI(λinγin)Diinxic2iIxiρi0nDiinxic+2iIjIxiρijn[DjjnxjcDiinxic].(B.25)

The quantity in (B.24) can be bounded by C1(n+x) for some C1>0 independent of n and x. In (B.25), the quantity λinγin satisfies

limnλinγinn=λ¯hH(i)ahir¯hie,*μ¯h,
where
λ¯hH(i)ahir¯hie,*μ¯hkI{0}ρ¯ikx¯ie,*+lIρ¯lix¯le,*=0.

Hence, for υn, independent of x, converging to zero,

λinγin=nkI{0}ρ¯ikx¯ie,*nlIρ¯lix¯le,*+nυn=kI{0}ρiknnx¯ie,*lIρlinnx¯le,*+kI{0}(ρ¯ikρikn)nx¯ie,*lI(ρ¯liρlin)nx¯le,*+nυn.

Also noting that ρijn=ρ¯ij+ϵijn for all iI and jI{0}, where ϵijn, independent of x, converges to zero as n, now (B.25) can be rewritten as

2iI[kI{0}ρiknnx¯ie,*lIρlinnx¯le,*+kI{0}ϵiknnx¯ie,*lIϵlinnx¯le,*+nυn]Diinxic2iIxiρi0nDiinxic+2iIjIxiρijn[DjjnxjcDiinxic]=2iIDiinρi0n(xic)22iIkIDiinρikn(xic)2+2iIlIDiinρlinxlcxic+Δn,(B.26)
where
Δn=2iIkI{0}ϵiknnx¯ie,*DiinxiciIlIϵlinnx¯le,*Diinxic+2iInυnDiinxicC2nϵnxc,(B.27)
with C2>0 independent of n and x and ϵn=iIjI{0}|ϵijn|+|υn|. We observe that (B.26) can be written in the following matrix form:
2(xc)DnPnxc+Δn=(xc)[DnPn+(Pn)Dn]xc+Δn.

We note that from Tartar (1971), the matrices Dn and D can be constructed such that DnD as n. Then for any yRI,

y[DnPn+(Pn)Dn]y=y[DnPn+(Pn)Dn(DP¯+P¯D)]y+y[DP¯+P¯D]yκy2+y[DnPn+(Pn)Dn(DP¯+P¯D)]yκy2y2DnPn+(Pn)Dn(DP¯+P¯D),
where κ is as in the analysis for (B.22), and the norm of matrices is the L2 norm. We can choose sufficiently large n such that DnPn+(Pn)Dn(DP¯+P¯D)<κ. Then we conclude that there exists a constant C3>0 independent of n and x such that
(xc)[DnPn+(Pn)Dn]xcC3xc2.(B.28)

Combining the estimate for (B.24), and (B.27) and (B.28), we have for some C4>0 independent of n and x,

LnVn(x)C1(n+x)+C2nϵnxcC3xc2C1(n+x)+C22[(n2|ϵn|)+(|ϵn|xc)2]C3xc2C4[n+x+n2|ϵn|+xc2|ϵn|]C3xc2C4[n+x+n2|ϵn|]C3/2xc2
because there exists n0N when nn0,C4|ϵn|<C3/2. Noting that C32xc2C5Vn(x) for some C5>0 not depending on n or x, we have for nn0n1N,
LnVn(x)C5Vn(x)+C4(x+n2(1n+|ϵn|)).

The result follows by taking δn=1n+|ϵn|. □

The next result shows that for a fixed time t, the expected value of the norm of the state process grows at most linearly in n for sufficiently large n.

Lemma B.2.

There exists NN such that when nN,

supt0 E(Xn(t))a3E(Xn(0))+a4n,(B.29)
where a3 and a4 are positive constants independent of n, N, and t.

Proof of Lemma B.2.

From the proof of Lemma 3, E(Xin(t))yin(t), where

yin(t)=E(Xin(0))+λint0tkI{0}ρiknyin(s)ds+0tlIρlinyln(s)ds.

Let I¯1={iI:ρ¯i0>0} and I¯2=I\I¯1. We then have

iIyin(t)=iIE(Xin(0))+iIλint0tiI1ρi0nyin(s)dsiIE(Xin(0))+iIλint0tiI¯1ρi0nyin(s)ds.

From Assumption 2, there exists NN such that

infnN min{ρi0n:iI¯1}miniI¯1ρ¯i02d¯>0.

From (B.2), we have

iI¯1yin(t)(iIE(Xin(0))+iIλint)ed¯t.(B.30)

Now from Lemma 1, for iI¯2, there exists a j(i)I1 such that A¯j(i),i>0. Noting that PnP¯ and AnA¯, from Assumption 2, there exists N˜N such that

infnN˜ miniI¯2 Aj(i),inminiI¯2 A¯j(i),i2a¯>0.

Then from (B.6), we have

iI¯2yin(t)a¯1(jIkIAjknE(Xkn(0))+jIkIAjknλknt)ea¯1t.(B.31)

Combining (B.30) and (B.31) gives

E(iIXin(t))iIyin(t)c1E(iIXin(0))+c2n,
where c1,c2>0 are independent of n and t. □

We now start the proof of Proposition 6. We first consider (48). Recall that {Xn(t):t0} is a Markov chain with generator Ln. Also, iIXin(t)iIXin(0)+iIAin(t). By assumption, Xin(0) has a finite second moment and Esup0tTA(t)2 is finite for any n and T. Therefore, the following process is a martingale for the defined quadratic Vn(·)

Vn(Xn(t))0tLnVn(Xn(s))ds.

Thus, we have

E[Vn(Xn(t))]=E[Vn(Xn(0))]+E[0tLnVn(Xn(s))ds].(B.32)

Dividing (B.32) by n2, from Lemma B.1, we have

n2E[Vn(Xn(t))]n2E[Vn(Xn(0))]+n2E[0t(a1Vn(Xn(s))+a2Xn(s)+n2δn)ds].

Let hn(t)=n2E[Vn(Xn(t))]. Using Lemma B.2, we then have

hn(t)a10thn(s)ds+hn(0)+a2n2(a3E[Xn(0)]+a4n+n2δn)t(B.33)
=a10thn(s)ds+hn(0)+δ2nt,(B.34)
where δ2n=a2n2(a3E[Xn(0)]+a4n+n2δn). Clearly, δ2n converges to zero as n. We consider the following differential equation:
dy(t)dt=a1y(t)+δ2n,y(0)=hn(0)
with the unique solution y(t)=(hn(0)a11δ2n)ea1t+a11δ2n,t0.

By the comparison principle for solutions of differential inequalities hn(t)y(t). Finally, for some a5>0 independent of n and t, we have

E(X¯n(t)x¯e,*)a5E(n2Vn(Xn(t)))=a5hn(t)a5y(t)=a5(δ1na11δ2n)ea1t+a5a11δ2n,(B.35)
which yields the proposition because the right-hand side goes to zero as n,t.

We now focus on proving (49). It suffices to show that

limn limt E[|U¯hin(t)tμ¯hnahir¯hie,*1t0t1{X¯in(τ)>0}dτ|]=0,(B.36)
and
limn limt1t0tE[1{X¯in(τ)=0}]dτ=0.(B.37)

Following the proof of Lemma 4, we have that

|U¯hin(t)tμ¯hnahir¯hie,*1t0t1{X¯in(τ)>0}dτ|1t|U¯hin(t)ahir¯hie,*0t1{X¯in(τ)>0}dE¯hn(τ)|+ahir¯hie,*nt|0t1{X¯in(τ)>0}dHhn(τ)|1nt|m=1Ehn(t)Omn|+ahir¯hie,*nt|0t1{X¯in(τ)>0}dHhn(τ)|.(B.38)

Considering the first term in (B.38), we let for s0,

D˜n,t(s)=1ntm=1ntsOmn.

Using the same proof as for Dn(t) in the proof of Lemma 4, we have for T0, as nt,

sup0sT D˜n,t(s)0,inprobability.

Next using the strong law of large numbers for Poisson processes in t, we have for each nN,limt E¯hn(t)/t=μ¯hn almost surely. Finally, for any ϵ>0,

P(1ntm=1Ehn(t)Omn>ϵ)=P(D˜n,t(E¯hn(t)/t)>ϵ)=P(D˜n,t(E¯hn(t)/t)>ϵ,E¯hn(t)/t2μ¯h)+P(D˜n,t(E¯hn(t)/t)>ϵ,E¯hn(t)/t>2μ¯h)P(sup0s2μ¯h D˜n,t(s)>ϵ)+P(E¯hn(t)/tμ¯hn>2μ¯hμ¯hn),
which yields that for large enough n satisfying 2μ¯hμ¯hn>μ¯h/2,
limt P(1ntm=1Ehn(t)Omn>ϵ)=0.(B.39)

The second term in (B.38) has the following quadratic variation:

1n2t20t[ahir¯hie,*]21{X¯in(τ)=0}dEhn(τ)Ehn(t)n2t20,almostsurelyast(B.40)

(B.39) and (B.40) show that |t1U¯hin(t)μ¯hnahir¯hie,*t10t1{X¯in(τ)>0}dτ| converges to zero in probability as t and then n. We next observe that |t1U¯hin(t)μ¯hnahir¯hie,*t10t1{X¯in(τ)>0}dτ|Ehn(t)/(nt)+μ¯hnahir¯hie,*, which is uniformly integrable for all t and n. Thus, (B.36) follows. To show (B.37), we consider the fluid scaled state process X¯n(t) under the proposed policy π*. Let xin(t)=E[X¯in(t)] and uhin(t)=E[U¯hin(t)]. Then for t0 and iI,

xin(t)t=xin(0)t+(λ¯inhH(i)μ¯hnahir¯hie,*)1t0tkI{0}ρiknxin(τ)lIρlinxln(τ)dτhH(i)[uhin(t)tμ¯hnahir¯hie,*1t0t1{X¯in(τ)>0}dτ]+hH(i)μ¯hnahir¯hie,*1t0tE[1{X¯in(τ)=0}]dτ.

Consider large enough n such that ρn satisfies Assumption 1. From the proof of Proposition 1, limtxin(t)/t=0. From (48),

limn lim supt1t0tkI{0}ρiknxin(τ)lIρlinxln(τ)dτ=kI{0}ρ¯ikx¯ie,*lIρ¯lix¯le,*.

Now combining the previous convergence and (B.36) yields that

limn lim supthH(i)μ¯hnahir¯hie,*1t0tE[1{X¯in(τ)=0}]dτ=limn lim supt(xin(t)txin(0)t)[(λ¯inhH(i)μ¯hnahir¯hie,*)(kI{0}ρ¯ikx¯ie,*lIρ¯lix¯le,*)]=0.

Consequently, (B.37) follows. □

Proof of Proposition 7.

We verify the sufficient condition of ergodicity in proposition 8.14 of Robert (2013). In particular, we consider the function V¯n(x)=(xx¯e,*)Dn(xx¯e,*) for xR+I (V¯n(x) is the fluid scaled version of the Lyapunov function Vn(·) that is defined in (50)). We will show that for large enough n, there exists positive K and γ (possibly depending on n) such that

  • (a) If V¯n(x)>K, then LnV¯n(x)γ,

  • (b) E[sups[0,1]V¯n(X¯n(s))]< and E[01|LnV¯n(X¯n(s))|ds]<,

  • (c) The set F={x:V¯n(x)K} is finite.

From Lemma B.1, for large enough n,

LnV¯n(x)a1V¯n(x)+a2x+δn,xn1Z+I,(B.41)
where a1 and a2 are positive constants independent of x and n, and {δn}n=1 is a sequence independent of x satisfying limnδn=0. From the construction of V¯n(x), there exists c1>0 such that xx¯*,e2c1V¯n(x), which yields that
x2x¯*,e2+c1V¯n(x),xR+I.

Let for xR+I,

U(x)=a2x¯*,e2+c1V¯n(x),(B.42)
and then in (B.41), the term a2xU(x) for all xR+I. Solving (B.42) for V¯n(x), we have
V¯n(x)=U(x)2a22c1x¯*,e2c1.(B.43)

The right-hand side of (B.41) can be estimated as follows:

a1V¯n(x)+a2x+δna1U(x)2a22c1+a1x¯*,e2c1+U(x)+δn=a1a22c1(U(x)a22c12a1)2+a22c14a1+a1x¯*,e2c1+δn.(B.44)

We next observe that from (B.42), when V¯n(x)>K for some K large enough, U(x)>a2x¯*,e2+c1K. Thus, we can choose K such that the quantity in (B.44) is less than

a1a22c1(a2x¯*,e2+c1Ka22c12a1)2+a22c14a1+a1x¯*,e2c1+δnγ<0.

This shows condition (a). To show (b), from Lemma B.2, we have for each T0,

supnN E[sup0tTX¯n(t)2]<.

Noting that for some c2>0,V¯n(x)c2xx¯*,e22c2x2+2c2x¯*,e, we have

E[sup0tT V¯n(X¯n(t))]<,
which yields the first part of (b). The second part of (b) follows by considering (B.41) and applying the first part of (b) to V¯n(x) and Lemma B.2 to x in the right-hand side of (B.41). At last, condition (c) holds noting that the state space X¯n(t) is 1nN0I. This completes the proof. □

B.3.3. Proofs for Section 6.1
Proof of Theorem 1.

We first prove (29). Let (X¯,V¯,U¯) be an arbitrary limit along a subsequence {n} of {n}. Using Fatou’s lemma, we have

limn C¯Tn(πn;Xn(0),Mn)ω1T0TiIciE[X¯i(t)]dtω2TiIhH(i)ϑhiE[U¯hi(T)].(B.45)

Also, we have E[Uhi(t)]=ahiE[Vhi(t)], and {(E[Vhi(t)])H×I;t[0,T]} is an admissible control to the transitional control problem defined in Definition 1 with initial value x¯(0) and parameters M¯. Thus, (B.45) is equivalent to

limn C¯Tn(πn;Xn(0),Mn)C¯T(E[V¯];x¯(0),M¯).(B.46)

Finally, from Proposition 1, we have

lim infT limn C¯Tn(πn;Xn(0),Mn)lim infT C¯T(E[V¯];x¯(0),M¯)C(M¯),
which implies the second part of (29).

We now consider the proposed randomized policy π* and prove the first part of (29). From Proposition 4, we have for each T > 0, and iI,

E[sup0tT|hH(i)U¯hin(t)(hHahir¯hie,*μ¯hty¯i(t))|]0,(B.47)
E[sup0tT|X¯in(t)x¯i(t)|]0.(B.48)

Thus,

limn C¯Tn(πn,*;Xn(0),Mn)=ω1T0TiIci limn E[X¯in(t)]dtω2TiIhH(i)ϑhi limn E[U¯hin(T)]=ω1T0TiIcix¯i(t)dtω2TiIhH(i)ϑhiu¯hi(T)=ω1iIci·1T0Tx¯i(t)dtω2iIhH(i)ϑhi·u¯hi(T)T.

Corollary 2 yields that

limT limn C¯Tn(πn,*;Xn(0),Mn)=ω1iIcix¯ie,*ω2iIhH(i)ϑhiμ¯hahir¯hie,*=C(M¯).

We now prove (30). For any admissible control πn, from Proposition 1,

lim infT C¯Tn(πn;Xn(0),Mn)C(M¯n).

From Wets (1985), the LP (14) is continuous in its parameters; thus, we have

lim infn lim infT C¯Tn(πn;Xn(0),Mn)lim infn C(M¯n)=C(M¯),
which is the second part of (30). Now consider the proposed policy π* from Proposition 6:
limn lim supT C¯Tn(πn,*;Xn(0),Mn)=limn lim supTω1T0TiIciE[X¯in(t)]dtlimn lim supTω2TiIhH(i)ϑhiE[U¯hin(T)]=ω1iIcix¯ie,*ω2iIhH(i)ϑhiμ¯hahir¯hie,*=C(M¯).

This completes the proof of the first part of (30). The theorem follows now. □

Proof of Theorem 2.

It is an immediate corollary from Corollary 2 and Propositions 6 and 7. □

Proof of Corollary 1.

For each t0, using the functional law of large numbers for i.i.d. sequence, we have

1mk=1mZhikwhikr¯hie,*ahi,almostsurely,asm.

Using functional law of large numbers for the Poisson processes and the continuous mapping theorem,

limn limt1ntU˜hin(t)=limn1nlimt1tk=1Ehn(t)Zhikwhik=limnμhnnr¯hie,*ahi=μ¯hr¯hie,*ahi,
and
limt limn1ntU˜hin(t)=limt1tlimn1nk=1Ehn(t)Zhikwhik=limtμ¯httr¯hie,*ahi=μ¯hr¯hie,*ahi.

The corollary follows now from Theorem 2. □

B.4. Proofs for Section 8

Proof of Lemma 5.

Recall that we have

xie=kIAikλkkIAikhH(k)μhahkrhke=kIAikλkkIhH(k)Aikμhahkrhke=kIAikλkhHkI(h)Aikμhahkrhke=kIAikλkhHμhkI(h)Aikahkrhke.

We first observe that kI(h)Aikahk>0 for hH(i) because resource type h serves customer i, that is, iI(h) and we know that Aii > 0 and ahi > 0. Therefore, for hH(i) if kI(h)rhke,*<1, we can increase rhke,* by a small enough ϵ>0 and decrease the value of xie,*>0 by ϵhHμhkI(h)Aikahk still satisfying xie0 constraint. Thus, the value of iIcixie,* and iIhH(i)ϑhiμhahirhie,* will decrease, which contradicts with the optimality of xie,*. □

Proof of Corollary 3.

Because processes Vn(t) and Un(t) are only different in terms of the Bernoulli random variable for the success of each match, setting ahi = 1 in Theorem 2 yields for iI and hH(i),

limt limn E[|V¯hin(t)/tμ¯hr¯hie,*|]=limn limt E[|V¯hin(t)/tμ¯hr¯hie,*|]=0.

Because iI(h)r¯hie,*=1, we have

|iI(h)V¯hin(t)/tμ¯h|=|iI(h)(V¯hin(t)/tμ¯hr¯hie,*)|iI(h)|V¯hin(t)/tμ¯hr¯hie,*|,
which yields
E|iI(h)V¯hin(t)/tμ¯h|iI(h)E|V¯hin(t)/tμ¯hr¯hie,*|,
and consequently
limt limn E[|iI(h)V¯hin(t)/tμ¯h|]=limn limt E[|iI(h)V¯hin(t)/tμ¯h|]=0.

Strong law of large numbers for Poisson processes yields

limt limn E[|E¯hn(t)/tμ¯h|]=limnlimtE[|E¯hn(t)/tμ¯h|]=0.

Therefore, we have

|iI(h)V¯hin(t)/tE¯hn(t)/t|=|iI(h)V¯hin(t)/tμ¯h(E¯hn(t)/tμ¯h)||iI(h)V¯hin(t)/tμ¯h|+|E¯hn(t)/tμ¯h|,
which yields the result by taking expectation from equation above and using the interchange limit results for each term. □

References

  • Afeche P, Caldentey R, Gupta V (2021) On the optimal design of a bipartite matching queueing system. Oper. Res. 70(1):363–401.Google Scholar
  • Akan M, Alagoz O, Ata B, Erenay FS, Said A (2012) A broader view of designing the liver allocation system. Oper. Res. 60(4):757–770.LinkGoogle Scholar
  • Arapostathis A, Pang G (2016) Ergodic diffusion control of multiclass multi-pool networks in the halfin–whitt regime. Ann. Appl. Probabilities 26(5):3110–3153.Google Scholar
  • Arapostathis A, Biswas A, Pang G (2015) Ergodic control of multi-class m/m/n + m queues in the halfin–whitt regime. Ann. Appl. Probabilities 25(6):3511–3570.Google Scholar
  • Armony M, Ward AR (2010) Fair dynamic routing in large-scale heterogeneous-server systems. Oper. Res. 58(3):624–637.LinkGoogle Scholar
  • Arnosti N, Shi P (2020) Design of lotteries and wait-lists for affordable housing allocation. Management Sci. 66(6):2291–2307.LinkGoogle Scholar
  • Ata B, Ding Y, Zenios S (2021) An achievable-region-based approach for kidney allocation policy design with endogenous patient choice. Manufacturing Service Oper. Management 23(1):36–54.LinkGoogle Scholar
  • Atar R, Giat C, Shimkin N (2010) The cμ/θ rule for many-server queues with abandonment. Oper. Res. 58(5):1427–1439.LinkGoogle Scholar
  • Atar R, Giat C, Shimkin N (2011) On the asymptotic optimality of the cμ/θ rule under ergodic cost. Queueing Systems 67(2):127–144.Google Scholar
  • Aveklouris A, DeValve L, Ward AR, Wu X (2021) Matching impatient and heterogeneous demand and supply. Preprint, submitted February 4, https://arxiv.org/abs/2102.02710.Google Scholar
  • Azuma K (1967) Weighted sums of certain dependent random variables. Tohoku Math. J. 19(3):357–367.Google Scholar
  • Becker GS (1973) A theory of marriage: Part I. J. Political Econom. 81(4):813–846.Google Scholar
  • Bramble JH, Hubbard BE (1964) On a finite difference analogue of an elliptic boundary problem which is neither diagonally dominant nor of non-negative type. J. Math. Phys. 43(1–4):117–132.Google Scholar
  • Cao P, Xie J (2016) Optimal control of a multiclass queueing system when customers can change types. Queueing Systems 82(3–4):285–313.Google Scholar
  • Chen Y-J, Dai T, Korpeoglu GC, Körpeoğlu E, Sahin O, Tang CS, Xiao S (2020) OM Forum: Innovative online platforms: Research opportunities. Manufacturing Service Oper. Management 22(3):430–445.LinkGoogle Scholar
  • Ding Y, McCormick ST, Nagarajan M (2021) A fluid model for one-sided bipartite matching queues with match-dependent rewards. Oper. Res. 69(4):1256–1281.Google Scholar
  • Down DG, Lewis ME (2010) The N-network model with upgrades. Probability Engrg. Inform. Sci. 24(2):171–200.Google Scholar
  • Dupuis P, Nagurney A (1993) Dynamical systems and variational inequalities. Ann. Oper. Res. 44(1):7–42.Google Scholar
  • Evans RW (1987) The economics of heart transplantation. Circulation 75(1):63–76.Google Scholar
  • Goodman JC (2016) What is a year of life worth? Accessed November 1, 2022, https://www.forbes.com/sites/johngoodman/2014/12/22/what-is-a-year-of-life-worth/?sh=9491956ad982.Google Scholar
  • Gurvich I, Ward A (2015) On the dynamic control of matching queues. Stochastic Systems 4(2):479–523.LinkGoogle Scholar
  • Hasankhani F, Khademi A (2017) Efficient and fair heart allocation policies for transplantation. MDM Policy Practice 2(1):2381468317709475.Google Scholar
  • Hasankhani F, Khademi A (2021) Is it time to include post-transplant survival in heart transplantation allocation rules? Production Oper. Management. 30(8):2653–2671.Google Scholar
  • Hoeffding W (1963) Probability inequalities for sums of bounded random variables. J. Amer. Statist. Assoc. 58:13–30.Google Scholar
  • Hu Y, Chan CW, Dong J (2021) Optimal scheduling of proactive service with customer deterioration and improvement. Management Sci. 68(4):2533–2578.Google Scholar
  • Khademi A, Liu X (2021) Asymptotically optimal allocation policies for transplant queueing systems. SIAM J. Appl. Math. 81(3):1116–1140.Google Scholar
  • Nagurney A, Zhang D (2012) Projected Dynamical Systems and Variational Inequalities with Applications, vol. 2 (Springer Science & Business Media, Boston).Google Scholar
  • OPTN (2021) OPTN policies. Accessed May 15, 2021, https://optn.transplant.hrsa.gov/media/1200/optn_policies.pdf.Google Scholar
  • Özkan E, Ward AR (2020) Dynamic matching for real-time ride sharing. Stochastic Systems 10(1):29–70.LinkGoogle Scholar
  • Pang G, Yao DD (2013) Heavy-traffic limits for a many-server queueing network with switchover. Adv. Appl. Probabilities 45(3):645–672.Google Scholar
  • Perry O, Whitt W (2009) Responding to unexpected overloads in large-scale service systems. Management Sci. 55(8):1353–1367.LinkGoogle Scholar
  • Perry O, Whitt W (2011) A fluid approximation for service systems responding to unexpected overloads. Oper. Res. 59(5):1159–1170.LinkGoogle Scholar
  • Perry O, Whitt W (2013) A fluid limit for an overloaded x model via a stochastic averaging principle. Math. Oper. Res. 38(2):294–349.LinkGoogle Scholar
  • Perry O, Whitt W (2015) Achieving rapid recovery in an overload control for large-scale service systems. INFORMS J. Comput. 27(3):491–506.LinkGoogle Scholar
  • Plemmons RJ (1977) M-matrix characterizations. I. Nonsingular M-matrices. Linear Algebra Appl. 18(2):175–188.Google Scholar
  • Puha AL, Ward AR (2019) Scheduling an overloaded multiclass many-server queue with impatient customers. Operations Research & Management Science in the Age of Analytics (INFORMS), 189–217.LinkGoogle Scholar
  • Reed J, Ward AR (2004) A diffusion approximation for a generalized jackson network with reneging. Proc. 42nd Annual Allerton Conf. Comm. Control Computing (University of Illinois, Monticello, IL), 983–995.Google Scholar
  • Robert P (2013) Stochastic Networks and Queues, vol. 52 (Springer Science & Business Media, Boston).Google Scholar
  • Roth AE, Sotomayor M (1992) Two-sided matching. Aumann R, Hart S, eds. Handbook of Game Theory with Economic Applications, vol. 1 (North Holland, Amsterdam), 485–541.Google Scholar
  • Stolyar AL, Tezcan T (2011) Shadow-routing based control of flexible multiserver pools in overload. Oper. Res. 59(6):1427–1444.LinkGoogle Scholar
  • Tartar L (1971) Brève communication. Une nouvelle caractérisation des matrices. Rev. Française Informs. Res. Oper. Ser. Rouge 5(R3):127–128.Google Scholar
  • UNOS (2021) Simulated allocation models. Accessed March 1, 2021, https://www.srtr.org/requesting-srtr-data/simulated-allocation-models/.Google Scholar
  • Wets RJ-B (1985) On the continuity of the value of a linear program and of related polyhedral-valued multifunctions. Mathematical Programming Essays in Honor of George B. Dantzig Part I (Springer, Berlin), 14–29.Google Scholar
  • Xie J, Zhu T, Chao A-K, Wang S (2017) Performance analysis of service systems with priority upgrades. Ann. Oper. Res. 253(1):683–705.Google Scholar