MGMT 306
Purdue University
Transportation problem

Variables \[\begin{aligned} x_{MA} \qquad&\text{number of vases to ship Memphis to Atlanta}\\ x_{MK} \qquad&\text{number of vases to ship Memphis to Kansas City}\\ x_{MC} \qquad&\text{number of vases to ship Memphis to Chicago}\\ \dots\qquad& (\text{12 total variables}) \end{aligned}\]
Objective \[\min\qquad 3.5 x_{MA} + 5 x_{MK} + 14 x_{MC} + \dots 3 x_{CN}\qquad\text{(total shipping costs)}\]
Flow at workshops \[\begin{aligned} &x_{MA} + x_{MK}+ x_{MC} \leq 250&&\text{(production capacity Memphis)}\\ &x_{DK} + x_{DA}+ x_{DL} \leq 250&&\text{(production capacity Dallas)} \end{aligned}\]
Flow at warehouses \[\begin{aligned} &x_{MA} + x_{DA} - x_{AC} - x_{AN} =0&&\text{(net flow Atlanta)}\\ &x_{MK} + x_{DK} - x_{KC} - x_{KL} - x_{KN} = 0&&\text{(net flow KC)} \end{aligned}\]
Flow at customers \[\begin{aligned} &x_{KL} + x_{DL} = 120 &&\text{(demand LA)}\\ &x_{KN} + x_{AN} + x_{CN} = 140&&\text{(demand Newark)}\\ &x_{MC} + x_{KC} + x_{AC} - x_{CN} = 150&&\text{(demand Chicago)} \end{aligned}\]
Variables \[\begin{aligned} x_{MA} \qquad&\text{number of vases to ship Memphis to Atlanta}\\ x_{MK} \qquad&\text{number of vases to ship Memphis to Kansas City}\\ x_{MC} \qquad&\text{number of vases to ship Memphis to Chicago}\\ \dots\qquad& (\text{12 total $x_{i,j}$ variables})\\ y_{MA} \qquad&\text{whether to ship from Memphis to Atlanta}\\ y_{MK} \qquad&\text{whether to ship from Memphis to Kansas City}\\ y_{MC} \qquad&\text{whether to ship from Memphis to Chicago}\\ \dots\qquad& (\text{12 total $y_{i,j}$ variables})\\ \end{aligned}\]
Objective \[\begin{aligned} \min\qquad &3.5 x_{MA} + 5 x_{MK} + 14 x_{MC} + \dots + 3 x_{CN}\\ & + 200 y_{MA} + 200 y_{MK} + 200 y_{MC} + \dots + 200 y_{CN}\qquad\text{(total costs)} \end{aligned}\]
Fixed costs incentivize using fewer edges. The previous shipments from (Dallas-Kansas City-Chicago) are now rerouted (Dallas-Atlanta-Chicago) to reuse the Atlanta-Chicago route.