(12) — weak duality and
ProvedPlotkinShmoysTardos.weak_duality_12approximation-algorithmsfractional-packing-coveringlagrangean-relaxationlinear-programming
Let be a real matrix, and . Let be a feasible solution of
let be a dual solution, and let attain . Then
Moreover, if then ; since this holds for every feasible , the optimal value of (11) satisfies .
This weak-duality bound is the basis of the infeasibility certificate of Lemma 4.1.
Differences from the source:
- encoding: C_G(y) = min(yᵗAx' − yᵗb : x' ∈ P) → the value yᵗ(Ax' − b) at a given x' ∈ P that minimizes yᵗ(Az − b) over z ∈ P; reason: avoids an infimum with junk value 0 on unbounded sets; it is the paper's value whenever the minimum is attained, which the paper presupposes
- encoding: λ* ≥ C_G(y)/yᵗd, with λ* the optimal value of (11) → λ ≥ C_G(y)/yᵗd for every feasible (x, λ) of (11), when yᵗd > 0; reason: λ* is the infimum of the feasible λ, so the two are equivalent; yᵗd > 0 only excludes the division by zero the paper does not consider
Preamble
import Mathlib
Formal statement
namespace PlotkinShmoysTardos
/-- **The chain (12) and its consequence.** Plotkin–Shmoys–Tardos, TR 999 (1992), §4, (12),
p. 24: "`λ yᵗd ≥ yᵗA x − yᵗb ≥ C_G(y)`. (12) It follows that for any dual solution `y`,
`λ* ≥ C_G(y)/yᵗd`."
Let `x ∈ P` and `λ` with `A x ≤ b + λ d` (a feasible solution of (11)), let `y ≥ 0`, and let
`x' ∈ P` attain `C_G(y) = min(yᵗ(A z − b) : z ∈ P)`. Then
1. `yᵗ(A x − b) ≤ λ yᵗd`;
2. `C_G(y) = yᵗ(A x' − b) ≤ yᵗ(A x − b)`;
3. if `yᵗd > 0`, then `C_G(y)/yᵗd ≤ λ`; as `(x, λ)` ranges over all feasible solutions of (11),
this is `λ* ≥ C_G(y)/yᵗd`. -/
theorem weak_duality_12 {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ) (b d : Fin m → ℝ)
(P : Set (Fin n → ℝ)) (x : Fin n → ℝ) (hx : x ∈ P) (l : ℝ)
(hfeas : ∀ i, A.mulVec x i ≤ b i + l * d i) (y : Fin m → ℝ) (hy : 0 ≤ y)
(x' : Fin n → ℝ) (hx' : x' ∈ P)
(hmin : ∀ z ∈ P, y ⬝ᵥ (A.mulVec x' - b) ≤ y ⬝ᵥ (A.mulVec z - b)) :
y ⬝ᵥ (A.mulVec x - b) ≤ l * (y ⬝ᵥ d) ∧
y ⬝ᵥ (A.mulVec x' - b) ≤ y ⬝ᵥ (A.mulVec x - b) ∧
(0 < y ⬝ᵥ d → y ⬝ᵥ (A.mulVec x' - b) / (y ⬝ᵥ d) ≤ l) := by sorry
end PlotkinShmoysTardos
Source
Plotkin, Shmoys, Tardos, Fast Approximation Algorithms for Fractional Packing and Covering Problems, Cornell ORIE Technical Report No. 999 (Feb. 1992), §4, (12), p. 24