Validation of Subgradient Optimization II: A Unique Optimal Assignment Makes the Dual Optimal Set Full-DimensionalResearch Paper
Why the assignment dual matters
The subgradient method maximizes a concave, piecewise-linear function by moving along a subgradient of an active piece with a prescribed step. Held, Wolfe and Crowder's 1974 paper Validation of subgradient optimization tested the method on three families of Lagrangean duals from combinatorial optimization — the assignment problem, a relaxation of the travelling salesman problem in the style of Held and Karp, and multicommodity flows — and gave the first systematic account of when the method works in practice.
On randomly generated assignment problems of order the authors observed that the method usually did not merely converge: it stopped, after finitely many steps, at an iterate whose subgradient was exactly zero. Their explanation is a structural fact about the assignment dual, Theorem 3.1 of the paper: when the optimal assignment is unique — the typical case for random integer costs — the set of optimal dual prices has full dimension , so a sequence of steps of decreasing length can land inside it. This mission formalizes that theorem and the steps of its proof.
Setting
There are men and jobs, and a real cost matrix : is the cost for which man does job . A one-to-one assignment is a permutation of , where is the man doing job ; its cost is . The assignment problem (3.1) asks for a permutation of minimal cost; the assignment is unique if exactly one permutation attains that minimum.
The linear relaxation of (3.1), over doubly stochastic matrices , has the dual linear program (3.2), . For fixed prices on the men the best is , which leaves the dual function (3.3)
the inner minimum being over the men for each job . The optimal set is .
To put in the form the paper uses assignments in a weaker sense: arbitrary functions , of them, with cost and vector (3.4). The subgradient step raises the price of a man assigned no job and lowers the price of a man assigned several; exactly when is a permutation.
In the Lean development these are assignCost, assignVec, IsOptimalAssignment, w and optSet in the namespace HeldWolfeCrowder.Assignment.
Formalization targets
Goal: Theorem 3.1 (p. 70)
If the assignment problem has a unique optimal permutation, then
The hypothesis is uniqueness among permutations; the conclusion is the dimension of the affine hull of the optimal set.
Milestones, in the order the proof uses them
- Eq. (3.4): over all assignments .
- §3, Eqs. (3.1)–(3.3): attains its maximum, and equals the cost of an optimal permutation.
- Eq. (3.5): if is the unique optimal permutation, some maximizer of has, for every job , the minimum attained only at .
- Eq. (3.6): for an optimal permutation , the set is convex and open, on it, and .
Significance
The theorem turns an empirical observation into a statement about the problem: finite termination of the subgradient method on assignment problems is a property of the dual, not luck. Since is unchanged by adding the same constant to every price, always contains a line; Theorem 3.1 says that, under uniqueness, it is as large as it can be. The paper (p. 70) cites the argument of its Section 2 that, with a full-dimensional optimal set, termination of the method is "nearly certain".
The result is proved in the paper; none of it is known to be machine-checked. What the formalization adds is a checked link between three classical ingredients: the integrality of the assignment polytope (Birkhoff–von Neumann, which Mathlib has as doublyStochastic_eq_convexHull_permMatrix), linear-programming duality, and strict complementary slackness, which neither Mathlib nor the platform has in the form needed. The piecewise-linear representation (3.4) is reusable wherever the assignment dual appears as a Lagrangean subproblem.
Difficulty
The inclusion is elementary; the substance is that is nonempty. The obvious candidate — any optimal dual solution — fails: an optimal may leave ties for some , so it sits on the boundary of and shows nothing about dimension. What is needed is an optimal price vector with all these inequalities strict at once, and uniqueness of the optimal permutation is a statement about the primal side only; transferring it to the dual side goes through the linear relaxation (3.1), whose uniqueness is not the hypothesis, and through a strict complementarity property that is not available in Mathlib or on the platform.
Formalization scope
Men and jobs are both Fin n; the costs are a : Matrix (Fin n) (Fin n) ℝ with a i r the cost of man i on job r; prices are π : Fin n → ℝ (no inner product or norm is needed, so no EuclideanSpace). The inner minimum of (3.3) is Finset.univ.inf' over the men, well defined for every n. One-to-one assignments are Equiv.Perm (Fin n) with σ r the man doing job r, so the orientation of the matrix matches (3.3); arbitrary assignments are functions Fin n → Fin n. "Of dimension " is Module.finrank ℝ (vectorSpan ℝ (optSet a)) = n. The page prints the index condition of (3.6) as ""; the formalization uses , which is what the argument requires. The case is allowed and trivial.
A statement asserting only that is nonempty, or that it has dimension at least one, is not this theorem: both hold for every cost matrix, the second because is invariant under adding a constant to all prices. The goal requires the full value , and its hypothesis is uniqueness of the optimal permutation, not of the optimal linear-programming solution.
A complete development needs: the assignment linear program and its integrality (Mathlib's Birkhoff–von Neumann theorem), weak and strong duality between (3.1) and (3.2) or directly , and a strict complementarity statement for this primal–dual pair; the last two are reusable beyond this mission. Contributions of any of these, and of alternative arguments for (3.5) that avoid strict complementary slackness, are welcome.
Selected references
- M. Held, P. Wolfe, H. P. Crowder, Validation of subgradient optimization, Mathematical Programming 6 (1974) 62–88. https://doi.org/10.1007/BF01580223
- M. Held, R. M. Karp, The traveling-salesman problem and minimum spanning trees: Part II, Mathematical Programming 1 (1971) 6–25. https://doi.org/10.1007/BF01584070
- H. W. Kuhn, The Hungarian method for the assignment problem, Naval Research Logistics Quarterly 2 (1955) 83–97. https://doi.org/10.1002/nav.3800020109
- A. J. Goldman, A. W. Tucker, Theory of linear programming, in H. W. Kuhn, A. W. Tucker (eds.), Linear Inequalities and Related Systems, Annals of Mathematics Studies 38, Princeton University Press, 1956, 53–97.
- Mathlib,
Mathlib/Analysis/Convex/Birkhoff.lean(Birkhoff–von Neumann theorem,doublyStochastic_eq_convexHull_permMatrix). https://github.com/leanprover-community/mathlib4/blob/master/Mathlib/Analysis/Convex/Birkhoff.lean