Add min-cost-flow.