Network Flow Transportation and Scheduling; Theory and Algorithms