Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3: a) Recall the problem from HW#3. The answer of this question is available on Canvas: Zixu Pec Co. (ZP) has expanded and now

image text in transcribedimage text in transcribedimage text in transcribed

Question 3: a) Recall the problem from HW#3. The answer of this question is available on Canvas: Zixu Pec Co. (ZP) has expanded and now has both more refineries, and more oil fields in their supply chain. You once again need to determine how best to transport oil from a set of oil fields (F) to a set of their company owned refineries (R) as inexpensively as possible. The cost (in $/barrel) to transport a barrel of petroleum from oil field f to refinery r is Cfr. Each oil field f can supply at most a; barrels of petroleum during the decision period. Additionally each oil refinery r, must produce by barrels of oil to satisfy the local demand. Develop an optimization model to minimize the total cost of transporting the oil, clearly defining any notation that you use. We are going to translate this model into AMPL code. Complete the following lines of AMPL code, using the above solution. Remember to end each line with a semicolon ";". #SETS #PARAMETERS- #VARIABLES #OBJECTIVE #CONSTRAINTS- #Cannot exceed maximum supply #Cannot be less than minimum requirements b) Create the data file using the provided information: Refinery X Refinery Y Oil Field A 10 14 Oil Field B 5 8 Oil Field C 11 7 Minimum 50,000 60,000 requirement Refinery Z 12 10 15 100,000 Maximum supply 130,000 40,000 60,000 #SETS Question 3: a) Recall the problem from HW#3. The answer of this question is available on Canvas: Zixu Pec Co. (ZP) has expanded and now has both more refineries, and more oil fields in their supply chain. You once again need to determine how best to transport oil from a set of oil fields (F) to a set of their company owned refineries (R) as inexpensively as possible. The cost (in $/barrel) to transport a barrel of petroleum from oil field f to refinery r is Cfr. Each oil field f can supply at most a; barrels of petroleum during the decision period. Additionally each oil refinery r, must produce by barrels of oil to satisfy the local demand. Develop an optimization model to minimize the total cost of transporting the oil, clearly defining any notation that you use. We are going to translate this model into AMPL code. Complete the following lines of AMPL code, using the above solution. Remember to end each line with a semicolon ";". #SETS #PARAMETERS- #VARIABLES #OBJECTIVE #CONSTRAINTS- #Cannot exceed maximum supply #Cannot be less than minimum requirements b) Create the data file using the provided information: Refinery X Refinery Y Oil Field A 10 14 Oil Field B 5 8 Oil Field C 11 7 Minimum 50,000 60,000 requirement Refinery Z 12 10 15 100,000 Maximum supply 130,000 40,000 60,000 #SETS

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Accounting questions