Budget-constrained minimum cost flows