Quasi-stable Coloring for Graph Compression: Approximating Max-Flow, Linear Programs, and Centrality