Binary search on the result (max-min edge cost). Use max flow min cost algorithm to validate the current edge cost.