Path: blob/main/Lessons/Lesson 03 - LP 3/Self_Assess_Solns_03.ipynb
871 views
Kernel: Python 3 (system-wide)
Self-Assessment Solutions for Lesson 3
Self-Assessment: Unbalanced Transportation Problem
In [3]:
Out[3]:
Minimum Total Cost = $470,000.00
Number to ship from each factory to each customer:
In [4]:
Out[4]:
Minimum Total Cost = $470,000.00
Number to ship from each factory to each customer:
Self-Assessment: Big M Method
Consider the example above where three of the routes are rendered infeasible as shown in the table below:
Start with the code above that is labeled "basic transportation code". Set the costs along the infeasible routes to be and solve the linear program. Does your solution have zero amounts along the infeasible routes? The minimum cost should now be higher than before. Why does that make sense?
In [5]:
Out[5]:
Minimum Total Cost = $176,000.00
Number of truckloads to ship from each cannery to each warehouse:
Self-Assessment: Unbalanced assignment problem without dummies
Solve the prototypical assignment problem above without introducing any dummy machines or locations. You'll need to slightly adjust one or more constraints.
In [6]:
Out[6]:
Minimum Cost per hour = $29.00
Machine assignments to locations:
In [0]:
In [0]:
In [0]: