Abstract 1 Introduction 2 Preliminaries 3 The Dirichlet mechanism 4 Online Matching algorithm 5 Weighted completion time on unrelated machines 6 Analysis of the function 𝚿 References Appendix A Criterion for log-absolutely monotonic functions Appendix B Derivation of function 𝑭 in Algorithm 3 Appendix C Proof of Lemma 10

The Dirichlet Mechanism for Rounding with Strong Negative Correlation, with Applications

David G. Harris University of Maryland, College Park, MD, USA    George Z. Li Carnegie Mellon University, Pittsburgh, PA, USA    Nitya Raju University of Maryland, College Park, MD, USA    Renata Valieva University of Maryland, College Park, MD, USA
Abstract

Many optimization and scheduling problems can be abstracted in terms of a bipartite “assignment graph” G=(LR,E), where the goal is to select exactly one edge for each right-node. For example, a right-node may correspond to a job, and a left-node to a possible machine assignment. A common strategy to solve such problems is to obtain a fractional relaxation xe for each edge e, and then have each right-node independently select an edge with probability xe. However, this may cause the left-nodes to become unevenly loaded, leading to suboptimal solutions for some problems.

To address this, a number of algorithms for dependent rounding with strong negative correlation have been developed, e.g. Bansal, Srinivasan & Svensson (2021), Im & Shadloo (2020), Im & Li (2023), Harris (2024), Naor, Srinivasan & Wajc (2025). We introduce a new method for this, which we call the Dirichlet mechanism. It is based on having each left-node draw Dirichlet random variables for its edges, and then having each right-node select an edge based on these values. This achieves quantitatively stronger negative correlation than previous algorithms, and is also simpler since it avoids the need for a tie-breaking mechanism.

We illustrate the mechanism with improved approximation ratios for two problems. For oblivious online dependent rounding, we achieve a 0.68-approximation which improves upon the previous 0.652-approximation of Naor, Srinivasan & Wajc (2025). For the problem of scheduling jobs on unrelated machines to minimize weighted completion time, we achieve a 1.387-approximation which improves upon the 1.398-approximation of Harris (2024). (A recent algorithm of Li (2025) based on iterated rounding also provides a 1.36-approximation if the weights of each job are independent of machine.)

Keywords and phrases:
Dirichlet distribution, copula, weighted completion time, online rounding
Category:
Track A: Algorithms, Complexity and Games
Copyright and License:
[Uncaptioned image] © David G. Harris, George Z. Li, Nitya Raju, and Renata Valieva; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Probabilistic algorithms
; Mathematics of computing Combinatorial optimization
Acknowledgements:
We thank Mark Jacobson for suggesting the use of a Dirichlet distribution, and for explaining its definitions and properties.
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

Many scheduling and resource allocation problems can be formulated as a bipartite assignment problem: we are given a complete bipartite graph G=(UV,E), and we wish to select a set of edges K which intersects each right-node vV exactly once. That is, K is a “half-matching”. For instance, V can represent a set of jobs to be scheduled, and U can represent a set of possible machines. Alternatively, V can represent a set of items to be sold, and U can represent potential buyers.

There is a natural strategy for solving such problems. First, one solves a relaxation (e.g., an LP relaxation) to obtain a fractional solution (xe:eE). Then, for each right-node vV, one selects exactly one neighboring edge eN(v), wherein each edge is selected with probability xe. We refer to this as independent rounding. (Here, N(v) denotes the set of edges incident on vertex v). This algorithmic approach applies to a wide range of problems, and we do not need to belabor its power.

An inherent limitation of independent rounding is that the left-nodes (e.g. the machines in a scheduling problem) can become unevenly loaded due to random fluctuations in edge selections. This is alleviated when the average number of selected edges per left-node is large, but not all problems lie in the “concentration threshold” regime.

In a breakthrough result, [3] devised a new rounding approach, based on dependent rounding with strong negative correlation. Instead of right-nodes acting independently, they are tied together in a scheme wherein each edge e is still marginally selected with probability xe, but for any pair of edges e,f incident on the same left node, there is a strong negative correlation, i.e.

𝔼[XeXf](1c)xexf

for some small constant c>0, where Xe,Xf are indicator variables for selecting edges e,f. We contrast this with mere negative correlation, which ensures only that

𝔼[XeXf]xexf

The strong negative correlation property implies that the loads on each left-node become more balanced. Using this approach, [3] achieved a (1.5ε)-approximation algorithm for a classical scheduling problem of minimizing weighted completion time on unrelated machines, for some minuscule constant ε>0. Notably, they showed that independent rounding – even when given a solution x which is a convex combination of optimal integral solutions – is inherently limited to a 1.5-approximation ratio.

Since then, a variety of rounding schemes with strong negative correlation have been developed, leading to improved approximation ratios for this scheduling problem and others [9, 8, 5, 7]. Generally speaking, we can group these schemes into two classes. The first approach, as in the original work of [3], is based on a random walk: at each stage, the fractional vector x is modified, until eventually it becomes integral. An improved version of this rounding scheme was later developed in [5].

The second approach, developed originally by [8], is based on ideas from contention-resolution in economics. Here, each left-node is “bidding” for the right-nodes, and these demands are balanced so that each left-node does not get too many edges. As a result, the variables Xe,Xf become negatively correlated. The algorithm of [8] was based on Poissonian “tickets” for the allocation; the later work [7] was based on a multivariate geometric distribution.

1.1 Our Contributions

In this work, we develop a new randomized rounding method that falls firmly into the second approach, which we call the Dirichlet mechanism. It is based on Dirichlet random variables as the underlying probability distribution for contention among the left-nodes. Such random variables have powerful properties: they have continuous CDF’s, are negatively associated, are infinitely divisible, can be simulated online, and so on.

The correlation function does not have a closed-form expression, and requires some grueling analysis of the Incomplete Beta function for general calculations. For many algorithmic applications, as we will see, the worst-case behavior comes when the fractional relaxation x has infinitesimal entries. In this special case, we can summarize the new algorithm crisply:

Theorem 1 (Simplified).

Suppose that edges e,f share a left-node u, and entries xe,xf are infinitesimal. Then the dependent rounding ensures that111See Proposition 8 and Theorem 11 for further details. For readability, we use the generalized Binomial coefficient here.

𝔼[XeXf]xexf(2/a1/a)for a=eN(u)xe

By contrast, the rounding scheme in [7] would give 𝔼[XeXf]2xexf1+e1/a in the infinitesimal setting. The rounding schemes of [3, 9, 5] have not been analyzed for general values of a; for a=1, they would give coefficients of 107108,2e and 2627 respectively, which apply also for non-infinitesimal xe,xf.

At a high level, our approach is similar to [7]: we construct random variables for each edge that are marginally continuous uniform random variables, but collectively have strong negative correlation. Instead of generating them via the Multivariate Geometric distribution, we use a Dirichlet distribution. The new algorithm is quantitatively stronger. It is also simpler: because the Dirichlet distribution has a continuous CDF, there is no need for the tie-breaking mechanisms required in [8] or [7].

By plugging our new dependent-rounding algorithm into the framework of [7], we obtain an improved approximation algorithm for the problem of Scheduling on Unrelated Machines to Minimize Weighted Completion Time, essentially for free. In addition, our new rounding algorithm can be used for a novel, and much simpler, algorithm for the problem of Oblivious Online Matching. We now provide an overview of these problems, and how our algorithm applies to each.

1.2 Application: Oblivious Online Matching

The online dependent rounding problem was introduced in [13], as an abstraction of allocation problems with long-term average-case demand information. In this scenario, we have a bipartite graph G=(UV,E), where the “offline nodes” U are fixed and known in advance. Each time an “online” node vV appears, we learn the demand values g(u,v):uU. We are guaranteed that the overall collection of demands ge forms a fractional matching in the graph. Upon the arrival of v we must immediately and irrevocably select some edge e incident to v to add to a matching M (or opt to add none). The goal is to achieve

Pr(eM)γgefor some factor γ[0,1]

In the offline setting, it is trivial to achieve a ratio γ=1, since the fractional matching polytope has no integrality gap for bipartite graphs. There is a simple online scheme to achieve a ratio γ=11/e0.632, based on contention resolution. The work [13] showed an upper-bound for γ0.828 in the online setting, and provided a sophisticated algorithm with ratio γ=0.652.

The Dirichlet mechanism can be implemented in the online setting, which we use to provide an improved algorithm for this problem. We get the following result:

Theorem 2.

There is an algorithm for Oblivious Online Matching with ratio γ=0.68.

Beyond the slightly improved factor, the algorithm is simpler. Unlike [13], it does not need special cases and subroutines; the full algorithm fits comfortably on half a page. We emphasize that this is the first new application of strongly negatively correlated randomized rounding schemes since its introduction in [3].

1.3 Application: Weighted Completion Time

The classical scheduling problem of Weighted Completion Time on Unrelated Machines is denoted in the scheduling literature as R||jwjCj. We have a set of machines and a set of jobs 𝒥, where each job j has a weight wj and a separate processing time pij on each machine i. The objective is to assign jobs to machines in some order, so as to minimize the total weighted completion time jwjCj, where Cj is the cumulative processing time of all jobs assigned to machine i up to and including j, jjpij. There is also a variant where the weight of a job j may depend on the machine i to which it is assigned.

This problem has attracted attention, in part, because it leads to sophisticated rounding algorithms. In particular, the objective function can be seen as a quadratic function of the underlying assignment variables. Breaking a long-standing barrier, [3] devised a rounding algorithm with an approximation ratio 1.5ε for a very small constant ε>0, based on dependent rounding with negative correlation.

Since then, there have been a number of improved approximation algorithms using various dependent rounding schemes. Most of these works can be summarized in the following framework: first solve a convex relaxation, next cluster the jobs by processing times and weights, and finally apply a rounding scheme with strong negative correlation within clusters. (The recent algorithm [12] is an exception to this pattern: it is more in the genre of iterated rounding.) We summarize these algorithms as follows:

Ref. Relaxation Machine-varying Ratio
weights?
[3] Semidefinite Program 1.5ε
[11] Time-indexed LP 1.5ε
[9] Time-indexed LP 1.488
[8] Time-indexed LP 1.45
[7] Semidefinite Program 1.398
[12] Configuration LP X 1.36
This work Semidefinite Program 1.387

Plugging the Dirichlet mechanism into the algorithm of [7] gives us a slightly stronger approximation ratio, essentially for free.222Since our analysis is very similar to [7], we used off-the-shelf numerical optimization methods instead of exact arithmetic for the computations. As a result, the numerical figure here is technically a pseudo-theorem (marked with a dagger).

2 Preliminaries

In this section we review background on two key probabilistic notions used throughout the paper: (i) Negative Association of random variables, and (ii) the Dirichlet distribution and its properties.

At several points in this paper, we silently assume that relevant quantities are non-zero. For example, we may write 1x1 without verifying that x>0. In all cases, the formulas can be extended to the boundary case x=0 in a straightforward way. This convention allows us to avoid cluttering the exposition with excessive edge case discussions.

Our algorithms center around a probability distribution known as the Dirichlet distribution. In order to define it, we first introduce the Beta function,

B(a;b)=Γ(a)Γ(b)Γ(a+b)=01ta1(1t)b1dt

where Γ denotes the Gamma function. This is closely related to the generalized Binomial coefficient defined by

(xy):=Γ(x+1)Γ(y+1)Γ(xy+1)=1B(xy;y+1)(xy)

There are a number of important variants and extensions of the Beta function that will be useful for our analysis. The first is the Incomplete Beta function, given by

B(z;a;b)=0zta1(1t)b1dt=zak=0Γ(k+1b)zkΓ(1b)(a+k)k!.

where the latter a convergent series for |z|<1. We also define the regularized Incomplete Beta function by

I(z;a;b)=B(z;a;b)B(a;b).

Another variant is the multivariate Beta function, defined for a vector ρ=(ρ0,,ρn) by

B(ρ)=i=0nΓ(ρi)Γ(i=0nρi)
Definition 3 (Dirichlet distribution).

The Dirichlet distribution is a family of continuous multivariate probability distributions parameterized by a vector of positive reals ρ=(ρ1,ρ2,,ρn). It is denoted as Dir(ρ) and defined on the (n1)-dimensional simplex by the probability density function

f(x1,,xn;ρ1,,ρn)=1B(ρ)i=1nxiρi1

where xi0, i=1nxi=1.

The Dirichlet distribution can be viewed as a distribution over vectors with x1++xn1, with PDF:

f(x1,,xn;ρ1,,ρn,ρ0)=1B(ρ)(1x1xn)ρ01i=1nxiρi1

for ρ=(ρ1,,ρn,ρ0). This effectively adds a dummy variable x0 as the (n+1)st dimension to lie on the n-dimensional simplex.

The following important property will be used for our Dirichlet rounding algorithm:

Definition 4 (Negatively Associated random variables).

A finite collection of random variables χ=(X1,X2,,Xn) is negatively associated (NA) if for every pair of disjoint subsets A,B[n], we have

ov(f(Xi,iA),g(Xj,jB))0

for all functions f and g that are increasing in each argument.

Fact 5 (Properties of the Dirichlet distribution).

Let (X1,,Xn)Dir(ρ1,,ρn).

  1. 1.

    Marginals have a Beta distribution: Each coordinate i satisfies XiBeta(ρi,jiρj). Its CDF is given by

    Pr(Xiz)=I(z;ρi,jiρj)for z[0,1].
  2. 2.

    Symmetry: If π is a permutation of {1,,n}, then (Xπ1,,Xπn)Dir(ρπ1,,ρπn).

  3. 3.

    Aggregation: If two components Xi and Xj are aggregated by summation, with Xi and Xj replaced by Xi+Xj, the new vector X=(X1,,Xi+Xj,,Xn) also follows a Dirichlet distribution,

    XDir(ρ1,,ρi+ρj,,ρn).
  4. 4.

    Neutrality: For any kn, the random variable Xk is independent of

    (X11Xk,,Xk11Xk,Xk+11Xk,,Xn1Xk).
  5. 5.

    Negative association: X1,,Xn are NA r.v.’s [4]

  6. 6.

    Moments: For a vector of non-negative reals β=(β1,,βn), there holds

    𝔼[i=1nXiβi]=B(ρ+β)B(ρ)=Γ(i=1nρi)Γ(i=1nρi+βi)i=1nΓ(ρi+βi)Γ(ρi),

    where B(ρ) is the multivariate beta function.

3 The Dirichlet mechanism

We introduce the Dirichlet mechanism for bipartite rounding. It has two parts. The first part is the generation of a vector of negatively correlated uniform random variables. This is achieved by sampling Dirichlet variables, and transforming them into uniform random variables. The second part is a method of bipartite selection using these generated Uniform random variables. This rounding step is exactly the same as the method of [7]; for completeness, we include the analysis in this section.

3.1 The Dirichlet copula

This step is deceptively simple: generate a multivariate Dirichlet vector and transform each of its marginals to a Uniform. The resulting probability distribution is known as a copula. Here we use Fact 5(1), which gives the explicit marginal CDF in terms of the regularized Incomplete Beta function I(z;ρi;1ρi).

Algorithm 1 DirichletCopula(ρ).
Observation 6.

Each variable Ai follows the distribution Unif([0,1])

Proof.

By Fact 5(1), each Ti is marginally distributed as Beta(ρi;1ρi) with CDF I(x,ρi,1ρi). Note that I(x,ρi,1ρi) is a continuous function of x. Thus, the mapping from Ti to Ai is the well-known inverse transform sampling for random variables.

Most of the analysis can be stated in terms of a function Ψ, which is intuitively some measure of the correlation between the random variables Ai and Aj. This function is used throughout the analysis, and we will need the integral form of it for analysis later:

Proposition 7.

For indices ij and xi,xj>0, we have

𝔼[Ai1/xi1Aj1/xj1]=xixjΨ(xi,xj;ρi,ρj)

for the function Ψ defined as Ψ(x1,x2;ρ1,ρ2)=𝔼[I(X1;ρ1;1ρ1)1/x11I(X2;ρ2,1ρ2)1/x21] where X1,X2Dir(ρ1,ρ2,1ρ1ρ2).

Proof.

We have (Ti,Tj)Dir(ρi,ρj,1ρiρj)(X1,X2) by Fact 5(2).

The Ψ function is critical to analyzing the approximation factors of the algorithms. Unfortunately, it is extremely complex, defined in terms of integrals and non-elementary functions. As a rough order-of-magnitude estimate, the following bound is useful:

Proposition 8.

There holds

Ψ(x1,x2;ρ1,ρ2)(ρ1(1/x11)+ρ2(1/x21)ρ1(1/x11))1.

By contrast, note that independent uniform random variables U1,U2 would have

𝔼[U11/x11U21/x21]=x1x2.

Since (ρ1(1/x11)+ρ2(1/x21)ρ1(1/x11))>1, Proposition 8 should be interpreted as a statement that the correlated uniform random variables A1 and A2 have strong negative correlation.

We show Proposition 8 in Section 6, along with other more-precise (but complicated) bounds. For now, we think of Ψ as a black-box function, and we calculate the algorithm’s behavior in terms of Ψ. We will later use more-precise versions of Proposition 8 to give explicit bounds for our algorithms.

3.2 Bipartite rounding

The second part of the Dirichlet mechanism is to implement bipartite selection using the correlated uniform variables. We start with a bipartite graph G=(UV,E), with weight xe and a correlation parameter ρe for each edge e. These are generated in a problem-specific way; intuitively, ρe controls how much “repulsion” the edge has toward other edges sharing the same left-node.

At a high level, each left-node u generates uniform random variables Ae for the edges eN(u) via CorrelatedUniform. It then transforms these uniform variables to exponential variables Ze with rate xe. Each right-node v selects the incident edge whose value Ze is the smallest. (If x(N(u))<1 then there is a slight adjustment where u may select no edges.)

If the exponential random variables Ze were all independent, then this would be equivalent to independent rounding; this is known as randomized rounding via exponential clocks in the literature [1]. Intuitively, it is beneficial to negatively correlate the events that two adjacent edges are added, as this reduces the expected number of collisions and hence the need to subsequently remove edges to obtain a valid matching.

Combining the new sampling scheme with the algorithm from [7], we introduce Algorithm 2.

Algorithm 2 DepRound(G,x,ρ): the Dirichlet rounding mechanism.

Lines 3 and 4 are precisely applying DirichletCopula for the vector (ρe:eN(e)). Note that in Line 8, if x(N(v))=1, the condition reduces to choosing the minimum Zf value. To state the negative correlation results in greatest generality, we recall the following definition and lemma from [7].

Definition 9 (Stable edge set).

An edge set SE of G is stable if it has no edges e1,e2 whose distance in the line graph of G is precisely two.

Lemma 10 ([7]).

Algorithm 2 satisfies the following properties:

  1. 1.

    For any right-node vV, the random variables Ze:eN(v) are independent Exponentials, each of rate xe.

  2. 2.

    The random variables Ae:eE are NA.

  3. 3.

    For any edge eE, there holds Pr[Xe=1]=xe.

  4. 4.

    Each right-node v has at most one edge selected.

  5. 5.

    For a stable edge set S, there holds 𝔼[eSXe]𝔼[eSAe1/xe1]eSxe.

Proof.

The proofs are similar to [7] and are deferred to Appendix C.

The following theorem characterizes the strong negative correlation properties of the algorithm entirely based on the Ψ function.

Theorem 11.

For any two edges e1=(u,v1), e2=(u,v2) with the same left-node u we have

𝔼[Xe1Xe2]xe1xe2Ψ(xe1,xe2;ρe1,ρe2)

Proof.

Note that S={e1,e2} is a stable edge-set, since e1 and e2 have distance one in the line graph of G. By Lemma 10, we have 𝔼[Xe1Xe2]𝔼[Ae11/xe11Ae21/xe21]. The random variables Ae1,Ae2 are generated by DirichletCopula with input ρ. So the result follows from Proposition 7.

4 Online Matching algorithm

Recall the problem setting: we have a bipartite graph G=(UV,E), where the offline nodes U are fixed and known in advance. When each online node vV appears, we learn the demands g(u,v):uU. We are guaranteed that the weights ge form a fractional matching for the graph.

For edges e1=(u1,v1),e2=(u2,v2), we say that e1<e2 if the online node node v1 is revealed before v2. For an edge e=(u,v), we define L(e)={fN(u),f<e}, that is, edges which share a left-node with e and come earlier in the ordering.

Our plan is to run DepRound(G,x,ρ), where x and ρ are both determined in an online fashion from g. For this, we take advantage of the fact that the generation of Dirichlet random variables, and the DepRound algorithm, can both be implemented online vertex-by-vertex. For full details see Algorithm 3.

Algorithm 3 ExponentialODRS({xe[0,1]:eE}).

For intuition, suppose all values ge are infinitesimal. In this case, xeF(re)geye for each edge e. The function F serves as an “attenuation factor” so that edge e is selected with probability xeF(re)ge, as opposed to ge in an offline algorithm. Without this attenuation factor, the early arriving edges would go into the matching with a higher probability, as later ones can only be accepted if no earlier edge was selected. The factor F(t) penalizes earlier edges (where re0 and F(re)F(0)=0.68145), while leaving alone the final edges of a node (where re1 and F(re)1). This evens out the edges; as a side benefit, the attenuation factor increases the negative correlation strength of the Dirichlet mechanism.

To derive the specific functional form of F, we assume the edge weights ge are infinitesimal, and solve a differential equation to maximize the minimum approximation ratio. See Appendix B for further details.

Let us define

Q(t0,Δt)=t=t0t0+ΔtF(t)dt,so that ye=Q(re,ge).

By direct calculations, one can easily verify the following properties of the function F:

Observation 12.

The function F satisfies the following properties:

  1. (a)

    F is nonnegative, increasing, and concave-up;

  2. (b)

    Q(0,1)1/α;

  3. (c)

    F(1)1.

We now examine a few basic properties and inequalities of the algorithm. On a high level, we first show that the choice of edges in ExponentialODRS is exactly the same as running DepRound, for suitable choice of parameters. This gives us Observation 16, which enables us to reduce the analysis of the algorithm to analyzing the Ψ function.

Proposition 13.

For an edge e there holds re=fL(e)gf and re+ge1 and fL(e)yf=Q(0,re)

Proof.

Let u denote the left-node of e and let the edges adjacent to u be f1,f2,,fk,e in order of arrival. So re=gf1++gfk; since x is a fractional matching this is at most 1ge. We further compute:

yf1++yfk=Q(rf1,gf1)+Q(rf2,gf2)++Q(re,ge)
=Q(0,gf1)+Q(gf1,gf2)++Q(gf1++gfk1,gfk)
=t=0gf1F(t)dt+t=gf1gf1+gf2F(t)dt++t=gf1++gfk1gf1++gfkF(t)dt
=t=0gf1++gfkF(t)dt=Q(0,re).

Proposition 14.

For each edge e there holds xe0 and ρe0.

For each right-node v there holds eN(v)xe1.

For each left-node u there holds eN(u)ρe1.

Proof.

Non-negativity of x and ρ hold since F is non-negative. For each edge e, convexity and monotonicity of F implies that

xe=(1β)geF(re)+βt=rere+geF(t)dtgeF(1)ge.

Therefore, for a right-node v, we have eN(v)xeeN(v)ge=g(N(v))1 where the last inequality holds since g is a fractional matching of G.

For the second bound, considering adding an additional dummy edge e at the end of u. By Proposition 13 and Observation 12, we calculate fN(u)ρe=fL(e)αyf=αQ(0,re)αQ(0,1)α1α=1.

Let us say now that an edge e=(u,v) is selected if (1xe)Ze<(x(N(v))xe)minfN(v){e}Zf, (i.e. it satisfies the inequality at Line 8); the edge may or may not be added to the matching, depending on whether uU has been matched earlier.

Lemma 15.

Let Xe denote the indicator variable that edge e is selected. The random variables Xe:eE are as produced by algorithm XDepRound(G,x,ρ).

Proof.

The generation of T in the algorithm follows from the well-known “stick-breaking process” for the Dirichlet distribution [6]. For completeness, we sketch a proof.

Let u be a left-node with edges e1,e2,,ek in order of arrival. By Proposition 14 we have eN(u)ρe1. Let Te1,,Tek be random variables as defined in ExponentialODRS and let (Te1,,Tek) be corresponding Dirichlet variables as in DirichletCopula. We claim by induction that

(Te1,,Tei)Dir(ρe1,,ρei,1ρe1ρei).

For, Fact 5(4) shows that (Tei|Te1,,Tei1)1j=1i1Tej has the same distribution as Beta(ρei,1j=1i1ρej), and Tei is drawn according to this distribution. By Fact 5(3) we aggregate the remaining coordinates Tei+1,,Tek, hence (Te1,,Tei) has precisely the same distribution as (Te1,,Tei).

By Fact 5(2), the overall distribution of (Te)eN(u) is thus the same as in DirichletCopula.

From Lemma 15, we get the following immediate consequences:

Observation 16.
  1. 1.

    M is a matching.

  2. 2.

    Each edge e is selected with probability exactly xe.

  3. 3.

    Edges e,f sharing a left-node are jointly selected with probability at most
    xexfΨ(xe,xf;ρe,ρf).

The following calculation is now key to the approximation ratio:

Lemma 17.

For values r1,r2,g1,g20 with g2+r2r1,g1+r11, and corresponding values

yi=Q(ri,gi),xi=(1β)F(ri)gi+βyi,ρi=ayi

there holds

Ψ(x1,x2;ρ1,ρ2)x1x2cF(r1)g1y2+β(y1g1F(r1))y2Q(0,r1)for constant c=0.3947

Showing this requires a grid search over the relevant parameters g1,g2,r1,r2 and massive computer calculation, as discussed in the full version of the paper. It immediately gives us the bound on the approximation ratio:

Theorem 18.

Each edge e goes into the matching with probability at least 0.68ge.

Proof.

We have eM if e is selected and there is no earlier edge fL(e) which is selected. So Pr(eM)𝔼[Xe]fL(e)𝔼[XeXf]

Let z=β(yeF(re)ge) and let s=Q(0,re). By Observation 16 and Lemma 17, we have

𝔼[Xe] =xe=F(re)ge+z
𝔼[XeXf] yf(cF(re)ge+z/s)

Thus, overall

Pr(eM) F(re)ge+zfL(e)yf(cF(re)ge+z/s)
=z+geF(re)s(cF(re)ge+z/s) (Proposition 13)
=geF(re)(1ct=0reF(t)dt) (definition of s)

It can be easily checked that F(r)(1ct=0rF(t)dt)0.68 for all r[0,1].

5 Weighted completion time on unrelated machines

To reiterate and set notation, we have a set of machines and a set of jobs 𝒥. Each machine-job pair (i,j) has a weight wj(i) and processing time pj(i). The objective is to schedule jobs to minimize

OBJ=ijobs j assignedto machine iwj(i)Cj,

where Cj is the cumulative processing time on machine i for all jobs assigned up to and including job j.

For a single machine, the problem can be solved with a well-known greedy heuristic: schedule the jobs in a decreasing order of the Smith ratio σj=wj/pj. Thus, the key task is to determine which machine to allocate each task to.

Our algorithm starts with a semidefinite-programming (SDP) relaxation, yielding fractional assignments xj(i) for each pair (i,j). The precise form of this program is not relevant for us; see [3] for details. Next, we use the clustering algorithm from [7]: the jobs on each machine are partitioned into classes 𝒫(i) based on their processing times; to avoid worst-case behavior this is done via a random shift. Within each class 𝒫(i), the jobs are sorted in descending order of their Smith ratios σj(i)=wj(i)/pj(i), and sequentially added to a cluster until the cumulative weight of the cluster, j𝒞xj(i), surpasses a threshold θ.

We obtain the integral solution Xj(i) using the DepRound algorithm, where each edge e represents a possible assignment of a job j to a cluster 𝒞k,(i) (and hence to machine i). Most of the rates ρe are proportional to xj(i), however, the last job added to a cluster requires special handling when the cumulative weight of the cluster exceeds a larger threshold τ>θ. We refer to this as a truncated job (there can be at most one per cluster), and the others as untruncated jobs.

The full details are in Algorithm 4.

Algorithm 4 Clustering for the scheduling algorithm.

The subsequent discussion relies on the following key fact.

Theorem 19 ([3]).

For any machine i, suppose the jobs 1,,n are sorted in descending order of the Smith ratio σj(i). For each job j, define

Z(i,j) =12(j=1jXj(i)(pj(i))2+j=1jj=1jXj(i)Xj(i)pj(i)pj(i))
LB(i,j) =12(j=1jxj(i)(pj(i))2+j=1jj=1jxj,j(i)pj(i)pj(i))

If 𝔼[Z(i,j)]ηLB(i,j) for all i,j, then the schedule is an η-approximation in expectation.

In light of Theorem 19, we focus on a single pair (i,j). From now on we omit the superscript (i) and (j) from all relevant variables, writing Z, Xj, pj, wj, σj, 𝒫k, instead of Z(i,j), Xj(i), pj(i), etc.. In addition, all summations j are assumed to range over jobs j𝒥, the set of jobs whose Smith ratio is less than the target job j. Similarly, summations j,j′′ range over ordered pairs (j,j′′)𝒥×𝒥.

For each processing time class 𝒫k, we define Pk=πkPoffset,𝒫k=𝒫k𝒥, and similarly for each cluster 𝒞k,, we set 𝒞k,=𝒞k,𝒥. The last cluster opened within 𝒫k is called a leftover cluster (it could be empty) and is denoted by 𝒞k,left. For a job j𝒫k(i), we define Hj=pj/Pk[1,π].

Proposition 20.

For any pair of jobs j,j, we have 𝔼[XjXj]xjxj. Moreover, if j,j are both in the same cluster, then 𝔼[XjXj]xjxjΨ(xj,xj;ρj,ρj).

Proof.

If jobs j,j are in clusters 𝒞k,(i),𝒞k,(i) for machine i, then {((i,k,),j),((i,k,),j)} is a stable edge set of G, since every job is assigned to a unique cluster per machine. So the first bound follows from Lemma 10. If jobs j,j are in the same cluster, then the edges ((i,k,),j),((i,k,),j) share the same left-node of G. So the second bound follows from Theorem 11.

Now the objective becomes to bound the upper-bound and lower-bound variables

Z =12(jXjpj2+j,jXjXjpjpj)=jXjpj2+12j,j:jjXjXjpjpj
LB =12(jxjpj2+j,jxj,jpjpj)=jxjpj2+12j,j:jjxj,jpjpj.

We emphasize that Z is a random variable which is determined by two sources of randomness: the offset Poffset used to form the clusters, and the Dirichlet mechanism itself. Conversely, LB is just a scalar quantity. In order to analyze the lower and upper bounds, we define parameters

L=jxjpj,Q=jxjpj2,

Note that LBmax{Q,12(Q+L2)}. On the other hand, just using the negative correlation property E[XjXj]xjxj, we have 𝔼[Z]Q+12L2. So 𝔼[Z]3/2LB, hence, providing a 1.5-approximation.

Our argument closely follows [7], and only a small portion depends on the strong negative correlation itself. In particular, the strong negative correlation property, which is where the Dirichlet mechanism plays a role, leads to an upper bound on 𝔼[Z] expressed in terms of L,Q and some additional parameters. A separate argument provides a lower bound on LB in terms of the same parameters. Finally, a numerical optimization determines the maximum ratio between these bounds, which is the upper bound on the approximation ratio.

Theorem 21.

We have 𝔼[Z]1.387LB. In particular, Algorithm 4 achieves an approximation ratio of 1.387 in expectation, and the SDP relaxation has integrality gap at most 1.387.

The technical details are deferred to the full paper.

6 Analysis of the function 𝚿

We consider a number of properties of the Ψ function, via analysis of the Incomplete Beta function. This will allow us to compute various limits as well as arbitrarily-accurate approximations over parameter ranges.

We begin with a few general facts about high-order function differentiation.

Fact 22 (Faá di Bruno formula [2]).

The jth derivative of a composite function ξ(η(x)) is given by:

djdxjξ(η(x))=k1,,kj0:k1+2k2++jkj=jj!k1!k2!kj!ξ(k1+k2++kj)(η(x))i=1j(η(i)(x)i!)ki,
Fact 23.

If f(0)>0 and all the derivatives of g(x)=logf(x) are non-negative at 0 (we say that f is log-absolutely monotonic at 0), then all derivatives of f(x)q at 0 are non-negative for any fixed q0.

Proof.

Let ξ(x):=eqx. Note that ξ(j)(g(0))=qjeqg(0)=qjf(0)q>0 for j0. Given that g(i)(0)>0 for all i>0, the Faà di Bruno formula implies that all the derivatives of ξ(g(x))=f(x)q are non-negative.

We now apply these facts to the Incomplete Beta function.

Lemma 24.

Let x[0,1],ρ[0,1],q0. We have

I(x;ρ,1ρ)q=(Γ(1+ρ)Γ(1ρ))qj=0Gj(ρ,q)xρq+j

for functions G defined by

Gj(ρ,q) =k1,,kj:k1+2k2++jkj=j(k1++kj)!k1!kj!(qk1++kj)i=1j(ρρ+i(ρ+i1i))ki

Each Gj is a non-negative rational function of ρ and q.

Proof.

Let us consider the functions defined as follows:

f(x)=ρB(x;ρ,1ρ)xρ,andg(x)=xq.

So the qth power of the Incomplete Beta function can be expressed by the composition of g and f:

I(x;ρ,1ρ)q=(Γ(1+ρ)Γ(1ρ))qxρq(gf)(x).

We have the series representation of f(x):

f(x)=i=0aixi,for ai=ρρ+i(ρ+i1i)

The coefficients satisfy a log-convexity condition aiai2ai12=(i1)(i+ρ1)3i(i+ρ2)2(i+ρ)1 for i2. By Lemma 30 we conclude that f is log-absolutely monotonic. (See Appendix A for further details.) Consequently, by Fact 23 we deduce that all derivatives of f are non-negative.

The explicit formula for the coefficients follows from the Faà di Bruno formula (Fact 22) coupled with elementary algebraic manipulations. Since i,k1,,kj are non-negative integers, each term in the summation is a rational function of q and ρ.

For reference, we list the first few values of Gj:

G0=1,G1=qρ21+ρ,G2=q2ρ5+2q2ρ4+qρ4+3qρ3+qρ22(1+ρ)2(2+ρ)
Lemma 25.

Suppose we are given values x1,x2,ρ1,ρ2>0. For i=1,2 and j0, define parameters

θi =(Γ(1+ρi)Γ(1ρi))11/xi
κi,j =θiρijxi+ρi(ρi/xi+jρi)Gj(ρi,1/xi1)

and for j1,j20 define parameter

αj1,j2=(ρ1(1/x11)+ρ2(1/x21)+j1+j2ρ1(1/x11)+j1)1

Then

Ψ(x1,x2;ρ1,ρ2)=j1=0j2=0αj1,j2κ1,j1κ2,j2

Proof.

Let (X1,X2)Dir(ρ1,ρ2;1ρ1ρ2), and for i=1,2 let qi=1/xi1 and Yi=I(Xi,ρi,1ρi). By Fact 5(5), we have

𝔼[X1β1X2β2]=Γ(ρ1+β1)Γ(ρ2+β2)Γ(1+β1+β2)Γ(ρ1)Γ(ρ2)

for β1,β20. In particular, with some algebraic manipulations, we have

𝔼[Xiρiqi+j] =Γ(qiρi+ρi+j)Γ(ρi)Γ(qiρi+j+1)=ρijxi+ρi(ρi/xi+jρi)=xiκi,jθiGj(ρi,qi)

Likewise, we can calculate
𝔼[X1ρ1q1+j1X2ρ2q2+j2]𝔼[X1ρ1q1+j1]𝔼[X2ρ2q2+j2]=Γ(ρ1q1+j1+1)Γ(ρ2q2+j2+1)Γ(ρ1q1+ρ2q2+j1+j2+1)=1(ρ1q1+ρ2q2+j1+j2ρ1q1+j1)=αj1,j2.

We can now expand the definition of Ψ as:
Ψ(x1,x2;ρ1,ρ2)=𝔼[Y1q1Y2q2]x1x2=θ1θ2x1x2j1=0j2=0Gj1(ρ1,q1)Gj2(ρ2,q2)𝔼[X1ρ1q1+j1X2ρ2q2+j2] =θ1θ2x1x2j1=0j2=0Gj1(ρ1,q1)Gj2(ρ2,q2)𝔼[X1ρ1q1+j1]𝔼[X2ρ2q2+j2]𝔼[X1ρ1q1+j1X2ρ2q2+j2]𝔼[X1ρ1q1+j1]𝔼[X2ρ2q2+j2] =θ1θ2x1x2j1=0j2=0Gj1(ρ1,q1)Gj2(ρ2,q2)x1κ1,j1θ1Gj1(ρ1,q1)x2κ2,j2θ2Gj2(ρ2,q2)αj1,j2 =j10,j20αj1,j2κ1,j1κ2,j2.

Proposition 26.

For the decomposition of Lemma 25, we κi,j0 and j=0κi,j=1 for i=1,2.

Proof.

The non-negativity of κi,j follows from the fact that Gj(ρ,q)0; the remaining terms in the definition of κ are clearly non-negative.

For the summation bound, by symmetry we consider just i=1. Let (X1,X2)Dir(ρ1,ρ2;1ρ1ρ2), and Y1=I(X1;ρ1,1ρ1). Note that Y1 has the marginal distribution of a uniform-[0,1] random variable, so

𝔼[Y11/x11]=x1.

Alternatively, via Lemma 25, we can write

𝔼[Y11/x11] =𝔼[Y11/x11Y21/11]=x1Ψ(x1,1;ρ1,ρ2)=x1j1=0j2=0αj1,j2κ1,j1κ2,j2

where x2=1.

Consider taking the limit as ρ20. Observe that Gj(ρ,0)=0 for j>0, and G0(ρ,1)=1. So all the terms j2>0 disappear from the sum in the limit. Furthermore, we have κ2,0=1 and αj1,0=1. So the sum approaches to j1=0κ1,j1. We have shown that

x1=𝔼[Y11/x11]=x1Ψ(x1,1;ρ1,ρ2)x1j1=0κ1,j1.

Lemma 27.

With the notation of Lemma 25, for any integers k1,k20 we have

Ψ(x1,x2;ρ1,ρ2)j1<k1,j2<k2(αj1,j2αj1,k2αk1,j2+αk1,k2)κ1,j1κ2,j2
+j1<k1(αj1,k2αk1,k2)κ1,j1+j2<k2(αk1,j2αk1,k2)κ2,j2+αk1,k2
 Remark.

We refer to this as as the (k1,k2)-order approximation of Ψ. If k1=k2=k, we refer to it simply as the kth-order approximation. Proposition 8 is simply the 0th-order approximation.

Proof.

Note that αj1,j2 is a decreasing function of j1 as

αj1+1,j2/αj1,j2=ρ1q1+j1+1ρ1q1+ρ2q2+j1+j2+11;

by a completely symmetric argument it is also a decreasing function of j2.

Using Lemma 25, non-negativity of κ, and monotonicity of αj1,j2, we thus get
Ψ(x1,x2;ρ1,ρ2)=j10,j20αj1,j2κ1,j1κ2,j2 j1<k1j2<k2αj1,j2κ1,j1κ2,j2+j1<k1j2k2αj1,k2κ1,j1κ2,j2+j1k1j2<k2αk1,j2κ1,j1κ2,j2+j1k1j2k2αk1,k2κ1,j1κ2,j2 =j1<k1j2<k2αj1,j2κ1,j1κ2,j2+j1<k1αj1,k2κ1,j1(1j2<k2κ2,j2)+j2<k2αk1,j2κ2,j2(1j1<k1κ1,j1) +αk1,k2(1j2<k2κ2,j2j1<k1κ1,j1+j1<k1j2<k2κ1,j1κ2,j2)

where the final line uses jκi,j=1. With some rearrangement of terms, this gives the claimed bound.

Corollary 28.

Let λ1,λ2>0 be fixed positive reals. For x1,x2>0, there holds

limx1,x20Ψ(x1,x2;λ1x1,λ2x2)=(λ1+λ2λ1)1

Proof.

For an upper bound on the limit, apply Lemma 27 with ki=0,ρi=λixi; note that α0,0(λ1+λ2λ1)1 as x1,x20. For the lower bound, Lemma 25 and the fact that the terms κ,α are non-negative gives Ψ(x1,x2;ρ1,ρ2)α0,0κ1,0κ2,0. It can be checked by routine calculations that κ1,i1 as xi0.

References

  • [1] Hyung-Chan An, Ashkan Norouzi-Fard, and Ola Svensson. Dynamic facility location via exponential clocks. ACM Transactions on Algorithms, 13(2):21:1–21:20, 2017. doi:10.1145/2928272.
  • [2] L. F. A. Arbogast. Du calcul des derivations. Levrault, Strasbourg, 1800. Entirely freely available from Google Books. URL: https://books.google.com/books?id=YoPq8uCy5Y8C.
  • [3] Nikhil Bansal, Aravind Srinivasan, and Ola Svensson. Lift-and-round to improve weighted completion time on unrelated machines. SIAM Journal on Computing, 50(3):STOC16–138, 2019.
  • [4] F Barthe, F Gamboa, L Lozada-Chang, and A Rouault. Generalized Dirichlet distributions on the ball and moments. Alea, 7:319–340, 2010.
  • [5] Alok Baveja, Xiaoran Qu, and Aravind Srinivasan. Approximating weighted completion time via stronger negative correlation. Journal of Scheduling, 27(4):319–328, 2024. doi:10.1007/S10951-023-00780-Y.
  • [6] Andrew Gelman, John B. Carlin, Hal S. Stern, and Donald B. Rubin. Bayesian Data Analysis. Chapman & Hall/CRC, 2 edition, 2003.
  • [7] David G Harris. Dependent rounding with strong negative-correlation, and scheduling on unrelated machines to minimize completion time. ACM Transactions on Algorithms, 2025.
  • [8] Sungjin Im and Shi Li. Improved approximations for unrelated machine scheduling. In Proc. 2023 annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2917–2946, 2023. doi:10.1137/1.9781611977554.CH111.
  • [9] Sungjin Im and Maryam Shadloo. Weighted completion time minimization for unrelated machines via iterative fair contention resolution. In Proc. 14th annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2790–2809, 2020. doi:10.1137/1.9781611975994.170.
  • [10] Kumar Joag-dev and Frank Proschan. Negative association of random variables with applications. Annals of Statistics, 11:286–295, 1983. URL: https://api.semanticscholar.org/CorpusID:119668291.
  • [11] Shi Li. Scheduling to minimize total weighted completion time via time-indexed linear programming relaxations. SIAM Journal on Computing, 49(4):FOCS17–409, 2020. doi:10.1137/17M1156332.
  • [12] Shi Li. Approximating unrelated machine weighted completion time using iterative rounding and computer assisted proofs. In Proc. 2025 annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 553–571, 2025. doi:10.1137/1.9781611978322.17.
  • [13] Joseph Naor, Aravind Srinivasan, and David Wajc. Online dependent rounding schemes for bipartite matchings, with applications. In Proc. 2025 annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 3116–3154, 2025.
  • [14] Wayne E Smith et al. Various optimizers for single-stage production. Naval Research Logistics Quarterly, 3(1-2):59–66, 1956.

Appendix A Criterion for log-absolutely monotonic functions

We need to show that a function related to the Incomplete Beta function is log-absolutely monotonic. To do so, we will show a general criterion for functions with fast-growing derivatives. This may be of independent interest.

Lemma 29.

Let k1, and let f be k-times differentiable in a neighborhood of 0, with f(0)>0. Define ai=f(i)(0)/i! for j0, and let g(x)=logf(x), with ci=g(i)(0)/i! for i1. Then

ka0ck=kaki=1k1iakici. (1)

Proof.

Since f(x)=eg(x), we have f(x)=g(x)f(x). Differentiating k1 times and applying the general Leibniz rule yields
f(k)(x)=(gf)(k1)(x)=i=0k1(k1i)g(i+1)(x)f(k1i)(x)=i=1k(k1i1)g(i)(x)f(ki)(x).

Evaluating at x=0 and using the definitions of aki and ci, we obtain

k!ak=i=1k(k1i1)i!ci(ki)!aki.

Dividing both sides by (k1)! gives

kak=i=1kiciaki.

Finally, isolating the i=k term completes the proof.

Lemma 30.

Let f be an infinitely differentiable function defined in a neighborhood of zero, and let ak=f(k)(0)/k! for each k0. Define function g(x)=logf(x) and ck=g(k)(x)/k!.

Suppose that the coefficients ak are positive and log-convex, i.e. akak2ak12 for all k2. Then

kckak+(k1)(akak1a1a0)ck1>0for all k1 (2)

In particular, f is log-absolutely monotonic at x=0.

Proof.

The log-convexity condition means that the ratios ai/ai1 are nondecreasing in i. By rescaling f, we may assume without loss of generality that f(0)=1, i.e. a0=1.

We show the claim by strong induction on k. For a given value k1, use Lemma 29 (with a0=1) to calculate:

kck=kaki=1k1iakici=kak(k1)a1ck1i=1k2iakici

Note that aki/ak1iak/ak1 by our assumption on the coefficients a, and by our induction hypothesis we have ci0 for i=1,,k2. So akici(ak/ak1)ak1ici, and hence

kck kak(k1)a1ck1ak/ak1i=1k2iak1ici

Again using Lemma 29, we see that this is precisely
kak(k1)a1ck1ak/ak1(k1)(ak1ck1)=ak+(k1)ck1(ak/ak1a1)

This is positive, as ak, ak/ak1a1 and ck1 are all positive. This completes the induction.

Appendix B Derivation of function 𝑭 in Algorithm 3

Here we give the motivation for the function F. Let us suppose that all the edge demands ge are infinitesimal. We ignore all quadratic terms in g, and just focus on the first-order terms. When we do this, we get

xeyeF(re)ge,ρeαxe

We will leave F as a function to be determined, and α as a free parameter. As a starting point, these should satisfy the properties in Observation 12:

  1. (a)

    F is nonnegative, increasing, and concave-up;

  2. (b)

    t=01F(t)dt=1/α;

  3. (c)

    F(1)=1.

(Note that, in Observation 12, αt=01F(t)dt and F(1) are very slightly less than 1; these are artifacts caused by our use of decimal values for the numerical constants.)

By Corollary 28 and Observation 16(c), we can approximate the Ψ function for edges e,f by:

Ψ(xe,xf;ρe,ρf)(2aa)1

where we again ignore all high-order terms. By the same argument as in Theorem 18, the probability that edge e is matched is then at least

geF(re)(1ct=0reF(t)dt)for constant c=(2αα)1.

Define Q(r)=t=0rF(t)dt, so the probability that e is matched is geQ(re)(1cQ(re)). We want an approximation ratio irrespective of re; hence, the quantity Q(re)(1cQ(re)) should not depend on re:

ddtQ(t)(1cQ(t))=0

So we have a second-order differential equation

Q′′(t)c(Q(t))2cQ(t)Q′′(t)=0

along with boundary conditions Q(0)=0,Q(1)=1,Q(t)>0, which has the solution

Q(t)=11t(2cc2+12c2)c (3)

where c can be viewed as a function of parameter α.

At this point, we can choose α=1.2337 in order to make αQ(1) slightly smaller than one. We can also replace the constant terms in Eq. (3), which are functions of α, with nearby numerical values to give Q(1)<1 and Q(1)<1/α. We finally define F(t)=Q(t).

Appendix C Proof of Lemma 10

  1. 1.

    The random variables Te:eN(v) are generated independently, so Ae:eN(v) are also independent. Since each Ae is uniform, the inverse transform Ze=logAexe has exponential distribution of rate xe.

  2. 2.

    Each variable Ae is a monotone increasing function of Te, so the random variables Ae:eE are NA [10].

  3. 3.

    The random variables (Ze){eN(v)} are independent exponentials of rate xe respectively. By the well-known properties of exponential random variables, Q:=x(N(v))xe1xeminfN(v){e}Zf is an exponential random variable with rate 1xe. So Pr[Xe=1]=Pr[Ze<Q]=xe1+(1xe)=xe.

  4. 4.

    By hypothesis, we have x(N(v))1. So if Xe=1, then Ze<x(N(v))xe1xeZfZf for all other edges fN(v){e}; clearly, there can be at most one edge with this property.

  5. 5.

    Each term Ae1/xe1 is an increasing nonnegative function of Ae. As the random variables Ae are NA, by [10], we have 𝔼[eSAe1/xe1]eS𝔼[Ae1/xe1]. Since each Ae is a uniform random variable, it satisfies 𝔼[Ae1/xe1]=xe. This shows the bound 𝔼[eSAe1/xe1]eSxe.

    For the second bound, we may assume that all the right-nodes of the edges in S are distinct, as otherwise eSXe=0 with probability one. Define S to be the set of edges outside S that share a right-node with an edge in S, and let W,W denote the set of left-nodes of edge-sets S and S respectively. We claim that W,W are disjoint. For, suppose that uWW. So there are edges (u,v)S,(u,v)S; by definition of S, this implies that there is an edge (u,v)S. Then the edges (u,v),(u,v) have distance two in the line graph of G, contradicting that S is stable.

    Now suppose we condition on all random variables corresponding to the nodes in W. In particular, this reveals all the random variables AS:=(Ae:eS). The random variables corresponding to nodes in W have their original unconditioned probability distributions.

    Consider an edge e=(u,v)S. Because we have assumed that edges in S have distinct-right nodes, all edges fN(v){e} are in S. All such random variables correspond to nodes in W and retain their original, unconditioned probabilities distributions. In particular, the random variables Zf:fN(v){e} are independent unit exponentials. So Q:=x(N(v))xe1xeminfN(v){e}Zf is an exponential random variable with rate 1xe, and hence

    𝔼[XeAS] =Pr[Ze<Q|AS]=e(1xe)Ze=Ae1/xe1.

    Since the random variables AS are NA, then by [10] we have

    𝔼[eSXeAS]eS𝔼[XeAS]=eSAe1/xe1

    To finish, we apply iterated expectations with respect to random variables AS.