Why is this LP hard?

Created by Zikai Xiong · Based on Xiong, Math. Oper. Res. 2026

Restarted PDHG (rPDHG) solves a small LP (4 variables, 2 constraints) and its dual simultaneously.
Three steps show what makes an LP hard for rPDHG.

The LP

$\min\ c^\top x\quad \text{s.t.}\ \ Ax=b,\ x\ge 0$
–

Its dual

$\max\ b^\top y\quad \text{s.t.}\ \ A^\top y\le c$
–
Setup

$\min\, c^\top x$ s.t. $Ax=b,\ x\ge 0$ and its dual $\max\, b^\top y$ s.t. $A^\top y+s=c,\ s\ge 0$, with $A\in\mathbb{R}^{2\times 4}$, $AA^\top=I$ (so $\kappa=1$), $Ac=0$ and $\|c\|=\|b\|=1$, as in [1]. The LP is drawn on the plane $Ax=b$ with true distances and angles; the arc on the dial of $b$ marks the directions for which the LP is feasible.

Iterations of rPDHG to reach $\varepsilon = 10^{-6}$

–

    What makes it hard: $\Phi$

    $\Phi =$ $\min\{$ , $\}$ $=$ –

    Closed form [1], with the optimal basis $B$, the other indices $N$ and $T=B^{-1}N$:

    \[\Phi=\big(\|x^\star\|_1+\|s^\star\|_1\big)\cdot\max\Big\{\max_j\frac{\sqrt{\|T_{:,j}\|^2+1}}{s^\star_{N_j}},\ \max_i\frac{\sqrt{\|T_{i,:}\|^2+1}}{x^\star_{B_i}}\Big\}\]
    \[\begin{aligned}\Phi=\big(\|x^\star\|_1+\|s^\star\|_1\big)\cdot\max\Big\{&\max_j\frac{\sqrt{\|T_{:,j}\|^2+1}}{s^\star_{N_j}},\\ &\max_i\frac{\sqrt{\|T_{i,:}\|^2+1}}{x^\star_{B_i}}\Big\}\end{aligned}\]
    • With a unique optimum, rPDHG needs $O\big(\kappa\Phi\ln(\kappa\Phi\|w^\star\|/\varepsilon)\big)$ iterations [1], where $w^\star=(x^\star,s^\star)$; here $\kappa=1$
    • $\zeta_p=\|c\|\sin\theta_p$ and $\zeta_d=\|b\|\sin\theta_d$: the smallest changes of $c$ and of $b$ that change the optimal basis
    • Hover over a term for its meaning

    Every direction of the arrows

    iterations$\Phi$

      Iterations for every direction of each arrow, shown after step 3.

      Convergence of this run

      errorrestart
      • Error of rPDHG’s average iterate; ticks mark restarts
      • Near a tie, each restart cycle takes longer
      rPDHG (Algorithm 1 of [1])
      Input: $z^{0,0}=(0,0)$, $\tau=\frac{1}{2\kappa}$, $\sigma=\frac{1}{2\lambda_{\max}\lambda_{\min}}$, $\beta=1/e$.
      repeat (outer loop $\ell=0,1,\dots$)
      repeat (inner loop $k=0,1,\dots$)
      $x^{+}=\max\{0,\,x-\tau(c-A^\top y)\}$, $\ y^{+}=y+\sigma\,(b-A(2x^{+}-x))$
      $\bar z^{\ell,k+1}=$ average of $z^{\ell,1},\dots,z^{\ell,k+1}$
      until the $\beta$-restart condition holds
      restart: $z^{\ell+1,0}\leftarrow \bar z^{\ell,k}$
      until the average iterate is $\varepsilon$-optimal

      Restart when the normalized duality gap of the average iterate has dropped by the factor $\beta$; stop when its primal residual, dual infeasibility and duality gap are all at most $\varepsilon=10^{-6}$.

      References

      1. [1] Z. Xiong. Accessible complexity bounds for restarted PDHG on linear programs with a unique optimizer. Mathematics of Operations Research, 2026. doi:10.1287/moor.2024.0738
      © 2026 Zikai Xiong · All interactive demos