Question: General Gurobi model code for MCNF 1 . An oil company has oil fields in San Diego and Los Angeles. The San Diego field can
General Gurobi model code for MCNF An oil company has oil fields in San Diego and Los Angeles. The San Diego field can produce up to barrels per day, and the Los Angeles field can produce up to barrels per day. Oil is sent from the fields to a refinery, either in Dallas or in Houston assume each refinery has unlimited capacity To refine barrels costs $ at Dallas and $ at Houston. Refined oil is shipped to customers in Chicago and New York. Chicago customers require barrels per day and New York customers require barrels per day. The costs of shipping barrels of oil refined or unrefined is given in the table below. The goal is to minimize the total cost of meeting all demands.
a Draw the graph of a balanced minimum cost network flow MCNF problem that represents this problem. Write down the corresponding numbers next to the nodes and arcs, and briefly explain what they mean.
b Write down the generic dataindependent linear programming formulation of an MCNF problem with capacity constraints and write down the data for this particular problem separately.
c Write a dataindependent Gurobi model for MCNF in general. Look at the lecture notes and code to learn about the Gurobi syntax.
d Solve the problem with Gurobi. Report the optimal solution in your written assignment, by drawing a graph corresponding to the optimal solution. Submit your Gurobi files as usual.
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
