Question: Question 3 . ( 2 5 points ) : ( MCNFP ) Each year, Data Corporal produces 4 0 0 computers in Boston and 3
Question points: MCNFP Each year, Data Corporal produces computers in Boston and computers in Raleigh. Los Angeles customers must receive computers, and Austin customers must receive computers. Data Corporal can ship computers from each production city to each demand city directly, or through Chicago. The costs of sending a computer between pairs of cities are shown below.
a Suppose that no more than computers can be shipped between each pair of cities.
i Formulate an MCNFP to minimize the total shipping cost, and provide a graph to include all information about the MCNFP
ii Solve this problem by Excel, Matlab, GAMS, or Python. You can modify the code provided by the instructor to solve it
b Suppose now that the total amount of computers shipped through Chicago cannot exceed That is the total amount of computers entering Chicago cannot exceed How do you formulate the problem as an MCNFP Note that an MCNFP is only allowed to have two types of constraints: bound constraints on arcs, and balance equations for nodes. If you add a constraint that does not belong to one of these two types, then the new model is not a MCNFP
For part b do not hand in your GAMS code. Just explain how to modify the model or the graph and interpret the optimal solution and optimal value you find. You need to provide your code, a screen shot of the results when you run the code, and explain the meaning of solutions you obtain. Convert everything into PDF and submit it together with your HW solution in a single file.
Hint: Two ways to solve part You add an additional constraint for the flow limit at Chicago, but the problem you obtain is no longer an MCNFP Another way to solve it is to add a dummy node called
Chicago and create an arc between Chicago and Chicago with the maximum flow is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
