minimum cost circulation problem