Abstract
We introduce the concert (or cafeteria) queueing problem: A finite but large number of customers arrive into a queueing system that starts service at a specified opening time. Each customer is free to choose her arrival time (before or after opening time), and is interested in early service completion with minimal wait. These goals are captured by a cost function which is additive and linear in the waiting time and service completion time, with coefficients that may be class dependent. We consider a fluid model of this system, which is motivated as the fluid-scale limit of the stochastic system. In the fluid setting, we explicitly identify the unique Nash-equilibrium arrival profile for each class of customers. Our structural results imply that, in equilibrium, the arrival rate is increasing up until the closing time where all customers are served. Furthermore, the waiting queue is maximal at the opening time, and monotonically decreases thereafter. In the simple single class setting, we show that the price of anarchy (PoA, the efficiency loss relative to the socially optimal solution) is exactly two, while in the multi-class setting we develop tight upper and lower bounds on the PoA. In addition, we consider several mechanisms that may be used to reduce the PoA. The proposed model may explain queueing phenomena in diverse settings that involve a pre-assigned opening time.
Similar content being viewed by others
Notes
Throughout the paper, we describe probability measures (and, more generally, positive measures) on the real line by their cumulative distribution function (CDF). Thus, F(t) corresponds to the measure m F with m F {( − ∞ ,t]} = F(t). We shall use the term F-measure (of a given set) to refer to the m F -measure of that set.
In another variation of this model, both populations can queue up together, but if a customer of population 1 reaches his turn for service before time \(\hat{\tau}\), he will need to wait till that time and let population 1 customers pass him. The essential results are similar.
References
Chen H, Yao D (2001) Fundamentals of queueing networks. Springer-Verlag
Gilboa-Freedman G, Hassin R, Kerner Y (2009) Price of anarchy in the Markovian single server queue (preprint)
Glazer A, Hassin R (1983) ?/M/1: on the equilibrum distribution of customer arrivals. Eur J Oper Res 13:146–150
Hassin R, Haviv M (2003) To queue or not to queue. Kluwer Academic Publishers
Hassin R, Kleiner Y (2009) Equilibrium and optimal arrival patterns to a server with opening and closing times (forthcoming in IIE Transactions)
Haviv M (2001) The Aumann–Shapley price mechanism for allocating congestion costs. Oper Res Lett 29:211–215
Haviv M, Roughgarden T (2007) The price of anarchy in an exponential multi-server. Oper Res Lett 35(4):421–426
Holt CA Jr, Sherman R (1982) Waiting line auctions. J Polit Econ 90(2):280–294
Lariviere MA, van Mieghem JA (2004) Strategically seeking service: how competition can generate Poisson arrivals. Manufacturing Service Oper Management 6(1):23–40
Lederer P, Li L (1997) Pricing, production, scheduling, and delivery-time scheduling. Oper Res 45(3):407–420
Juneja S, Jain R (2009) The concert/cafeteria queuing problem: a game of arrivals. In: ICST/ACM fourth international conference on performance evaluation methodologies and tools—ValueTools 2009. Received the best paper award
Lindley R (2004) Existence, uniqueness, and trip cost function properties of user equilibrium in the bottleneck model with multiple user classes. Transport Sci 38(3):293–314
Masuda Y, Whang S (1999) Dynamic pricing for network service: equilibrium and stability. Manage Sci 45(6):857–869
Mendelson H, Whang S (1990) Optimal incentive-compatible priority pricing for the M/M/1 queue. Oper Res 38(5):870–883
Naor P (1969) The regulation of queue size by levying tolls. Econometrica 37(1):15–24
Newell GF (1987) The morning commute for nonidentical travellers. Transport Sci 21(2):74–88
Rapoport A, Stein WE, Parco JE, Seale DA (2004) Strategic play in single-server queues with endogenously determined arrival times. J Econ Behav Organ 55:67–91
Royden HL (1988) Real analysis, 3rd edn. Prentice Hall
Schmeidler D (1973) Equilibrium points of nonatomic games. J Stat Phys 7(4):295–300
Stahl D, Whinston A (1994) A general economic equilibrium model of distributed computing. In: Cooper W, Whinston A (eds) New directions in computational economics. Kluwer Acad. Pub., pp 175–189
Tian Q, Huang H, Yang H (2007) Equilibrium properties of the morning peak-period commuting in a many-to-one mass transit system. Transport Res B 41(6):616–631
Vickrey WS (1969) Congestion theory and transport investment. Am Econ Rev 59:251–260
Wang S, Zhu L (2004) A dynamic queueing model. Chinese J Econ Theory 1:14–35
Acknowledgements
The authors would like to thank the reviewers and the associate editor for their careful, helpful and detailed comments that helped improve the manuscript. The first author’sresearch was partially supported by the National Science Foundation grant IIS-0917410. The second author’s research was partially supported by the Yahoo India Research Grant, 2009.
Author information
Authors and Affiliations
Corresponding author
Additional information
A preliminary version of this paper appeared as Juneja and Jain (2009).
Appendix A
Appendix A
Here we first present proofs for some propositions stated above, and then discuss some supplementary results to Section 6.3 related to reduction in PoA through charging tariffs.
1.1 Proofs for Sections 4.2 and 6.1
A.1 Proof of Proposition 2
Recall that the social cost is defined as the sum of costs of all customers, at a given arrival profile. Consider the equilibrium arrival profile that was computed in Section 4.1. Since the equilibrium cost C i (t) is the same for all members of each class, say C i , we obtain
The cost C i may be computed in any point in [T i − 1,T i ]. Picking T i , we get
It will be convenient to express this as
Substituting T i and F(T i ) from Eqs. 11 and 12, we get
Note that we can observe three distinct components in this expression. The right most sum is the influence of later arrivals (customer classes with j > i) on class i. The influence of customer classes that arrive earlier (j < i) is summarized by the preceding term, summed up to i − 1. The remaining term β i Λ i expresses the effect of competition within class i customers.
Substituting the last expression in Eq. 29, we obtain
To obtain the required (more symmetric) form of J eq, note that the ratio \(\frac{\beta_i}{\alpha_i}\) is decreasing in i (since the opposite holds for m i by assumption). Therefore,
as claimed. We observe that the latter expression is independent of ordering of the classes.
We next turn to the optimal social cost J opt, which is obtained by optimizing the arrival times and server allocation for all customers. Here there would be no queues, as each customer can arrive exactly when her turn to be served arrives. It may then be seen through a simple interchange argument that the optimal ordering of arrivals between classes is in decreasing order of β i . Let σ(i) be an index permutation so that β σ(1) ≥ ... ≥ β σ(n). Then, class σ(i) customers arrive uniformly with rate μ between τ i − 1 and τ i , where \(\tau_i=\mu^{-1}\sum_{j=1}^{i} \Lambda_{\sigma(j)}\). The overall cost for this class becomes
so that
Again, we can express J opt in a more symmetric form. Indeed,
where the first equality follows by splitting the last sum in Eq. 34 into two equal terms and changing order of summation in one of them, and the second equality follows since β σ(i) is decreasing in i. Now, it may be seen that the last expression does not depend on the permutation σ, hence we can remove the permutation and finally obtain Eq. 14. □
Proof of Proposition 3
Item (i) is immediate from Eq. 17. As for (ii), from the same equation we obtain the upper bound
On the other hand, proceeding from the last expression and recalling that α i ≤ α j for i < j,
It is easily verified that the last fraction is maximized when all the Λ i ’s are equal, and in that case it equals (I − 1)/I. Hence follows the lower bound in Eq. 19. □
Proof of Proposition 4
The bounds in Eq. 20 follow immediately after noting that, by collecting terms, Eq. 17 may be written as:
so that H(i,j) is the ratio of the coefficients of the i,j terms. The remaining bounds follow by appropriately bounding H(i,j). As for Eq. 21, assuming that β i ≤ β j we get
(the case β i > β j is symmetric since H(i,j) = H(j,i)). As for Eq. 22, supposing that \(\frac{\beta_i}{\alpha_i}\leq \frac{\beta_j}{\alpha_j}\), we get
Finally, to establish Eq. 23, consider again that β i ≤ β j so that
□
Proof of Proposition 5
We proceed to bound he last expression, by computing its maximum over \(\boldsymbol{\Lambda}\geq 0\), where \(\boldsymbol{\Lambda}=(\Lambda_1,\dots,\Lambda_I)\).
Let us reorder the class indices so that β 1 < β 2 < ... < β I (in case there are equal coefficients we can collapse them into a single class). Denote the right-hand side of Eq. 42 by Λ, and let Λ and Λ denote the nominator and denominator of that expression. We will show that the maximum of F is attained when Λ2 = ... = ΛI − 1 = 0 and \(\Lambda_1/\Lambda_I=\sqrt{\beta_I}/\sqrt{b1}\). The required bound is then the value of F at this point.
A maximizer Λ of F must satisfy
with equality if Λ k > 0. Since F = N/D, we get
or equivalently
with equality if Λ k > 0.
Consider three consecutive coordinates (Λk − 1,Λ k ,Λk + 1) of the maximizer Λ, with 2 ≤ k < I − 1, and suppose that Λ k > 0. We will show that this is impossible. Since the right hand side of Eq. 43 is independent of k, we get at this point
which implies that
Now, direct computation of the relevant derivatives gives
so that
and similarly
Comparing the last two expressions, it is evident that Eq. 44 can hold only if Λ k = 0.
It follows that any maximizer Λ of F must have Λ2 = ...ΛI − 1 = 0. To determine Λ1 and Λ I , observe that F now reduces to
where \(\lambda\stackrel{\triangle}{=} \Lambda_1/\Lambda_2\). Minimizing the last denominator over λ (which is equivalent to maximizing F) gives \(\beta_1 - \beta_2/\lambda^2=0\), or \(\lambda=\sqrt{\beta_2/\beta_1}\). Substituting this maximizing value back in F gives the upper bound \(F({\mathbf \Lambda}) = 1+\sqrt{\beta_I/\beta_1}\). Recalling that the β i ’s were arranged in increasing order, this establishes the claimed upper bound. □
Proof of Proposition 6
First consider \( \tau_0 < \hat{\tau} < \frac{a}{\mu}\). As argued before, under any equilibrium, the server will serve at a full rate till time 1/μ. Clearly, the last customer to be served in equilibrium will arrive at time 1/μ and incur the cost \(c_2\stackrel{\triangle}{=} \beta/\mu\). Note also that any customer from population 1 has the option of arriving at time \(\hat{\tau}\) and be served by at most time a/μ, resulting in an upper bound on her cost \(c_1\stackrel{\triangle}{=}\alpha\big(\frac{a}{\mu} - \hat{\tau}\big) + \beta \frac{a}{\mu}\). Therefore, the equilibrium cost for population 1 is upper bounded by c 1. It is easy to verify that c 1 < c 2 (using \( \tau_0 < \hat{\tau}\)), which implies that population 1 customers will not be the last to arrive.
Hence, some member of population 2 is the last to arrive, and in equilibrium the cost incurred by each customer of population 2 equals c 2. Clearly, population 1 cannot arrive after time \(\hat{\tau}\) and incur cost less than c 2, as then a customer from population 2 can replicate this to lower her own cost. Hence, since all customers in population 1 have a constant cost, this population arrives uniformly in an interval \(\big[\tau-\frac{a}{\mu m},\tau\big]\) at rate μm for some \(\tau \leq \hat{\tau}\). Again, if \(\tau < \hat{\tau}\), the last customer of this population can improve her cost by arriving at \(\hat{\tau}\), so \(\tau = \hat{\tau}\). In particular, the cost incurred by population 1 customers equals c 1, and they are served uninterruptedly till time a/μ, which results in the stated arrival profile. From population 2’s viewpoint, then, in equilibrium the service opens at time a/μ, and hence in equilibrium it must follow the profile specified in the proposition.
It is straightforward to compute the PoA for the specified equilibrium, we omit the details.
Now consider the case \(\hat{\tau} < \tau_0\). Let c 1 and c 2 be defined as above, and note that now c 1 > c 2. As before, we argue that no customer can have cost more than c 2, while population 2’s cost will equal c 2. If all of population 1 arrives by time \(\hat{\tau}\), the cost incurred by its last customer (who will be served at time a/μ and will need to wait at least \(a/\mu - \hat{\tau}\)) is not less than c 1. Hence, this cannot hold in equilibrium and some customers from population 1 must arrive after time \(\hat{\tau}\). But these must have the same cost c 2 as population 2 customers in equilibrium (as any arrival of population 2 at that time will incur the same cost). Thus, equilibrium cost for each customer must equal c 2, and the joint arrival profile must be as stated. Finally, population 2 customers cannot come before \(\hat{\tau}\) in equilibrium, since then a customer from population 1 that arrives at \(\hat{\tau}\) will have priority over them and thereby achieve better cost than c 2. However, beyond \(\hat{\tau}\) arrivals from both populations have similar status, so that any order of arrival that keeps the joint uniform distribution (hence cost c 2) would complete an equilibrium profile. The PoA clearly equals 2 since the joint arrival distribution is the same as in the single-class case.
The case of \(\hat{\tau} = \tau_0\) is borderline between the above two and can be treated by either argument, we omit further details. □
1.2 A.2 Reducing the PoA through tariffs: supplements
This discussion supplements Section 6.3. We state two propositions: Proposition 7 specifies the equilibrium profile for \(p=(1+c)\frac{\beta}{2 \mu}\), c > 0. Proposition 8 does this for \(p=(1-c)\frac{\beta}{2 \mu}\), c > 0. The arrival profiles in the two cases are illustrated in Fig. 6. The proofs of these propositions are straightforward. They rely on the fact that the two populations: One that pays an additional tariff p and the other that doesn’t each arrive over their respective arrival intervals at a constant rate μm in such a way that the cost incurred by a customer in either population is the same. For brevity we omit the proofs.
Proposition 7
For \(p=(1+c)\frac{\beta}{2 \mu}\), c > 0:
-
1.
In unique equilibrium, \(\big(\frac{1}{2}- \frac{c}{ 4}\big)\) proportion of customers arrive as population 1, for c ≤ 2, at rate μm, uniformly over
$$ \left [ -\frac{\beta}{\alpha \mu}\left(\frac{1}{2}- \frac{c}{ 4}\right) , \frac{1}{\mu}\left(\frac{1}{ 2} - \frac{c}{ 4}\right) \right ], $$and \(\big(\frac{1}{2}+ \frac{c}{ 4}\big)\) proportion arrive as population 2 at rate μm uniformly over
$$ \left [ \frac{1}{2 \mu }- \frac{\beta}{2\alpha \mu}\left({1} + \frac{c}{ 2}\right), \frac{1}{ \mu} + \frac{c}{ 4\mu} \right]. $$For c ≥ 2, all customers come as population 2 as for c = 2.
-
2.
Furthermore, for c ≤ 2, the PoA equals
$$ \label{eqn:poa} =\frac{3}{2}+ \frac{c(1+c)}{4}. $$(45)For c > 2 it equals 3.
Proposition 8
For \(p=(1-c)\frac{\beta}{2 \mu}\), c ∈ (0,1):
-
1.
In unique equilibrium, proportion \(\frac{1}{2} + \frac{\beta c}{2(\alpha+\beta)}\) of customers arrive as population 1 at rate μm, uniformly over
$$ \left [-\frac{\beta}{2 \alpha \mu}(1+c), \frac{1}{2 \mu} \right]. $$In addition, proportion \(\frac{1}{2} - \frac{\beta c}{2(\alpha+\beta)}\) of customers arrive as population 2 at rate μm, uniformly over
$$ \left [\frac{1}{2\mu}- \frac{\beta}{2 \alpha \mu}(1-c), \frac{1}{\mu} \right]. $$ -
2.
Furthermore,
$$ \label{eqn:poa100} PoA = \frac{3}{2} + \frac{c(\alpha + \beta c)}{2(\alpha + \beta)}. $$(46)This equals 3/2 at c = 0 and 2 at c = 1.
Note that for tariff \( 0 \leq p \leq \frac{\beta}{2 \mu}\), the cost to each customer remains fixed at \(\frac{\beta}{\mu}\) while this had increased for \(p > \frac{\beta}{2 \mu}\).
Rights and permissions
About this article
Cite this article
Jain, R., Juneja, S. & Shimkin, N. The concert queueing game: to wait or to be late. Discrete Event Dyn Syst 21, 103–138 (2011). https://doi.org/10.1007/s10626-010-0097-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10626-010-0097-0