simple MinCostMaxFlow problem