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 1. An oil company has oil fields in San Diego and Los Angeles. The San Diego field can produce up to 500,000 barrels per day, and the Los Angeles field can produce up to 400,000 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 1,000 barrels costs \(\$ 700\) at Dallas and \(\$ 900\) at Houston. Refined oil is shipped to customers in Chicago and New York. Chicago customers require 400,000 barrels per day and New York customers require 300,000 barrels per day. The costs of shipping 1,000 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 data-independent linear programming formulation of an MCNF problem (with capacity constraints) and write down the data for this particular problem separately.
(c) Write a data-independent 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.
General Gurobi model code for MCNF 1 . An oil

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!