Econ 172A, Fall 2012: Final Examination (I) 1. The examination has seven questions. Answer them all.

Similar documents
Econ 172A, Fall 2012: Final Examination Solutions (I) 1. The entries in the table below describe the costs associated with an assignment

Econ 172A, Fall 2012: Final Examination Solutions (II) 1. The entries in the table below describe the costs associated with an assignment

Econ 172A, Fall 2007: Midterm A

Midterm 1. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

Formulation Problems: Possible Answers

CMPSCI 611 Advanced Algorithms Midterm Exam Fall 2015

Math 164-1: Optimization Instructor: Alpár R. Mészáros

Math 16 - Practice Final

Page Points Score Total: 100

Page Points Score Total: 100

Q1 Q2 Q3 Q4 Tot Letr Xtra

Linear Programming Duality

Decision Mathematics D1

Relation of Pure Minimum Cost Flow Model to Linear Programming

Math 125 Fall 2011 Exam 2 - Solutions

1 Answer Key for exam2162sp07 vl

Test 3, Linear Algebra

Section 4.1 Solving Systems of Linear Inequalities

MATH 1553, JANKOWSKI MIDTERM 2, SPRING 2018, LECTURE A

Final exam.

Question: Total. Points:

Practice Questions for Math 131 Exam # 1

MATH 1553, C.J. JANKOWSKI MIDTERM 1

Math 51 Midterm 1 July 6, 2016

ECE580 Exam 1 October 4, Please do not write on the back of the exam pages. Extra paper is available from the instructor.

Problem Score Problem Score 1 /10 7 /10 2 /10 8 /10 3 /10 9 /10 4 /10 10 /10 5 /10 11 /10 6 /10 12 /10 Total /120

Decision Mathematics Module D1

GRE Workshop Quantitative Reasoning. February 13 and 20, 2018

HOMEWORK #2 - MATH 3260

Exam 2 MAS 3105 Applied Linear Algebra, Spring 2018

1.225 Transportation Flow Systems Quiz (December 17, 2001; Duration: 3 hours)

Review Questions, Final Exam

Design and Analysis of Algorithms May 12, 2011 Massachusetts Institute of Technology. Practice Final Exam. Problem Title Points Parts Grade Initials

DEPARTMENT OF MATHEMATICS

Deterministic Operations Research, ME 366Q and ORI 391 Chapter 2: Homework #2 Solutions

Calculator Exam 2009 University of Houston Math Contest. Name: School: There is no penalty for guessing.

Fall 2016 MATH*1160 Final Exam

6.2b Homework: Fit a Linear Model to Bivariate Data

Decision Mathematics D1

6 th Grade MCA3 Standards, Benchmarks, Examples, Test Specifications & Sampler Questions

University of Connecticut Department of Mathematics

CMPSCI 311: Introduction to Algorithms Second Midterm Exam

Name: Class: Date: Mini-Unit. Data & Statistics. Investigation 1: Variability & Associations in Numerical Data. Practice Problems

Introduction to linear programming using LEGO.

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Choose three of: Choose three of: Choose three of:

MATH 360. Probablity Final Examination December 21, 2011 (2:00 pm - 5:00 pm)

Math 51 First Exam October 19, 2017

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018

TRANSPORTATION & NETWORK PROBLEMS

Midterm II. Introduction to Artificial Intelligence. CS 188 Spring ˆ You have approximately 1 hour and 50 minutes.

Greedy Homework Problems

MATH 445/545 Test 1 Spring 2016

Pearson Edexcel GCE Decision Mathematics D2. Advanced/Advanced Subsidiary

CS 70 Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 Solutions

Chapter 7 Network Flow Problems, I

Design and Analysis of Algorithms April 16, 2015 Massachusetts Institute of Technology Profs. Erik Demaine, Srini Devadas, and Nancy Lynch Quiz 2

80 min. 65 points in total. The raw score will be normalized according to the course policy to count into the final score.

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 1

ST. JOSEPH S COLLEGE OF ARTS & SCIENCE (AUTONOMOUS) CUDDALORE-1

Quiz 1 Date: Monday, October 17, 2016

UNIVERSITY of LIMERICK

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science ALGORITHMS FOR INFERENCE Fall 2014

DRAFT Formulation and Analysis of Linear Programs

Analysis of Variance and Co-variance. By Manza Ramesh

Review Questions, Final Exam

CS 170 Algorithms Spring 2009 David Wagner Final

DEPARTMENT OF MATHEMATICS


Mt. Douglas Secondary

NAME : Math 20. Final Exam August 27, Prof. Pantone

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

CS1800 Discrete Structures Spring 2018 February CS1800 Discrete Structures Midterm Version A

LEARNING OBJECTIVES. Overview of Lesson. guided practice Teacher: anticipates, monitors, selects, sequences, and connects student work

Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B)

2. (10 pts) How many vectors are in the null space of the matrix A = 0 1 1? (i). Zero. (iv). Three. (ii). One. (v).

Exam EDAF May Thore Husfeldt

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

UNIVERSITY of OSLO. Faculty of Mathematics and Natural Sciences. INF 4130/9135: Algorithms: Design and efficiency Date of exam: 12th December 2014

MAT 135 In-Class Assignments Answer Key

Equations and inequalities

Do not turn this page until you have received the signal to start. Please fill out the identification section above. Good Luck!

Linear transformations

Math 19 Practice Exam 2B, Winter 2011

Math 115 Final Exam April 24, 2017

Integer programming: an introduction. Alessandro Astolfi


Welcome to CPSC 4850/ OR Algorithms

Math 51 Second Exam May 18, 2017

Examiners: R. Grinnell Date: April 19, 2013 E. Moore Time: 9:00 am Duration: 3 hours. Read these instructions:

MAT 1341A Final Exam, 2011


University of New Mexico Department of Computer Science. Final Examination. CS 561 Data Structures and Algorithms Fall, 2013

MATH SPEAK - TO BE UNDERSTOOD AND MEMORIZED

1. (7pts) Find the points of intersection, if any, of the following planes. 3x + 9y + 6z = 3 2x 6y 4z = 2 x + 3y + 2z = 1

MATH 112 Final Exam, Spring Honor Statement

Preparing for Euclid 2016

DEPARTMENT OF MATHEMATICS

DEPARTMENT OF MATHEMATICS

Transcription:

Econ 172A, Fall 12: Final Examination (I) Instructions. 1. The examination has seven questions. Answer them all. 2. If you do not know how to interpret a question, then ask me. 3. Questions 1- require you to provide detailed answers. You must explain how you arrive at your answer. If you properly use an algorithm introduced in the class that is appropriate for the problem, it is sufficient to say: I used the algorithm introduced in class. If you use an alternate method, a detailed justification is necessary. Clear, accurate descriptions are necessary if you wish to receive partial credit for answers that contain computational errors. 4. To be clear: It is not sufficient to write down a correct numerical answer to receive credit. You must explain how you arrived at your answer and why it is appropriate.. No justification is needed for Questions 6 and 7. 6. The table below indicates how points will be allocated on the exam. 7. Work alone. You may not use notes, books, calculators, or any other electronic devices. 8. You have three hours. 9. Read the Buckley waiver (posted during exam). If you write the words Buckley Waiver at the top of this page and sign your name next to the w Score Possible I 30 II III IV 30 V 3 VI VII 2 Exam Total 0 Course Total 0 Grade in Course 1

1. The entries in the table below describe the costs associated with an assignment problem. There are four people (1, 2, 3, 4) and four jobs (A, B, C, and D). The entry in column j and row i is the cost associated with assigning person i to job j (so, for example, the cost of assigning person 3 to job C is ). Find the cost-minimizing assignment of worker to job (each worker should do exactly one job; each job should be assigned to exactly one worker). You must justify your answer. A B C D 1 9 4 2 0 8 2 98 3 80 70 0 4 4 12 30 2

2. Consider a marriage problem in which there are four men, (1, 2, 3, 4), and four woman (A, B, C, and D). The preferences of the men are: Suppose preferences are given by the following tables: Mens Preferences MEN 1 C D B A 2 A D B C 3 B A C D 4 B D A C Womens Preferences WOMAN A 1 2 3 4 B 1 4 3 2 C 2 4 3 1 D 4 1 2 3 So, for example, Man 1 prefers Woman C to Woman D, Woman D to Woman B, and Woman B to Woman A. (a) Exhibit a stable marriage for this problem. Justify your answer. (b) Is the stable marriage you found unique? If not, exhibit another stable marriage. If so, explain why it is unique. 3

3. Find a minimal spanning tree for the network below (the numbers on the edges are costs): 12 3 0 1 2 7 2 6 3 9 3 4 11 4 1 6 7 3 Draw a minimal spanning tree for the network above here (draw in the edges in the minimum spanning tree): 0 1 2 3 4 6 7 Briefly describe how you found this tree. Compute the cost of the spanning tree that you found above: 4

4. Consider the network on the next page. (Note: I have included several copies of the network so that you can use it to show your work. Depending upon how you solve the problem, you may need fewer or more networks.) The numbers on the edges are capacities. (a) Find a maximum flow (from the source node (s) to the sink node (n)) for this network. You may describe the flow here or on one of the network diagrams on the next page. Please indicate your answer clearly. You must explain how you found the answer. If you properly used the algorithm introduced in class (and you show the steps), then you need no further justification. If you used another method, then you must explain the method and explain how it works. (b) Find the value of the maximum flow. (c) Find a minimum capacity cut for this network. (d) What is the capacity of the minimum capacity cut? (e) Find the capacity of the cut {s, 1, 2, 4, } and {3, 6, 7, 8, 9, n}.

1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 6

1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 1 4 7 2 30 s 2 2 8 n 0 0 3 6 9 7

. A drug company manufactures two kinds of sleeping pill: Pill 1 and Pill 2. The pills contain a mixture of two different chemicals, A and B (and no other ingredients). By weight, the Pill 1 must contain at least 6% Chemical A and Pill 2 must contain at least % Chemical A. There are two different ways to produce Chemicals A and B. Operating Process P for one hour requires 7 ounces of a raw material and 2 hours of labor time (because it must be supervised by 2 workers). Operating Process Q for one hour requires ounces of a raw material and 3 hours of labor time. Operating Process P for one hour produces three ounces of each chemical. Operating Process Q for one hour produces 3 ounces of Chemical A and one ounce of Chemical B. There are L > 0 hours of labor and R > 0 ounces of raw material are available. The company earns a profit from Pill i of π i 0 dollars per ounce. The firm wishes to find a production plan that maximizes the profit it makes from manufacturing sleeping pills (subject to the constraints above). Formulate the problem as a linear programming problem. Your answer must include: (a) Descriptions of all of the relevant variables. Your description must include a specification of units. (b) A formula for the objective function. (c) Linear equations or inequalities representing every constraint. 8

6. The table below comes from a computation for a shortest-route problem, using the algorithm that I presented in class. (The table looks for shortest routes that begin at Node 1.) The nodes in the network are connected by directed edges that have non-negative costs. Assume that for all i, c(i, i) = 0. If j > i, there is no direct path from Node i to Node j. In these cases, c(j, i) =. Iteration/Node 1 2 3 4 6 1 0 4 1 17 7 2 0 4 13 16 3 0 4 13 16 4 0 4 12 11 0 4 12 11 (a) What is the cost of the shortest route from Node 1 to Node? (b) What is the shortest route from Node 1 to Node? (c) What is the cost of the shortest route from Node 1 to Node 4? (d) What is the shortest route from Node 1 to Node 4? 9

Table from previous page (repeated for convenience): Iteration 1 2 3 4 6 1 0 4 1 17 7 2 0 4 13 16 3 0 4 13 16 4 0 4 12 11 0 4 12 11 (e) In the grid below fill in as many of the costs as you can using the information in the table above. (Put the value for c(i, j) in the ith row and the j th column. If you do not have enough information, write NEI (for not enough information ). Notice that I filled in the diagonal elements: c(i, i) = 0 for all i and below diagonal elements: c(i, j) = if j > i. In this table, I want direct costs (not the costs of a shortest route). i/j 1 2 3 4 6 1 0 2 0 3 0 4 0 0 6 0 (f) Is it possible to infer from the table the cost of the shortest route from Node 3 to Node? If so, what is the cost, what is the corresponding route, and why do you know it. If not, can you provide an upper bound for the cost? Why are you not sure whether it is actually the lowest cost?

7. In each of the parts below, choose the single best answer. Parts (a)-(d) refer to the following information. Consider the following linear programming problems: max c x subject to Ax b, x 0 (P) max c x subject to A x b, x 0 (P ) where c and c are (possibly different) vectors with n-components; b and b are (possibly different) vectors with m-components; and A and A are (possibly different) matrices with n columns and m rows. Let a ij denote the entry of A in Row i and Column j and let a ij denote the entry of A in Row i and Column j. Assume that these problems have unique solutions. Let x denote the solution to P and x denote the solution to P. (a) If b = b, and, for all i, then c j = a ij = i. x = { x. ii. x j = 2x 1, if j = 1 x j, if j 1 { iii. x j =.x 1, if j = 1 x j, if j 1 { 2c 1, if j = 1 c j, if j 1 { 2a i1, if j = 1, a ij, if j 1, iv. None of the above (or insufficient information). I doubled all of the coefficients associated with x j. This is equivalent to changing units. (If x j was measured in pounds in the original problem, it is measured in 2 pounds in the primed problem.) Hence all you need to do is divide the x 1 value in half to get the new solution. Correct answer: c. (b) If b = b, A = A, and c = 2c, then i. x = x. ii. x = 2x. iii. x =.x. iv. None of the above (or insufficient information) Doubling the resources permits you to double the inputs. correct. (b) is 11

(c) If b = b, A = A, and c j = c j + 1 for all j, then i. x = x. ii. x j = x j + 1 for all j. iii. x j = x j 1 for all j. iv. None of the above (or insufficient information). (d) is correct. (d) If all of the entries in A and all of the components of b and c are integers, then i. All of the components of x are integers. ii. The value of P is an integer. iii. Both (i) and (ii). iv. None of the above (or insufficient information). (d) is correct. (There are many examples where the first two things don t happen.) (e) Consider a network with weights c ij, where the c ij are nonnegative integers i. The value of the associated minimum spanning tree problem is an integer. ii. The value of the shortest route between any pair of nodes is an integer. iii. The value of the maximum flow problem (for any designated source and sink) is an integer. iv. Exactly two of the above. v. All three of (i), (ii), and (iii). vi. None of the above (or insufficient information). (e) is correct. (The algorithms demonstrate this.) 12