Next Article in Journal
Introducing a Novel Method for Smart Expansive Systems’ Operation Risk Synthesis
Next Article in Special Issue
Comparing Distributions of Sums of Random Variables by Deficiency: Discrete Case
Previous Article in Journal
Rota–Baxter (Co)algebra Equation Systems and Rota–Baxter Hopf Algebras
Previous Article in Special Issue
Conditions for Existence of Second-Order and Third-Order Filters for Discrete Systems with Additive Noises
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Equilibrium in a Queueing System with Retrials

by
Julia Chirkova
1,*,†,‡,
Vladimir Mazalov
1,2,†,‡ and
Evsey Morozov
1,2,3,†,‡
1
Institute of Applied Mathematical Research, Karelian Research Centre, Russian Academy of Sciences, 185910 Petrozavodsk, Russia
2
Institute of Mathematics and Information Technologies, Petrozavodsk State University, 185035 Petrozavodsk, Russia
3
Moscow Center for Fundamental and Applied Mathematics, Moscow State University, 119991 Moscow, Russia
*
Author to whom correspondence should be addressed.
Current address: IAMR KarRC RAS, 11, Pushkinskaya Str., 185910 Petrozavodsk, Russia.
These authors contributed equally to this work.
Submission received: 31 December 2021 / Revised: 24 January 2022 / Accepted: 26 January 2022 / Published: 28 January 2022
(This article belongs to the Special Issue Stability Problems for Stochastic Models: Theory and Applications II)

Abstract

:
We find an equilibrium in a single-server queueing system with retrials and strategic timing of the customers. We consider a set of customers, each of which must decide when to arrive to a queueing system during a fixed period of time. In this system, after completion of service, the server seeks a customer blocked in a virtual orbit (orbital customer) to be served next, unless a new customer captures the server. We develop, in detail, a setting with two and three customers in the set, and formulate and discuss the problem for the general case with an arbitrary number of customers. The numerical examples for the system with two and three customers included as well.

1. Introduction

The retrial queues have been attracting increasing interest because of their importance in modeling modern wireless telecommunication systems. Many papers have been devoted to steady-state performance analysis of such queues with the most important sources mentioned here [1,2,3]. Firstly, we outline the main settings that describe the dynamics of a wide class of the retrial queueing systems.
There are many practical situation that can be modeled as a queueing system in which customers are allowed to have a few attempts to be served. For instance, in call centers with a callback option, as well as customers who cannot connect immediately with the operator, thus register their numbers and go back at a later time. These customers can be called orbital because it seems natural that registered customers are waiting for service in a so-called orbit-queue (orbit). As these customers cannot be picked up immediately when the operator becomes available, some seeking time (called retrieval time) is needed to access a registered customer. We note that sometimes the operator may make an outgoing call, not being aware of the presence of the registered customers in the orbit. A similar situation (with retrial attempts) arises in many service systems where a ticket is issued upon the arrival of a customer who will be served in a later time when the server is available.
Now we touch upon service disciplines that are considered in the retrial queueing systems. The most traditional discipline is the so-called classical retrials, when the customers blocked in the orbits make retrial attempts independently, in which case the retrial rate increases (linearly) as the orbit size increases. Stability analysis of such systems are considered in the mentioned books (mainly in the Markovian setting), and in a more general setting, this analysis has been performed in the papers [4,5,6].
The latter approach, in a generalized form, has been applied to the stability analysis of a wide class of queueing systems (including many retrial systems) in the recent book [7]. The main ingredient of the analysis is to establish the negative drift of the remaining work (workload) when the orbit size becomes large. Moreover, a key observation is that, from the point-of-view of stability, such a retrial system approaches the classic buffered system when the orbit size increases unlimitedly. (We call it an asymptotically work-conserving discipline in [5].) The following step to simplify the regenerative stability analysis has been realized in the paper [6], in which the positive drift of the idle time of the servers is used (instead of the positive drift of the workload) under the assumption that the orbit size increases to infinite in probability. (For more on regenerative stability analysis, see [7].)
Another wide and important class of the retrial models is the queueing systems with the constant retrial rate, see Chapter 7 in [7]. These models play an important role in the analysis of modern wireless telecommunication systems. In this regard, we mention the paper [8] in which, to the best of our knowledge, such a model has been used for the first time to model a telephone exchange system. A retrial queueing system with a constant retrial rate is suitable to describe the behavior of the multiple access protocols [9]. The retrial queues with a constant retrial rate have been applied to model TCP (Transmission Control Protocol) traffic related to short HTTP (HyperText Transfer Protocol) connections and to describe an optical-electrical hybrid contention resolution scheme [10]. There is also a modification of the retrial system in which, after each departure, the server seeks the customer in orbit (this is the above-mentioned retrieval time) to be served next. For instance, such a system has been considered in the paper [11], where a logarithmic asymptotic of a large deviation probability of the orbit size during the regeneration period is obtained. Moreover, in this paper we also consider the system with the retrieval time.
The most interesting and newest setting related to a retrial system is the so-called retrial systems with coupled orbits [12], which have potential applications to model the wireless multiple access systems. In particular, they can model the relay-assisted cognitive cooperative wireless systems in which the users transmit packets to a common destination node, and there are a finite number of relay nodes (i.e., orbits) that assist to retransmit the blocked packets; when a direct source user transmission is blocked, it forwards the blocked packet at a relay node [13]. Recent progress in the analysis of the queueing systems with coupled orbits is presented in book [7]. (See Chapters 7–9, where motivation and further references can be also found.)
Among the most important previous results in the analysis of the retrial systems, we mention the explicit expression for the stationary remaining service time of the server, which has been obtained in the recent paper [14]. It is easy to show that this result is also applicable for the stationary retrial queueing system. The mentioned result has a potential application in the setting in which the customers (both in the input process and in orbit) can select the instant to capture the server. An analysis of such a setting is very close to the main purpose of present paper. In the context of the present paper, it is important to emphasize that in the conventional queueing theory setting, customers following an input process are unable to make their own decision, while now we allow this possibility. To best of our knowledge, this setting is completely new, and this is the main contribution of our paper.
In conventional queueing theory, the structure of the input process and service process are usually assumed to be predefined and specified by the input rate and service times of the customers. However, there exists a different approach to the queueing which is based on the assumption that the customers (or users) logging into the system are strategic ([15,16,17,18,19,20,21,22,23,24,25]). Namely, it is assumed that the user strategy is to select the arrival instant to the system on a time interval [ 0 , T ] . In this setting, the queue in the system is determined after each player selects (at the initial instant t = 0 ) their random arrival instant in the system. Thus, each user spends some time in the system, and this time is their personal utility function. As a result, a non-zero-sum game is obtained, in which we need to find the Nash equilibrium. To the best of our knowledge, the paper [15] (by Glazer and Hassin) is the first work that considers the queue as a result of the user’s behavior, and the authors denote this system as ? / M / 1 . They further formulate a non-cooperative game in which a Poisson-distributed number of the customers determines their arrival instances in the queue of a single-server system, over a (limited) admission interval [ 0 , T ] . The purpose of the customers is to minimize their waiting time in the system. It is shown in [15] that the symmetric Nash equilibrium strategy is mixed. In particular, it was revealed that this strategy is the (absolutely continuous) uniform distribution over time interval [ 0 , T ] , except a singularity at zero, and the density function decreases between zero and T. A similar model ? / M / m / c with m 1 identical (exponential) servers and the buffer size c 0 for the waiting customers is considered in the paper [22]. Note that the arrival times game with the batch service has been investigated in [16]. A single-server bufferless system in which the customers have a time-sensitivity function that they want to minimize, instead of their own waiting costs, has been studied in [18]. The paper [20] establishes conditions under which the customers cannot queue until an opening time, and shows that, in the equilibrium, there is a singularity at instant t = 0 , and that the density is positive only since an instant t e > 0 . A model where the customers may incur tardiness costs in addition to the waiting costs is considered in [21]. The paper [25] considers a model combining the tardiness costs, waiting costs, and restrictions on the opening and closing times. (An overview of the existing literature on this problem can also be found in [25].)
In this paper, we apply a game-theoretic approach to a callback queueing system with one server. The queue is formed by the strategic players. (In what follows, we use the terms ‘customer’, ‘user’, and ‘players’ as synonyms.) The player’s strategy is to choose a moment to enter the system. If the server is busy, then the user is blocked and joins a (virtual) orbit queue. Otherwise, if the server is free, it seeks a blocked user from the orbit during an (exponential) retrieval time. In this setting, we will find the optimal strategies of the players. First, we consider the case of two users, then consider in detail the case of three players and finally formulate this problem for an arbitrary number of players.
Thus, the found optimal strategies of the players in the described retrial system is the main contribution of this paper.
The paper is organized as follows. In Section 2, we describe the model in details. Then in Section 3, we study the setting with two players. The simplest setting allows one to highlight the main ideas and steps of our analysis. In Section 4, we focus on the system with three players, and the analysis in this case turns out to be much more involved. The analysis of the game with three players is continued in Section 5 where an algorithm on how to find an approximation of the equilibrium is given. The developed approach is then extended to a general setting with N + 1 players in Section 6. Moreover, we consider a few numerical examples in Section 3 and Section 6.

2. Description of the Model

Now we describe our model in more details in a general setting. We assume that there exists a single server that serves N (‘exogenous’) customers presented in the system at the initial instant t = 0 . Unlike the conventional queueing theory setting, these customers use some strategy to choose an instant to enter the server. By a symmetry, this strategy is the same for each user. This strategy is determined by a distribution function, which is the main purpose of the analysis, and it determines the instant of the attempt to enter the server, see (1) below. This is an important difference with the standard queueing theory setting where customers are not allowed to have their own decisions but follow the predefined rules describing the dynamics of the system. After the departure of a served customer, the server starts to seek the customer blocked in orbit (if any) to be served next. As mentioned above, this seeking time is exponential with parameter γ and mean τ , and it is called retrieve time in the retrial queueing terminology [11]. If an exogenous customer finds a server busy, then they join a (virtual) orbit, and such orbital customers constitute a virtual orbit queue (see [12]), which is served in FIFO (First-In-First-Out) order. If, during a retrieval time (when the server is idle), some customer arrives then they capture server for the exponentially distributed time with parameter μ . Recall that the arrival time is selected in according to distribution (1). Thus, the present setting combines some features of both the classic retrial system and a gated queue, in which the input gate remains closed until all N customers leave the system. In addition, a similar situation arises in a polling system (see, for instance, [26]), in which different queues are served in an order, and server, returning to a fixed queue, as a rule finds there a few new customers to be served.
Remark 1.
In our setting, the system has initially a finite number of players, and in this case the system is stable in a traditional sense: The number of customers is bounded. However, in our analysis the requirement μ > γ on the parameters μ and γ appears (see (8)), which indeed can be treated as a stability condition in the framework of the considered game setting. Moreover, when the number of players is N (see Section 6) then the classic stability analysis could be critically important in the asymptotic setting as N .

3. Two Players Scenario

Consider the case of two players. To find an equilibrium in this two-person game, we will use the following approach. Suppose that one of the players (for the sake of definiteness, the second player) uses, as a strategy, a random arrival time with the distribution function F ( t ) (having density f ( t ) ) of the following form:
F ( t ) = p , 0 t < t e , p + t e t f ( x ) d x , t e t T .
That is, the second player enters the system at the initial moment t = 0 with probability p ( 0 , 1 ) , otherwise, they arrive at instant t [ t e , T ] following distribution F ( t ) , where t e > 0 and T < are predefined constants.
Now, we find the best response of the first player to the described strategy used by the second player. As a cost function of the first player, we will consider their average sojourn time (the average time the player spends in the system). Thus, the objective of the first player is to choose a strategy that minimizes the average sojourn time, that is the total time the player spends in the system. Due to the symmetry of the problem, in the equilibrium, the optimal strategy of the first player must coincide with the chosen strategy of their opponent. To do this, it is sufficient that the strategy of the second player is chosen in such a way that the cost function of the first player takes a constant value over the interval [ t e , T ] and at the initial instant t = 0 (see [24]). Then the payoff of the first player will not depend on their own strategy.
Next, we find the best response of the first player to the strategy of the second player defined by the relation (1). First, we find its cost function. The average sojourn time, provided the first player enters the system at the instant t = 0 , is:
C ( 0 ) = ( 1 p ) 1 μ + p ( 1 2 1 μ + 1 2 ( τ + 2 μ ) ) = ( 1 p ) 1 μ + p ( 3 2 μ + τ 2 ) .
In this expression, we take into account that, with the probability 1 p , the second player does not arrive in the system at the instant t = 0 . Then the first player will be served first, and the average sojourn time equals the average service time 1 / μ . If the second player arrives at the instant t = 0 (with the probability p), then, with probability 1 / 2 , the first player can be selected for service, and their average service time equals 1 / μ . However, with probability 1 / 2 , the server chooses the second player, and then the first player joins the orbit and waits until the second player ends service.
If 0 < t < t e , then the average sojourn time of a customer that arrives at instant t satisfies:
C ( t ) = ( 1 p ) 1 μ + p ( 1 e μ t ) 1 μ + e μ t ( 1 μ + τ + 1 μ ) = ( 1 p ) 1 μ + p 1 μ + e μ t ( τ + 1 μ ) .
To obtain this expression, we take into account that, with the probability 1 p , the second player does not arrive at instant t = 0 . In this case, the first player is served first, and the average (sojourn) service time equals 1 / μ . If the second player arrives at t = 0 (with the probability p), then with probability 1 exp { μ t } , it will be served in the time interval [ 0 , t ] , and then the first player will be served immediately. However, with the probability exp { μ t } , the second player is still in the server at instant t, and then the first player joins the orbit. This player will wait until the second player leaves the server, and then they occupy server after time τ . We note that function C ( t ) decreases in t and then, in the limit as t 0 + , we obtain:
C ( 0 + ) = ( 1 p ) 1 μ + p τ + 2 μ > C ( 0 ) .
We require the fulfillment of the following condition on t e : C ( 0 ) = C ( t e ) , that is:
1 μ + e μ t e ( τ + 1 μ ) = 3 2 μ + τ 2 ,
which yields:
t e = log 2 μ .
Similarly, for t t e , we obtain the average sojourn time in the form:
C ( t ) = p ( 1 e μ t ) 1 μ + e μ t ( 1 μ + τ + 1 μ ) + t e t d F ( θ ) ( 1 e μ ( t θ ) ) 1 μ + e μ ( t θ ) ( 1 μ + τ + 1 μ ) + t T 1 μ d F ( θ ) ,
implying,
C ( t ) = p 1 μ + e μ t ( τ + 1 μ ) + 1 p μ + t e t e μ ( t θ ) ( τ + 1 μ ) d F ( θ ) .
Now, we find the exact shape of the target distribution function F ( t ) using condition C ( t ) = 0 . Differentiating, we obtain:
μ p ( τ + 1 μ ) e μ t μ ( τ + 1 μ ) t e t e μ ( t θ ) d F ( θ ) + ( τ + 1 μ ) f ( t ) = 0 ,
implying,
t e t e μ θ f ( θ ) d θ = 1 μ f ( t ) e μ t p .
Denoting:
g ( t ) = f ( t ) e μ t ,
we can write the equation for function g ( t ) in the following form:
t e t g ( θ ) d θ = 1 μ g ( t ) p .
In addition, we have the following relation:
g ( t ) = μ g ( t ) ,
implying,
g ( t ) = c o n s t · e μ t and f ( t ) = K = c o n s t .
Substituting g ( t ) to (4) we obtain:
K = μ p e μ t e = μ p 2 .
On the other hand, condition:
1 p = t e T K d t ,
yields,
p = 1 K ( T t e ) ,
and then, using expression (5), we finally obtain the probability p:
p = 1 1 + μ ( T t e ) e μ t e = 2 2 μ + μ T log 2 .
Now it follows from (3) that:
C ( t ) = C ( t e ) = p e μ t e ( τ + 1 μ ) + 1 μ = 1 2 μ + μ T log 2 ( τ + 1 μ ) + 1 μ .
The previous analysis can be summarized as the following statement.
Proposition 1.
An equilibrium in the two-person queueing game with retrials satisfies relation (1), where f ( t ) = K = c o n s t for t [ t e , T ] , and parameters p , t e , K satisfy conditions (2), (5), and (6).
Example 1.
Consider a system which accepts the customers within interval [ 0 , 2 ] , and assume that the service rate μ = 2 and the retrieval rate γ = 1 τ = 1 . Then it is easy to calculate that:
t e 0.347 , f ( t ) 0.377 f o r t t e ,
the probability (to arrival at instant 0) p 0.377 and the average sojourn time is:
C ( 0 ) = C ( t ) 0.783 f o r t t e .

4. Three-Player Solution

Consider the case of three players. Suppose that two of the players (for definiteness, the second and third players) use, as a strategy, a random arrival time with the distribution F ( t ) satisfying (1). We assume that customers are taken from the orbit by the server in the order they entered the orbit, i.e., using FIFO discipline. If two customers entered the orbit simultaneously, then the order is assigned at random (that is, each one is selected with probability 1/2).
Now we find the best response of the first player provided they arrive at instant t = 0 . In this case, the payoff is:
C ( 0 ) = ( 1 p ) 2 1 μ + 2 p ( 1 p ) ( 1 μ + 1 2 W 1 1 ( 0 ) ) + p 2 ( 1 μ + 2 3 W 2 0 ( 0 ) ) ,
where,
W 1 0 ( 0 ) = 1 μ + 1 γ , W 2 0 ( 0 ) = 1 μ + 1 γ + 1 2 ( 1 μ + 1 γ ) = 3 2 μ + 3 2 γ , W 1 1 ( 0 ) = 1 1 p t e T 0 θ μ e μ s d s 0 θ s γ e γ u ( s + u ) d u + 0 θ μ e μ s d s θ s γ e γ u ( s + u + 1 μ ) d u + θ μ e μ s s d s d F ( θ ) = ( 1 μ + 1 γ ) + 1 γ ( μ γ ) ( 1 p ) t e T ( γ e γ θ μ e μ θ ) d F ( θ ) ,
and by W i j ( t ) we denote the average time spent in the orbit by a customer arriving at instant t, provided that there are i customers in the orbit, and j (exogenous) customers remains outside the system.
Now we find the value C ( 0 + ) for a customer who arrives in the system at instant t = 0 + . Then they occupy the server if both remaining players arrive after t e . If one player arrives at instant t = 0 , then the customer arriving at t = 0 + , evidently, joins the orbit. Finally, if both other customers arrive at t = 0 , then the customer arriving at t = 0 + joins the end of the orbit queue. This results in:
C ( 0 + ) = ( 1 p ) 2 1 μ + p ( 1 p ) ( 1 μ + 1 1 p W 1 1 ( 0 ) ) + p 2 ( 1 μ + W 2 0 ( 0 + ) ) > C ( 0 ) ,
where,
W 2 0 ( 0 + ) = 1 μ + 1 γ + 1 μ + 1 γ = 2 μ + 2 γ > W 2 0 ( 0 ) .
The playoff of a customer arriving at instant t e , provided that no customers arrive in the time interval ( 0 , t e ) , satisfies:
C ( t e ) = ( 1 p ) 2 1 μ + 2 p ( 1 p ) ( 1 μ + t e T d F ( θ ) 1 F ( t e ) ( t e θ μ e μ s d s 0 θ s γ e γ τ ( s t e + τ ) d τ + t e θ μ e μ s d s θ s γ e γ τ ( θ t e + 1 μ + 1 γ ) d τ + θ μ e μ s ( s t e + 1 γ ) d s ) ) + p 2 1 μ + 0 t e μ e μ s d s 0 t e s γ e γ τ d τ t e s τ μ e μ v ( s + τ + v t e + 1 γ ) d v + t e μ e μ s d s ( s + 1 μ + 2 γ t e ) = ( 1 p ) 2 1 μ + 2 p ( 1 p ) 1 μ + ( 1 μ + 1 γ ) e μ t e + e μ t e ( 1 p ) ( μ γ ) t e T ( e γ ( θ t e ) e μ ( θ t e ) ) d F ( θ ) + p 2 1 μ + 2 ( 1 μ + 1 γ ) e μ t e + ( 1 μ + 1 γ ) γ ( μ γ ) 2 ( e γ t e e μ t e ) ( 1 μ + 1 γ ) γ μ γ t e e μ t e .
We assume that:
μ > γ .
Then the payoff value C ( t e ) decreases by t e , provided that there are no customers arriving into the system at the interval ( 0 , t e ) .
The obtained latter equality and the inequality C ( 0 + ) > C ( 0 ) (see (7)) confirm that it is more profitable for a customer to arrive with a delay following the instant t = 0 (but not at the instant 0 + ). Since, in the equilibrium, the payoff should be the same on the strategy support, then the instant when a new customer decides to arrive in the system satisfies the equation:
C ( 0 ) = C ( t e ) .
Now we show that an arrival at the instant t ( 0 , t e ) is unprofitable even for one player, when other players make an attempt to occupy the server since instant t e . For such t we obtain:
C ( t ) = ( 1 p ) 2 1 μ + 2 p ( 1 p ) ( 1 μ + t e T d F ( θ ) 1 μ + t θ μ e μ s d s 0 θ s γ e γ τ ( s t + τ ) d τ + t θ μ e μ s d s θ s γ e γ τ ( θ t + 1 μ + 1 γ ) d τ + θ μ e μ s ( s t + 1 γ ) d s ) + p 2 1 μ + 0 t μ e μ s d s 0 t s γ e γ τ d τ t s τ μ e μ v ( s + τ + v t + 1 γ ) d v + t μ e μ s d s ( s + 1 μ + 2 γ t ) = ( 1 p ) 2 1 μ + p 2 1 μ + 2 ( 1 μ + 1 γ ) e μ t + 1 μ γ ( e γ t e μ t ) t e μ t + 2 p ( 1 p ) 1 μ + ( 1 μ + 1 γ ) e μ t + e μ t ( 1 p ) ( μ γ ) t e T ( e γ ( θ t ) e μ ( θ t ) ) d F ( θ ) .
Then it is easy to check that function C ( t ) decreases in t < t e , confirming that, even for one player, it is better to avoid an attempt to enter the server earlier the instant t e .
Now we consider the situation when the first player enters the system in the interval t [ t e , T ] . To study it, we define, for instant t, the (time-dependent) state probabilities, denoted by p i j k ( t ) , that i { 0 , 1 , 2 } customers arrived in the system, in the interval [ t e , T ] , j { 0 , 1 } customers are in the server, and k { 0 , 1 } customers are in the orbit, at instant t. The arrival rate at instant t (that is the rate of exogenous customers) depends on the chosen strategy and the number k of customers who have already entered the system up to instant t. In an evident notation, these rates are equal to:
λ 0 ( t ) = 2 f ( t ) 1 F ( t ) , λ 1 ( t ) = f ( t ) 1 F ( t ) ,
respectively. Now we can write down the corresponding Kolmogorov backward equations for the state probabilities:
p 000 ( t ) = λ 0 ( t ) p 000 ( t ) , p 100 ( t ) = λ 1 ( t ) p 100 ( t ) + μ p 110 ( t ) , p 110 ( t ) = ( μ + λ 1 ( t ) ) p 110 ( t ) + λ 0 ( t ) p 000 ( t ) , p 201 ( t ) = γ p 201 ( t ) + μ p 211 ( t ) , p 210 ( t ) = μ p 210 ( t ) + γ p 201 ( t ) + λ 1 ( t ) p 100 ( t ) , p 211 ( t ) = μ p 211 ( t ) + λ 1 ( t ) p 110 ( t ) , p 200 ( t ) = μ p 210 ( t ) .
Now we find the state probabilities for t = t e as follows:
p 000 ( t e ) = ( 1 p ) 2 p 100 ( t e ) = 2 p ( 1 p ) ( 1 e μ t e ) p 110 ( t e ) = 2 p ( 1 p ) e μ t e p 201 ( t e ) = p 2 0 t e μ e μ θ e γ ( t e θ ) d θ = p 2 μ e γ t e e μ t e μ γ p 210 ( t e ) = p 2 0 t e μ e μ θ 0 t e θ γ e γ τ e μ ( t e ( θ + τ ) ) d τ d θ = p 2 γ e γ t e e μ t e ( μ t e γ t e + 1 ) ( μ γ ) 2 p 211 ( t e ) = p 2 e μ t e p 200 ( t e ) = p 2 0 t e μ e μ θ 0 t e θ γ e γ τ ( 1 e μ ( t e ( θ + τ ) ) ) d τ d θ = = p 2 ( 1 e μ t e γ e γ t e e μ t e ( μ t e γ t e + 1 ) ( μ γ ) 2 μ e γ t e e μ t e μ γ ) .
Expressions (10) indeed are the initial boundary conditions for the Cauchy problem for differential Equations (9). The probability p of an arrival at instant t = 0 can be found from the normalization condition:
p + t e T f ( t ) d t = 1 .
Then the average sojourn time of a player entering the system at instant t is:
C ( t ) = 1 μ ( p 000 ( t ) + p 100 ( t ) + p 201 ( t ) + p 200 ( t ) ) + p 110 ( t ) ( 1 μ + W 1 1 ( t ) ) + p 210 ( t ) ( 1 μ + W 1 0 ( t ) ) + p 211 ( t ) ( 1 μ + W 2 0 ( t ) ) = 1 μ + p 110 ( t ) W 1 1 ( t ) + p 210 ( t ) W 1 0 ( t ) + p 211 ( t ) W 2 0 ( t ) ,
where,
W 1 0 ( t ) = 1 μ + 1 γ , W 2 0 ( t ) = 2 μ + 2 γ , W 1 1 ( t ) = 1 1 F ( t ) t T d F ( θ ) ( 0 θ t μ e μ s d s 0 θ t s γ e γ τ ( s + τ ) d τ + 0 θ t μ e μ s θ t s γ e γ τ ( θ t + 1 μ + 1 γ ) d τ + θ t μ e μ s ( 1 γ + s ) d s ) = 1 μ + 1 γ + 1 ( 1 F ( t ) ) ( μ γ ) t T e γ ( θ t ) e μ ( θ t ) d F ( θ ) .
In the equilibrium, the equality C ( t ) = C ( t e ) = c o n s t , t [ t e , T ] is satisfied, implying:
( 1 μ + 1 γ ) ( p 110 ( t ) p 110 ( t e ) + p 210 ( t ) p 210 ( t e ) + 2 ( p 211 ( t ) p 211 ( t e ) ) + 1 μ γ p 110 ( t ) 1 F ( t ) t T ( e γ ( θ t ) e μ ( θ t ) ) d F ( θ ) p 110 ( t e ) 1 p t e T ( e γ ( θ t e ) e μ ( θ t e ) ) d F ( θ ) = 0 .
If condition (11) is met, then the function C ( t ) must be a constant on the time interval [ t e , T ] . It remains now to require that the condition C ( t e ) = C ( 0 ) is satisfied. In other words,
( 1 p ) 2 1 μ + p 2 ( 2 μ + 1 γ ) 2 p ( 1 p ) ( 1 μ + 1 2 ( 1 μ + 1 γ ) + 1 2 γ ( μ γ ) ( 1 p ) t e T ( γ e γ θ μ e μ θ ) d F ( θ ) ) = ( 1 p ) 2 1 μ + 2 p ( 1 p ) 1 μ + ( 1 μ + 1 γ ) e μ t e + e μ t e ( 1 p ) ( μ γ ) t e T ( e γ ( θ t e ) e μ ( θ t e ) ) d F ( θ ) + p 2 1 μ + 2 ( 1 μ + 1 γ ) e μ t e + ( 1 μ + 1 γ ) γ ( μ γ ) 2 ( e γ t e e μ t e ) ( 1 μ + 1 γ ) γ μ γ t e e μ t e
or:
( 1 μ + 1 γ ) ( 1 2 e μ t e ) + 1 ( μ γ ) ( 1 γ t e T ( γ e γ θ μ e μ θ ) d F ( θ ) 2 e μ t e t e T ( e γ ( θ t e ) e μ ( θ t e ) ) d F ( θ ) ) + p ( 1 μ + 1 γ ) ( γ μ γ t e e μ t e γ ( μ γ ) 2 ( e γ t e e μ t e ) ) = 0 .
The analysis performed above is summarized in the following statement.
Proposition 2.
An equilibrium in the three-person queueing game with retrievals has the form (1), where f ( t ) for t [ t e , T ] is determined as a solution of Equations (9), (11), and (12).

5. Computing the Equilibrium

In this section, we describe in detail the numerical solution of the above obtained equations. Let us fix t e and T. We divide the interval [ t e , T ] into k 1 equal segments. Then we find an approximate solution in the nodes of the grid K = { t 1 = t e , t 2 = t 1 + Δ , , t k = t k 1 + Δ } , where Δ = ( T t e ) / ( k 1 ) . We represent the values of the unknown function f ( t ) at the initial moment and at the nodes of the grid as the arguments of the problem:
{ x 0 = f ( 0 ) = p , x 1 = f ( t 1 ) , , x k = f ( t k ) = f ( T ) } .
Then the derived conditions for the equilibrium can be represented as the difference equations. More precisely, condition (11) becomes:
( 1 μ + 1 γ ) ( p 110 ( t i ) p 110 ( t e ) + p 210 ( t i ) p 210 ( t e ) + + 2 ( p 211 ( t i ) p 211 ( t e ) ) ) + p 110 ( t i ) ( μ γ ) ( 1 p j = 1 i 1 x j Δ ) j = i k 1 e γ ( t j t i ) e μ ( t j t i ) x j Δ p 110 ( t e ) ( μ γ ) ( 1 p ) j = 1 k 1 e γ ( t j t e ) e μ ( t j t e ) x j Δ = 0 , i = 2 , , k .
Condition (12) takes the form:
( 1 μ + 1 γ ) ( 1 2 e μ t e ) + 1 ( μ γ ) ( 1 γ j = 1 k 1 ( γ e γ t j μ e μ t j ) x j Δ 2 e μ t e j = 1 k 1 ( e γ ( t j t e ) e μ ( t j t e ) ) x j Δ ) + p ( 1 μ + 1 γ ) ( γ μ γ t e e μ t e γ ( μ γ ) 2 ( e γ t e e μ t e ) ) = 0 .
The Kolmogorov backward (difference) equations become:
p 000 ( t i + 1 ) = p 000 ( t i ) 1 Δ 2 x i 1 p Δ j = 1 i 1 x j , p 100 ( t i + 1 ) = p 100 ( t i ) 1 Δ x i 1 p Δ j = 1 i 1 x j + Δ μ p 110 ( t i ) , p 110 ( t i + 1 ) = p 110 ( t i ) 1 Δ ( μ + x i 1 p Δ j = 1 i 1 x j ) + Δ 2 x i 1 p Δ j = 1 i 1 x j p 000 ( t i ) , p 201 ( t i + 1 ) = ( 1 Δ γ ) p 201 ( t i ) + Δ μ p 211 ( t i ) , p 210 ( t i + 1 ) = ( 1 Δ μ ) p 210 ( t i ) + Δ γ p 201 ( t i ) + Δ x i 1 p Δ j = 1 i 1 x j p 100 ( t i ) , p 211 ( t i + 1 ) = ( 1 Δ μ ) p 211 ( t i ) + Δ x i 1 p Δ j = 1 i 1 x j p 110 ( t i ) , p 200 ( t i + 1 ) = p 200 ( t i ) + Δ μ p 210 ( t i ) , i = 1 , , k 1 .
Finally, the normalization condition takes the form:
p + Δ i = 1 k 1 x i 1 = 0 .
Now we find a solution as follows. We iterate over the values of p on the interval [ 0 , 1 ] . For each p, we iterate over the values of t e belonging to interval [ 0 , T ] . For each given p and t e , we solve the system of the difference Equations (13), where the state probabilities satisfy system (15). We are looking for a pair p , t e , in such a way that conditions (14) and (16) are satisfied.
To find p and t e , we first use a partition of [ 0 , 1 ] × [ 0 , T ] into a grid with a small rank and look for a node, passing through which the left sides of Equations (14) and (16) change sign. We seek for a solution in a neighborhood of this node. More precisely, for each given p and t e , the solution x is found with Algorithm 1. First we specify the uniform distribution over the interval [ t e , T ] as the initial approximation of the solution x, taking into account that there is an atom at the point t = 0 with a given probability p. Then we search for a solution x that satisfies (13). Step 1 of Algorithm 1 is repeated until the solution is stabilized with a given accuracy ϵ . In practice, the algorithm converges in 2–3 runs.
At each iteration i = 2 , , k at the beginning of the execution, we have x j , where j = 1 , , i 2 , and state probabilities for all steps from 1 to i 1 , found on previous iterations. On iteration i, we solve Equation (13) for x i 1 , each time calculating the probabilities of states at step i using an approximation of x i 1 according to (15). In this case, the sum in the two last terms on the left-hand side of Equation (13) is partially calculated from the old values x p r e v from the solution at the previous iteration, and all other components of the equation are calculated by new ones, according to the solution x at the current iteration. However, as calculation experiments confirm, with each pass of the algorithm, the difference between the solutions decreases.
Algorithm 1 Finding the solution x for p and t e .
 Step 0. Initialization.
for  i = 1 to k do
      x i 1 p T t e
end for
 Calculate p 000 ( t 1 ) , , p 200 ( t 1 ) from (10).
 Step 1. Next approximations.
do
      x p r e v x
     for  i = 2 to k do
         Find x i 1 from (13) with new p 000 ( t i ) , , p 200 ( t i ) re-calculated with (15).
     end for
while  ( | x x p r e v | > ϵ )
After completing the algorithm, we get a set of values x i , where i = 1 , , k 1 , which is enough to find F ( T ) p + i = 1 k 1 x i Δ . If conditions (14) and (16) are satisfied with a given accuracy ϵ , the current p, t e and x give a solution, otherwise we change t e and p.
Example 2.
Let T = 2 , μ = 2 , γ = 1 . The computations give the optimal values in the equilibrium: p 0.412 , t e 0.380 . The density of the optimal arrival time at the interval [ t e , T ] is presented at Figure 1. In the figure, the function f ( t ) first decreases in the interval [ t e , 0.833 ] , then increases in the interval [ 0.833 , 1.676 ] , then decreases again in the interval [ 1.676 , 2 ] . The value at the equilibrium is equal to C ( t ) 1.133 .
Example 3.
If T = 4 , μ = 2 , γ = 1 then p 0.232 , t e 0.369 , and C ( t ) 0.857 . The shape of the equilibrium density is similar to that presented in Figure 1, and C ( t ) 0.857 .
Example 4.
If T = 4 , μ = 4 , γ = 1 then the shape of the equilibrium density is similar to that as given on Figure 1, and p 0.121 , t e 0.179 , and C ( t ) 0.404 .
Example 5.
If T = 1 , μ = 2 , γ = 1 then p 0.661 , t e 0.381 , and C ( t ) 1.485 . The density of the optimal arrival time at the interval [ t e , T ] is presented on Figure 2. In the figure, the function f ( t ) decreases in the interval [ 0.381 , 1 ] .

6. N Players

The same approach can be used when considering a service system with more than 3 players. Suppose that in the queueing system an arrival strategy F ( t ) of the form (1) is used, and the ( N ) -th player is looking for a strategy that gives the best response. In this case, the found best answer must coincide with the strategy F ( t ) . Due to symmetry, it will be the equilibrium in the game.
By the state of the system at an instant t, we mean the set ( k , s , i ) , where k is the number of claims entered into the system, i is the number of claims in the orbit, and the parameter s, which means for s = 0 the server free, and with s = 1 the server is busy at instant t. We denote by W i j ( t ) the average time until the server seeks for a claim in orbit at the time t provided the system has not yet received j customers and there are i customers in the orbit. Our purpose is to find the average sojourn time of the ( N ) -th customer when they enter the system at the instant t. For t = 0 , we obtain:
C ( 0 ) = ( 1 p ) N 1 1 μ + i = 1 N 1 p i ( 1 p ) N 1 i 1 μ + W i N 1 i ( 0 ) ) = 1 μ + i = 1 N 1 p i ( 1 p ) N 1 i W i N 1 i ( 0 ) .
For 0 < t < t e , the average sojourn time of the ( N ) -th customer satisfies:
C ( t ) = ( 1 p ) N 1 1 μ + i = 1 N 1 p i ( 1 p ) N 1 i 1 μ + W i N 1 i ( t ) ) = 1 μ + i = 1 N 1 p i ( 1 p ) N 1 i W i N 1 i ( t ) .
Finally, for t t e , the average sojourn time of the ( N ) -th customer equals:
C ( t ) = P ( idle server ) 1 μ + k = 1 N 1 i = 0 k 1 P ( busy server , k arrived customers , i orbital customers ) ( W i N 1 k ( t ) + 1 μ ) .
It gives:
C ( t ) = k = 1 N 1 i = 0 k 1 p k , 0 , i ( t ) 1 μ + p k , 1 , i ( t ) ( W i N 1 k ( t ) + 1 μ ) ,
implying, after some algebra, the following expression:
C ( t ) = 1 μ + k = 1 N 1 i = 0 k 1 p k , 1 , i ( t ) W i N 1 k ( t ) .
In this expression p k , s , i ( t ) denotes the state probability at the instant t, which satisfy the following Kolmogorov backward equations:
p k , 1 , i ( t ) = ( μ + λ k ( t ) ) p k , 1 , i ( t ) + λ k 1 ( t ) p k 1 , 1 , i 1 ( t ) + λ k 1 ( t ) p k 1 , 0 , i ( t ) + γ p k , 0 , i + 1 ( t ) , p k , 0 , i ( t ) = ( γ + λ k ( t ) ) p k , 0 , i ( t ) + μ p k , 1 , i ( t ) ; k = 1 , 2 , , N 2 ; i = 0 , , k 1 .
We note that in this case,
λ k ( t ) = ( N 1 k ) f ( t ) 1 F ( t ) , k = 1 , , N 2 ,
is the arrival rate, provided there are k customers in the system at the instant t.
Then we find the expression for W i j ( t ) , the average waiting time a customer spends in the orbit, starting with instant t, until they occupy the server. Then, substituting W i j ( t ) in (17), we proceed as above to find the optimal strategy for the ( N ) -th player. To do this, we require that the following conditions:
C ( 0 ) = C ( t e ) = C ( t ) = C * , t [ t e , T ] ,
are satisfied. Finally, these conditions allow, in general, one to find the optimal strategy F ( t ) along the same steps we described above for particular cases with 2 and 3 players.

7. Conclusions

We consider a single-server retrial queueing system in which the service of customers is handled in a strategic manner, i.e., unlike the conventional retrial queues, the customers are generated by players who choose the time to occupy the server. An equilibrium is sought in such a system when applications are distributed in such a way that the average service time is minimal. An equilibrium is sought in the class of mixed strategies, when players choose the login time randomly. It is shown that the optimal strategy is such that a player enters the system with a non-zero probability at the initial moment of time, otherwise, it takes a random pause, and then a distribution density is used, satisfying a system of the differential equations. This setting is described in detail for the case of two and three players and illustrated by a few numerical examples. Moreover the model for an arbitrary number of players is formulated. This scenario is assumed to be considered in detail in a future work.

Author Contributions

Conceptualization, J.C., V.M. and E.M.; methodology, J.C., V.M. and E.M.; software, J.C., V.M. and E.M.; validation, J.C., V.M. and E.M.; formal analysis, J.C., V.M. and E.M.; investigation, J.C., V.M. and E.M.; resources, J.C., V.M. and E.M.; data curation, J.C., V.M. and E.M.; writing—original draft preparation, J.C., V.M. and E.M; writing—review and editing, J.C., V.M. and E.M.; visualization, J.C., V.M. and E.M.; supervision, J.C., V.M. and E.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Falin, G.I.; Templeton, J.G.D. Retrial Queues; Chapman & Hall: London, UK, 1997. [Google Scholar]
  2. Artalejo, J.R.; Gomez-Corral, A. Retrial Queueing Systems: A Computational Approach; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  3. Kim, J.; Kim, B. A survey of retrial queueing systems. Ann. Oper. Res. 2016, 247, 3–36. [Google Scholar] [CrossRef]
  4. Altman, E.; Borovkov, A.A. On the stability of retrial queues. Queueing Syst. 1997, 26, 343–363. [Google Scholar] [CrossRef]
  5. Morozov, E. A multiserver retrial queue: Regenerative stability analysis. Queueing Syst. 2007, 56, 157–168. [Google Scholar] [CrossRef]
  6. Morozov, E.; Phung-Duc, T. Stability analysis of a multiclass retrial system with classical retrial policy. Perform. Eval. 2017, 112, 15–26. [Google Scholar] [CrossRef]
  7. Morozov, E.; Steyaert, B. Stability Analysis of Regenerative Queueing Models; Springer: Berlin/Heidelberg, Germany, 2021. [Google Scholar] [CrossRef]
  8. Fayolle, G. A simple telephone exchange with delayed feedback. In Teletraffic Analysis and Computer Performance Evaluation; Boxma, O.J., Cohen, J.W., Tijms, H.C., Eds.; Elsevier: Amsterdam, The Netherlands, 1986; Volume 7, pp. 245–253. [Google Scholar]
  9. Choi, B.D.; Rhee, K.H.; Park, K.K. The M/G/1 retrial queue with retrial rate control policy. In Probability in the Engineering and Informational Sciences; Cambridge University Press: Cambridge, UK, 1993; Volume 7, pp. 29–46. [Google Scholar]
  10. Avrachenkov, K.; Morozov, E.; Steyaert, B. Sufficient stability conditions for multi-class constant retrial rate systems. Queueing Syst. 2016, 82, 149–171. [Google Scholar] [CrossRef] [Green Version]
  11. Morozov, E.; Zhukova, K. The Overflow Probability Asymptotics in a Single-Class Retrial System with General Retrieve Time. In Proceedings of the International Conference on Distributed Computer and Communication Networks, Moscow, Russia, 20–24 September 2021; DCCN 2021, LNCS 13144. Vishnevskiy, V.M., Samouylov, K.E., Kozyrev, D.V., Eds.; Springer: Cham, Switzerland, 2021; pp. 55–66. [Google Scholar]
  12. Dimitriou, I. A queueing system for modeling cooperative wireless networks with coupled relay nodes and synchronized packet arrivals. Perform. Eval. 2017, 114, 16–31. [Google Scholar] [CrossRef]
  13. Pappas, N.; Kountouris, M.; Ephremides, A.; Traganitis, A. Relay-assisted multiple access with full-duplex multi-packet reception. IEEE Trans. Wirel. Commun. 2015, 14, 3544–3558. [Google Scholar] [CrossRef] [Green Version]
  14. Morozov, E.; Morozova, T. On the stationary remaining service time in the queuieng systems. CEUR Workshop Proc. 2020, 2792, 140–149. [Google Scholar]
  15. Glazer, A.; Hassin, R. ?/M/1: On the equilibrium distribution of customer arrivals. Eur. J. Oper. Res. 1983, 13, 146–150. [Google Scholar] [CrossRef]
  16. Glazer, A.; Hassin, R. Equilibrium arrivals in queues with bulk service at scheduled times. Transp. Sci. 1987, 21, 273–278. [Google Scholar] [CrossRef]
  17. Altman, E.; Shimkin, N. Individually optimal dynamic routing in a processor sharing system. Oper. Res. 1998, 46, 776–784. [Google Scholar] [CrossRef] [Green Version]
  18. Mazalov, V.V.; Chuiko, J.V. Nash equilibrium in the optimal arrival time problem. Comput. Technol. 2006, 11, 60–71. [Google Scholar]
  19. Haviv, M.; Kella, O.; Kerner, Y. Equilibrium strategies in queues based on time or index of arrival. Prob. Eng. Inform. Sci. 2010, 24, 13–25. [Google Scholar] [CrossRef] [Green Version]
  20. Hassin, R.; Kleiner, Y. Equilibrium and optimal arrival patterns to a server with opening and closing times. IIE Trans. 2011, 43, 164–175. [Google Scholar] [CrossRef]
  21. Jane, R.; Juneja, S.; Shimkin, N. The concert queueing game: To wait or to be late. Discret. Event Dyn. Syst. 2011, 21, 103–138. [Google Scholar] [CrossRef]
  22. Haviv, M. When to arrive at a queue with tardiness costs. Perform. Eval. 2013, 70, 387–399. [Google Scholar] [CrossRef]
  23. Ravner, L.; Haviv, M. Strategic timing of arrivals to a finite queue multi-server loss system. Queueing Syst. 2015, 81, 71–96. [Google Scholar]
  24. Mazalov, V.; Chirkova, J. Networking Games. Network Forming Games and Games on Networks; Academic Press: Cambridge, MA, USA, 2019; 322p. [Google Scholar]
  25. Haviv, M.; Ravner, L. A survey of queueing systems with strategic timing of arrivals. Queueing Syst. 2021, 99, 163–198. [Google Scholar] [CrossRef]
  26. Boon, M.A.A. A polling model with reneging at polling instants. Ann. Oper. Res. 2012, 198, 5–23. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The equilibrium density f ( t ) and cost C ( t ) for T = 2 , μ = 2 , γ = 1 .
Figure 1. The equilibrium density f ( t ) and cost C ( t ) for T = 2 , μ = 2 , γ = 1 .
Mathematics 10 00428 g001
Figure 2. Equilibrium density f ( t ) and cost C ( t ) for T = 1 , μ = 2 , γ = 1 .
Figure 2. Equilibrium density f ( t ) and cost C ( t ) for T = 1 , μ = 2 , γ = 1 .
Mathematics 10 00428 g002
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chirkova, J.; Mazalov, V.; Morozov, E. Equilibrium in a Queueing System with Retrials. Mathematics 2022, 10, 428. https://0-doi-org.brum.beds.ac.uk/10.3390/math10030428

AMA Style

Chirkova J, Mazalov V, Morozov E. Equilibrium in a Queueing System with Retrials. Mathematics. 2022; 10(3):428. https://0-doi-org.brum.beds.ac.uk/10.3390/math10030428

Chicago/Turabian Style

Chirkova, Julia, Vladimir Mazalov, and Evsey Morozov. 2022. "Equilibrium in a Queueing System with Retrials" Mathematics 10, no. 3: 428. https://0-doi-org.brum.beds.ac.uk/10.3390/math10030428

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

Article Metrics

Back to TopTop