Created by Zikai Xiong · Based on Xiong, arXiv:2501.00728 and arXiv:2410.04043
Restarted PDHG (rPDHG) is a first-order method for linear programs. Pick a size, press the button, and watch it solve random LPs in your browser. Each LP drops in as a dot, placed by how many iterations it took.
The defaults take a few seconds. Larger LPs take longer.
Standard form $\min\, c^\top x$ subject to $Ax=b,\ x\ge 0$, from the model used in the experiments of [A] and [H]:
Then $x^\star=\hat x$ and $s^\star=\hat s$ are known, so $\Phi$ comes from its closed form.
The method of the one-LP page (Algorithm 1 of [A] and [H]), started at $0$. An LP counts as solved when $\|(x,s)-(x^\star,s^\star)\|_2\le 10^{-4}$, as in the experiments of [A]. A run stops after $\min\{10^6,\max\{10^5,\ 4\cdot10^9/(mn)\}\}$ iterations; such LPs are hollow dots.
Both are $O(\cdot)$ bounds; the dashed line in the chart has only their slope.