The Network Simplex Algorithm