A Generalised Network Flow Approach to