The assignment problem: duality and ε-complementary slackness #
The (square, complete) assignment problem asks for a permutation σ of a finite type ι
minimising the total cost ∑ i, c (i, σ i); person i receives object σ i. Its
linear-programming dual maximises ∑ i, u i + ∑ j, v j over potentials with
u i + v j ≤ c (i, j).
This module records the duality facts used by the auction algorithm of [Ber88]
(CslibFrontier.Algorithms.Lean.Assignment.Auction), in the cost-minimisation form (Bertsekas
maximises benefits a = -c). Object prices p play the role of the column potentials -p. A
complete assignment σ and prices p satisfy ε-complementary slackness
([Ber98], (7.1)) if each person's object is within ε of a least reduced cost
c (i, k) + p k.
Everything is stated over an arbitrary finite index type and a linearly ordered additive commutative group, so the lemmas apply to integer, rational and real costs alike.
Main definitions #
IsEpsCompSlack c ε σ p:σandpsatisfyε-complementary slackness for the costc.rowPotential c p: the row potentialsi ↦ min_k (c (i, k) + p k)induced by pricesp.
Main results #
sum_add_sum_le_sum_perm: weak duality over permutations.IsEpsCompSlack.sum_le_sum_add: anε-complementary-slack assignment costs at mostcard ι • εmore than every assignment ([Ber98], Prop. 1.4).rowPotential_add_neg_le,IsEpsCompSlack.sum_le_rowPotential: prices give feasible dual potentials(rowPotential c p, -p), whose total is withincard ι • εof the cost of anε-complementary-slack assignment (an approximate dual certificate).
References #
A complete assignment σ (person i gets object σ i) and object prices p satisfy
ε-complementary slackness for the cost c if every person's object has reduced cost
c (i, σ i) + p (σ i) within ε of every other reduced cost c (i, k) + p k
([Ber98], (7.1), stated for costs c = -a).
Weak duality for the assignment problem: the total of potentials u, v with
u i + v j ≤ c (i, j) is at most the cost of every assignment.
nε-optimality ([Ber98], Prop. 1.4): a complete assignment satisfying
ε-complementary slackness with some prices costs at most card ι • ε more than every
assignment.
The row potentials of prices p: the least reduced cost min_k (c (i, k) + p k) of row i.
Together with the column potentials -p they are feasible for the dual of the assignment problem
(rowPotential_add_neg_le).
Prices give feasible dual potentials: rowPotential c p i + -p j ≤ c (i, j).
Approximate dual certificate: if σ and p satisfy ε-complementary slackness, the
feasible potentials rowPotential c p and -p have total within card ι • ε of the cost of
σ. With sum_add_sum_le_sum_perm this certifies IsEpsCompSlack.sum_le_sum_add.