- The paper introduces a novel differential equation method to characterize transient behavior in Markovian queues with balking, conditioned on a fixed number (example: 100 customers) of joined customers by time T.
- The method, involving a probability generating function-based differential equation and a backward-in-time ODE, transforms potentially time-long computational expressions into finite systems to estimate the conditional probabilities efficiently.
- Numerically, the study shows that this method results in clearer insights for the system dynamics about transient behavior for queue length, in contrast to steady-state analyses; for instance, arrival- and departure-rate dynamics can display unexpectedly unimodal behavior even under constant arrival rates.
Model and problem setting
The paper studies a Markovian queueing system in which customers arrive according to a nonhomogeneous Poisson process over a finite interval [0,T], and an arriving customer who observes ℓ customers in the system joins with probability βℓ and balks otherwise. The service mechanism is Markovian, represented by a finite phase set S, so the process (Ajoin(t),L(t),S(t)) is a continuous-time Markov chain (CTMC) on a state space of size O(K2∣S∣) when restricted to at most K joins. The object of interest is the transient joint distribution
πk,ℓ,s,b(t∣K)=Pr[Ajoin(t)=k, L(t)=ℓ, S(t)=s, Abalk(t)=b∣Ajoin(T)=K],
that is, system behavior conditional on exactly K joined customers by time T. The authors motivate this conditioning as a complement to conventional time-averaged or transient analyses: ℓ0 is an observable summary statistic (e.g., over one business day) even though it is not controllable. This work extends prior research on queues fed by exactly ℓ1 i.i.d.-timed arrivals [Minh1977; Louchard1988; Louchard1994; Honnappa2015; Bet2019; Bet2020; Mandjes2025], which did not incorporate balking.
A naive approach requires an expanded state space including the cumulative balk count, which is countably infinite, or treating balking as a Markovian counting process driven by the underlying chain [Lucantoni1985; Takine1994]; either way, the state space grows as ℓ2 — already exceeding 10,000 states for modest values such as ℓ3, ℓ4. A second difficulty is that computing the conditioning factor ℓ5 repeatedly across many time points is expensive.
Generating-function characterization
The paper circumvents the first difficulty by working with the probability generating function (PGF) of the cumulative balk count rather than its full distribution. The central structural result (Lemma 1) is a first-order differential equation for the unconditional PGF vector:
ℓ6
where ℓ7 is a diagonal matrix collecting the balking probabilities ℓ8. Differentiating ℓ9 times at βℓ0 yields a closed recursion for factorial moments βℓ1 driven by the lower-order moment through βℓ2 (Lemma 3). This reduces the infinite-dimensional counting-process computation to a family of finite ODEs of the same size as the base CTMC.
The second difficulty is resolved by a backward-in-time formulation. Defining βℓ3, Lemma 2 shows this quantity satisfies the linear ODE βℓ4 with boundary condition concentrated on states with βℓ5 at βℓ6. Solving once backward over βℓ7 then provides the conditioning factor for all intermediate times simultaneously. Theorem 1 combines these pieces into
βℓ8
and Theorem 2 gives the analogous identity for factorial moments βℓ9. This factorization exploits the fact that S0 and S1 are conditionally independent given S2, so no joint tracking of balks across the conditioning event is required.
Computational procedure for piecewise-constant rates
For piecewise-constant S3 and S4, all quantities reduce to matrix exponentials, which are evaluated by uniformization to ensure numerical stability (all operations involve only non-negative additions and multiplications, avoiding cancellation error). A notable technical point concerns the stacked matrix
S5
used to advance the state probability and the first S6 factorial moments jointly: because its row sums need not vanish, it is not a proper generator. The authors handle this by factoring out S7 and choosing the uniformization rate as S8, which guarantees that both S9 and (Ajoin(t),L(t),S(t))0 are substochastic — a necessary condition for uniformization to be valid. Exploiting the block structure of (Ajoin(t),L(t),S(t))1, each power application decomposes into per-block recurrences, and sparsity of the M/PH/1 generator (detailed in an appendix) further reduces per-iteration cost. The overall algorithm computes (Ajoin(t),L(t),S(t))2 forward and (Ajoin(t),L(t),S(t))3 backward, then assembles conditional moments via the product formula; truncation depth (Ajoin(t),L(t),S(t))4 of the Poisson series is an explicit accuracy parameter.
Numerical findings
The examples concern an M/PH/1 queue with mean service time one, (Ajoin(t),L(t),S(t))5, (Ajoin(t),L(t),S(t))6, and entry probabilities (Ajoin(t),L(t),S(t))7. The headline observation is that conditioning on (Ajoin(t),L(t),S(t))8 induces persistent transient dynamics even under a time-homogeneous arrival rate: for (Ajoin(t),L(t),S(t))9, the expected number in system rises and then falls (a unimodal trajectory), whereas for smaller O(K2∣S∣)0 it remains nearly flat. This contradicts the intuition inherited from unconditioned models, where the system converges toward steady state.
The authors trace the mechanism carefully. Decomposing O(K2∣S∣)1, they show the conditional joining rate exhibits a systematic bias — when O(K2∣S∣)2, the constraint forces many balking events, so the conditioned path admits more customers early, raising congestion and creating balking opportunities. Crucially, they attribute this bias primarily to the arrival process itself (O(K2∣S∣)3 is time-varying) rather than to balking, whose conditional rate simply tracks congestion. A diagnostic emerges from comparing O(K2∣S∣)4 with O(K2∣S∣)5: when the unconditional expected join count exceeds O(K2∣S∣)6, trajectories peak mid-interval; when it falls short, they increase steadily.
Service-time variability shifts where the bias resides. At fixed O(K2∣S∣)7 (so O(K2∣S∣)8): large coefficients of variation produce frequent long services, heavy congestion, and elevated departure-rate bias, while small O(K2∣S∣)9 shifts the bias to the arrival process, with the departure rate saturating near capacity. The shape of K0 matters as well: concave entry probabilities concentrate entries early with late-peaking balking, while convex K1 produces milder congestion peaks, fewer arrivals, more departures, and fewer balks, since the system responds gradually rather than by inflating congestion to induce balking. All five tested K2 forms were calibrated to match unconditional expected balk counts in K3, isolating shape effects from aggregate balking intensity.
Limitations and open questions
The analysis assumes that once a customer joins, she remains until service completion; reneging is excluded. Consequently, conditioning on the number of served customers does not coincide with conditioning on the number of entries under abandonment, and the framework does not directly apply to systems with early departures — the authors identify this extension explicitly as future work. The numerical procedure is developed only for piecewise-constant arrival rates and generators; general time-varying parameters would require alternative ODE solvers whose stability properties are not addressed here. Finally, the truncation parameter K4 of the uniformization series is treated as an input without formal error bounds tied to it, and the reported experiments are limited to single-server M/PH/1 queues with specific K5 calibrations.
Conclusion
This paper provides an exact, computationally tractable characterization of transient behavior in Markovian balking queues conditioned on a fixed number of joined customers. The two key devices — a PGF-based differential equation that eliminates explicit tracking of the balk counter, and a backward-in-time ODE for the conditioning probability — together reduce a high-dimensional conditional computation to forward and backward solves of finite linear systems, stabilized via uniformization. The numerical study demonstrates that this conditioning systematically distorts arrival and departure dynamics, producing unimodal queue-length behavior even under constant arrival rates, and identifies whether the distortion appears in arrivals or departures as a function of service variability and entry-probability shape.