ORF307 Optimization Practice Midterm 1

Similar documents
(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

December 2014 MATH 340 Name Page 2 of 10 pages

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:

Linear Programming: Chapter 5 Duality

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

Review Solutions, Exam 2, Operations Research

1 Review Session. 1.1 Lecture 2

MATH 210 EXAM 3 FORM A November 24, 2014

Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

Math 16 - Practice Final

AM 121 Introduction to Optimization: Models and Methods Example Questions for Midterm 1

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis

Part 1. The Review of Linear Programming

Math 354 Summer 2004 Solutions to review problems for Midterm #1

MATH 445/545 Test 1 Spring 2016

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

2.098/6.255/ Optimization Methods Practice True/False Questions

New Artificial-Free Phase 1 Simplex Method

Linear Programming Duality

Answer the following questions: Q1: Choose the correct answer ( 20 Points ):

MATH 373 Section A1. Final Exam. Dr. J. Bowman 17 December :00 17:00

The Primal-Dual Algorithm P&S Chapter 5 Last Revised October 30, 2006

(includes both Phases I & II)

Example Problem. Linear Program (standard form) CSCI5654 (Linear Programming, Fall 2013) Lecture-7. Duality

Summary of the simplex method

Summary of the simplex method

CSCI5654 (Linear Programming, Fall 2013) Lecture-8. Lecture 8 Slide# 1

Introduction to Mathematical Programming IE406. Lecture 10. Dr. Ted Ralphs

(includes both Phases I & II)

9.1 Linear Programs in canonical form

IE 400: Principles of Engineering Management. Simplex Method Continued

February 17, Simplex Method Continued

1 Answer Key for exam2162sp07 vl

Lecture 11: Post-Optimal Analysis. September 23, 2009

Midterm Review. Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A.

Systems Analysis in Construction

The dual simplex method with bounds

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

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

Ann-Brith Strömberg. Lecture 4 Linear and Integer Optimization with Applications 1/10

MATH 445/545 Homework 2: Due March 3rd, 2016

Lecture 11 Linear programming : The Revised Simplex Method

Simplex method(s) for solving LPs in standard form

Introduction to Mathematical Programming

Math 1: Calculus with Algebra Midterm 2 Thursday, October 29. Circle your section number: 1 Freund 2 DeFord

Civil Engineering Systems Analysis Lecture XII. Instructor: Prof. Naveen Eluru Department of Civil Engineering and Applied Mechanics

ORF 363/COS 323 Final Exam, Fall 2017

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

4. Duality Duality 4.1 Duality of LPs and the duality theorem. min c T x x R n, c R n. s.t. ai Tx = b i i M a i R n

Name: ID: Rec: Question: Total. Points:

The Strong Duality Theorem 1

Special cases of linear programming

Lecture Simplex Issues: Number of Pivots. ORIE 6300 Mathematical Programming I October 9, 2014

Today s class. Constrained optimization Linear programming. Prof. Jinbo Bi CSE, UConn. Numerical Methods, Fall 2011 Lecture 12

UNIT-4 Chapter6 Linear Programming

Midterm Exam 2 CS 341: Foundations of Computer Science II Fall 2018, face-to-face day section Prof. Marvin K. Nakayama

CHAPTER 2. The Simplex Method

A Strongly Polynomial Simplex Method for Totally Unimodular LP

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

MAT016: Optimization

A Parametric Simplex Algorithm for Linear Vector Optimization Problems

IE 5531: Engineering Optimization I

56:171 Operations Research Midterm Exam - October 26, 1989 Instructor: D.L. Bricker

Farkas Lemma, Dual Simplex and Sensitivity Analysis

INFORMS is collaborating with JSTOR to digitize, preserve and extend access to Mathematics of Operations Research.

Prelude to the Simplex Algorithm. The Algebraic Approach The search for extreme point solutions.

Linear Programming and the Simplex method

Lecture 10: Linear programming. duality. and. The dual of the LP in standard form. maximize w = b T y (D) subject to A T y c, minimize z = c T x (P)

An upper bound for the number of different solutions generated by the primal simplex method with any selection rule of entering variables

Review Questions, Final Exam

Points: The first problem is worth 10 points, the others are worth 15. Maximize z = x y subject to 3x y 19 x + 7y 10 x + y = 100.

University of Toronto Department of Electrical and Computer Engineering. Final Examination. ECE 345 Algorithms and Data Structures Fall 2016

Phy207 Exam I (Form1) Professor Zuo February 16, Signature: Name:

ORF 307: Lecture 2. Linear Programming: Chapter 2 Simplex Methods

Sensitivity Analysis

Lecture: Algorithms for LP, SOCP and SDP

Algebra 2 CP Semester 1 PRACTICE Exam

The Dual Simplex Algorithm

Econ 172A, Fall 2007: Midterm A

56:270 Final Exam - May

ORF 307: Lecture 4. Linear Programming: Chapter 3 Degeneracy

Written Exam Linear and Integer Programming (DM545)

Computational Complexity. IE 496 Lecture 6. Dr. Ted Ralphs

Motivating examples Introduction to algorithms Simplex algorithm. On a particular example General algorithm. Duality An application to game theory

IE 5531 Midterm #2 Solutions

10-725/ Optimization Midterm Exam

AMS341 HW1. Graphically solving this LP we find the optimal solution to be z = $10,000, W = C = 20 acres.

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

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

FINAL EXAM: FALL 2013 CS 6375 INSTRUCTOR: VIBHAV GOGATE

MATH2070 Optimisation

Metode Kuantitatif Bisnis. Week 4 Linear Programming Simplex Method - Minimize

Mark your answers ON THE EXAM ITSELF. If you are not sure of your answer you may wish to provide a brief explanation.

Answer Key. Calculus I Math 141 Fall 2003 Professor Ben Richert. Exam 2

LP. Lecture 3. Chapter 3: degeneracy. degeneracy example cycling the lexicographic method other pivot rules the fundamental theorem of LP


Introduction to the Simplex Algorithm Active Learning Module 3

Transcription:

Princeton University Department of Operations Research and inaocial Engineering OR307 Optimization Practice Midterm 1 Closed book. No computers. Calculators allowed (but not needed). You are permined to use a one-page two-sided cheat sheet. Please return the exam questions and your cheat sheet with your exam booklet. (1) (30 pts.) Consider the following problem: maxirnize 2XI X2 6X3 + X4 subject to X l < 4 - X2 + X. :s; 5 -Xl X3 + X. < -1 Xl, X2, X3, X4 2: o. (a) Write the problem in dictionary form. (b) Write down the values of all variables associated with this dictionary. (c) Write down the dual problem as a rninimization problem. (d) Write the dual problem in dictionary form. (e) Write down the values of all variables associated with this dual dictionary. (f) Check whether the primal values from (b) are complementary to the dual values from (e).

:1., (C\) ~ = 2. ;>(1._')(. -6't l +)(q WI - 1- 'X I W2. = s;- -I- '><l. - "X.., W 1 = -1... 'X, +~ - x'i (b) ')(, -= "'S. = ')('3 ::: 'X If :::. 0 \}./, = Lj,,' ""'1. - ~ W, -= -I eel t./~, +S-'JL-~J ~I - \~h ~ 2. -\h ~ -\ - ~.J ~ -6 'h. -+ ';)1 ~ Cd) -~ - -4';), - S-'h. -I- ~3 - ~ ;;; I -2..., ';) I - ':13 2 ::: 2- -~~ l3 :: {, -'h 2- '/ ::: -I +~-z. -I- ~:I (e) 'J I ::: ';} 1. ::: ~J :=: 0 } 'l -= -2. I I 2"t -= \ I cl::: 6, c'1 -:; -I (~) ')(, ~I := o (-z.) "'0)?<l.c'l. '" 0 ( I) =0 ) '')(.'3 ~ =- 0-6 =() I )( I' c~ -= () (-I) =' 0 w,,:}, =- 4 ' () -=-0 ) lvl.~l.::: ~ 0 ;0 I tv J 'c), c=. -/- V ~ o,{f;s'

2 (2) (14 pts.j Consider!he following four dictionaries: ( = - 2-2Xl 2 + 3w, (b) X, = 4 + 6X2 + W2 5 + 2XI X4 = 3-4Wl (c) X3 w, X, (= - 9-3X2 ( 6+ 2X4 + X, + 2W3 - -2-2W2 - W3 X2 (d) - - X3-1 + 2X4 + W, + 3X, 7W3-1 + W2 + 5W3 + X2 X2-2 X4 + 5WI + Xl + W3-3 - W2-3W3 - X2 W2 - X4-3WI - 2XI + W3 or each of the above dictionaries, identify which of the following statements are true by placing check marks in the following table: The associated primal solution is feasible The associated primal solution is optimal The dictionary is primal degenerate The dictionary shows the primal problem is unbounded Variable X3 is basic The associated dual solution is dual feasible The dictionary shows the primal problem is infeasible (a) (b) (c) (d) X X X X 'j.. )<. 'j. X )< X y.. Be sure to return this page with your exam booklet.

3 (3) (18 pts.) Mark the following statements as true (T) or false (): T/ If the current dictionary is degenerate, then the next pivot will not change the objective function. Consider the version of the simplex method in which an artificial variable Xo is introduced in pbase-i. The phase-i problem can be unbounded. After a degenerate pivot, the dictionary must still be degenerate. An optimal solution to a linear programming problem must be a vertex of the set of feasible solutions. No problem with an unbounded feasible region has an optimal solution. Consider a dictionary. The primal and dual solutions associated with this dictionary must satisfy the complementarity relations: x j Zj = 0 for all j and WiYi = 0 for all z- It is possible to move from one vertex of the feasible set to any other vertex in a single pivot. A dual pivot never decreases the value of the primal objective function. A problem has an optimal solution if and only if it is both primal and dual feasible..,- T T NOTE: SAT-style grading scheme: 2 points for a correct answer, 0 points for an incorrect answer, and 1 point for no answer.

4 (4) ( 7 pts.) The CEO of a large colporation needs the solution to the following linear programming problem: maximize - 2Xl - 2X2 6X3 subject to Xl 2X2 2X3 < -15-2XI + X2 X3 < - 30 X}, X2, X3 > O. Because the numbers represent millions of dollars, an error would be very costly. Hence, he's independently delegated the task of computing the solution to two subordinates: Alice and Brad. Alice carne back with the following values for the priulal and, by the way, for the associated dual values: xi = 25, x; = 20, x; = 0 and y; = 2, y; = 2 Brad provided the following values, which are different from Alice's: xi = 9, x; = 0, xi = 12 Since the two solutions disagree, you're being asked to determine who, if anyone, is correct. So, who is? Explain. (5) (7 pts.) Given n girls and m boys, you, the matchmaker, are to determine how to pairwise match the girls with the boys so as to maxinlize some overall desirability index. This problem can be set up as follows. Let Xgb be a decision variable that is 1 if girl g gets matched to boy b and is zero otherwise. Suppose that there is a desirability index d gb associated with matching girl g with boy b. The problem is to maxinlize the overall desirability of all of the matches subject to the constraints that each girl gets matched with one boy and each boy gets matched with at most one girl. ormulate this problem as a linear programming problem. Notes: (I) don 't worry about specific data, just describe the problem; (2) you can write it either in AMPL or just in common mathematical notation; (3) don't worry that the solution might involve fractions.

'X~ -2)( - _Zy.l = v;-- 40-0 :: -6s- ~ -/& I '!. :I - 2'f.~ -+ '(.1* - "'t '" -~() + 2..0-0 ':: -3D ~ - S 0.././ ':)~-z"a~ ':: 2-Lf ::: -2 ~ -z./ -7..~( -t 'j~ = -'-/+2. -= -2 ~ -2./ -2':)~_ ':1': = -L/_2 ~-6 >, -6,/ ~ ti5;\a~ /:)trfjc-c-h.. _ O~. vk: -2)(~ - '2-)(; - 6"'J.* =- -I~ - 1-12 -= -'To?~ ~Ii<>: ~ -zi; -2~~ = 9-2.</ == -I> ~ -J),./ = -I~ -1<.:= -30 :!: -30 /'

~ ')('~b :: ~ ~'" ~ ~.:Q ::3 Z 'X~ b ~ -'\ ~tf) ~ ~ b ~ 'X:>b ~O -P<I1 ~ f'~ (~,b)

5 (6) ( 8 pts.) The solution associated with the following dictionary is optimal: (=5 2W2 X l = 6 + 5Wl + w2 X2 = 0 - WI - 7W2 ea) Write down the optimal values for all of the variables in tbis problem. (b) If there are other optimal solutions, find one. If there are none, say how you know this to be the case. (7) ( 6 pts.) Consider the following linear programming problem in 2 variables: maximize 3Xl + 2X2 subject to -Xl + 3 X 2 < 12 Xl + X2 < 8 2XI - X2 < 10 X I l X2 > O. Here is a graph of the feasible region shown together with two level sets of the objective function: Using the primal simplex method, one can pivot from the vertex labeled A to the vertex labeled B. Consider this pivot. ea) What is the entering variable? -,c.,. (b) What is the leaving variable? W Explain.!!. -r1.a.. M~~ v~um, «4- -1"ila. ""'~v~~~ is ~ A ~ '

G, C"'\ "\(, = b I ')<2. = 0 (~9. W,::oO W = 0) ) 1- ' (b).~~.:-o ~~.R..., c.. M~ v~m wjl. 0- ~ c.~1~ ~ Ow". )~ ~ f~ WI ~ ~ ~~' 1I1l.iM) f~"i~ w-e c.a,..., Jo ~ Md"YI-~..:& pwvt- +0 0.. J~~J ~ ~,J) /.)~. --ld0~, ol,j,~ rjl ~~ flo c0~~ <t.ad f:h. J1~~ \}CtM~ \0 'X2. ;\R-O~j ~ 0.. ~~~ p~... ~ -= ::> +0 Xl.. - 2w1. y.., =c b - S-lC t ~11Wl. W := C> - Xl. - fjwz. I ') '{.... = 6 )( =-0 ~ I 2..,, A~r~ f C~ ~ ~~? \AJJQ J LM2..d ~ Al""-t. ~"-I wt ~.P.Q# '/.l. ~ ~ w, J&<L\K. I\SJ-~ b~~ ~ W ~ Jw. we ~d~. ~) ~ ~!~6W() or ~u-9,<)~,

6 (8) ( 5 pts.) Consider a problem whose constraints are as shown here: c Suppose that the objective is to minimize Xl. Clearly, the optimal solution is at vertex E. It is not possible for the dual simplex method starting at vertex H to visit n vertices G then E? Explain why. -ra ~0.2 pf",,~ ~J2 ~ ~Q ~ 0.. M-"""'dR>~ :.:. ~J' ~~""~. As /)otn-cm ~...(J.f-lVJ~ ~ (9) ( 5 pts.) Using the largest coefficient rule to choose the entering variable in the ~.e following primal feasible dictionary, compute the dictionary after one iteration of ) the simplex method..j,. ~ IW. - X3 ~~. W, = I -+ ',(, -+ 2W"t - 2 ')(3 - W1. - "LX J ~ ~ J ~ ca.ll~ c;.. #cvl ~C/W'!ll C ;,., i~i JJa) ~~ ~ ~/ -t;;.,.~,