Network flow, transportation, and scheduling