Random sampling in cut, flow, and network design problems | Synapse