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

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

Math 164 (Lec 1): Optimization Instructor: Alpár R. Mészáros

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

Final exam (practice) UCLA: Math 31B, Spring 2017

FALL 2018 MATH 4211/6211 Optimization Homework 4

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES

December 2014 MATH 340 Name Page 2 of 10 pages

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015

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

Math 2114 Common Final Exam May 13, 2015 Form A

Final exam (practice) UCLA: Math 31B, Spring 2017

FALL 2018 MATH 4211/6211 Optimization Homework 1

Two hours. To be provided by Examinations Office: Mathematical Formula Tables. THE UNIVERSITY OF MANCHESTER. 29 May :45 11:45

Econ 172A, Fall 2007: Midterm A

Ch 3.2: Direct proofs

OPTIMISATION /09 EXAM PREPARATION GUIDELINES

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 104 Section 2 Midterm 2 November 1, 2013

Syllabus, Math 343 Linear Algebra. Summer 2005

Math Fall Final Exam

Problem Points Problem Points Problem Points

MTH 132 Solutions to Exam 2 Nov. 23rd 2015

ECE580 Final Exam December 14, Please leave fractions as fractions, I do not want the decimal equivalents.

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

MTH 132 Solutions to Exam 2 Apr. 13th 2015

Preliminary/Qualifying Exam in Numerical Analysis (Math 502a) Spring 2012

Math 5587 Midterm II Solutions

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

STUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER RECITATION INSTRUCTOR:

Name: Mathematics 1C03

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

Math 51 Midterm 1 July 6, 2016

Optimeringslära för F (SF1811) / Optimization (SF1841)

Math 16 - Practice Final

Lynch 2017 Page 1 of 5. Math 150, Fall 2017 Exam 1 Form A Multiple Choice

A.P. Calculus BC Test Three Section Two Free-Response No Calculators Time 45 minutes Number of Questions 3

MAT 1341A Final Exam, 2011

MA EXAM 3 INSTRUCTIONS VERSION 01 April 14, Section # and recitation time

FINANCIAL OPTIMIZATION

MATH 1553, C. JANKOWSKI MIDTERM 3

Problem Point Value Points

THE USE OF A CALCULATOR, CELL PHONE, OR ANY OTHER ELEC- TRONIC DEVICE IS NOT PERMITTED DURING THIS EXAMINATION.

CS 170 Algorithms Spring 2009 David Wagner Final

MATH10212 Linear Algebra B Homework Week 3. Be prepared to answer the following oral questions if asked in the supervision class

Written Exam Linear and Integer Programming (DM554)

Functional Analysis Exercise Class

INSTRUCTIONS USEFUL FORMULAS

10-725/ Optimization Midterm Exam

MA EXAM 3 Form A November 12, You must use a #2 pencil on the mark sense sheet (answer sheet).


Math 106: Calculus I, Spring 2018: Midterm Exam II Monday, April Give your name, TA and section number:

Integer Linear Programs

Without fully opening the exam, check that you have pages 1 through 11.

University of Connecticut Department of Mathematics

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:

AN ITERATION. In part as motivation, we consider an iteration method for solving a system of linear equations which has the form x Ax = b

Advanced Analysis Qualifying Examination Department of Mathematics and Statistics University of Massachusetts. Monday, August 26, 2013


Spring 2017 CO 250 Course Notes TABLE OF CONTENTS. richardwu.ca. CO 250 Course Notes. Introduction to Optimization

Archive of past papers, solutions and homeworks for. MATH 224, Linear Algebra 2, Spring 2013, Laurence Barker

Extra Problems for Math 2050 Linear Algebra I

The University of British Columbia. Mathematics 300 Final Examination. Thursday, April 13, Instructor: Reichstein

Multiple Choice Answers. MA 110 Precalculus Spring 2016 Exam 1 9 February Question

Solving Equations by Adding and Subtracting

Here each term has degree 2 (the sum of exponents is 2 for all summands). A quadratic form of three variables looks as

Algorithms, Probability, and Computing Final Exam HS14


University of Ottawa

CS 323: Numerical Analysis and Computing

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

LAKELAND COMMUNITY COLLEGE COURSE OUTLINE FORM

University of Ottawa

University of Ottawa

MATH10212 Linear Algebra B Homework Week 5

Fall 2016 MATH*1160 Final Exam

3 The Simplex Method. 3.1 Basic Solutions

Name: MAT 444 Test 4 Instructor: Helene Barcelo April 19, 2004

MA EXAM 3 INSTRUCTIONS VERSION 01 April 18, Section # and recitation time

CS 323: Numerical Analysis and Computing

MA/OR/ST 706: Nonlinear Programming Midterm Exam Instructor: Dr. Kartik Sivaramakrishnan INSTRUCTIONS

CS 323: Numerical Analysis and Computing

Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5

Midterm Exam Information Theory Fall Midterm Exam. Time: 09:10 12:10 11/23, 2016

MATH 4211/6211 Optimization Constrained Optimization


UC Berkeley Department of Electrical Engineering and Computer Science. EECS 227A Nonlinear and Convex Optimization. Solutions 5 Fall 2009

Ask. Don t Tell. Annotated Examples

MA FINAL EXAM Form 01 MAY 3, 2018

MecE 390 Final examination, Winter 2014

MAT Linear Algebra Collection of sample exams

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

Math 152 Second Midterm March 20, 2012

MATH 1553 SAMPLE FINAL EXAM, SPRING 2018

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

Q1 Q2 Q3 Q4 Tot Letr Xtra

Math Spring 2011 Final Exam

THE UNIVERSITY OF BRITISH COLUMBIA Sample Questions for Midterm 1 - January 26, 2012 MATH 105 All Sections

2. To receive credit on any problem, you must show work that explains how you obtained your answer or you must explain how you obtained your answer.

Mathematics 253/101,102,103,105 Page 1 of 17 Student-No.:

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 1. Exam location: 1 Pimentel (Odd SID + 61C)

Transcription:

Math 164-1: Optimization Instructor: Alpár R. Mészáros Final Exam, June 9, 2016 Name (use a pen): Student ID (use a pen): Signature (use a pen): Rules: Duration of the exam: 180 minutes. By writing your name and signature on this exam paper, you attest that you are the person indicated and will adhere to the UCLA Student Conduct Code. No calculators, computers, cell phones (all the cell phones should be turned off during the exam), notes, books or other outside material are permitted on this exam. If you want to use scratch paper, you should ask for it from one of the supervisors. Do not use your own scratch paper! Please justify all your answers with mathematical precision and write rigorous and clear proofs. You may lose points in the lack of justification of your answers. Theorems from the lectures and homework assignments may be used in order to justify your solution. In this case state the theorem you are using. This exam has 5 problems and is worth 20 points. Adding up the indicated points you can observe that there are 26 points, which means that there are 6 bonus points. This permits to obtain the highest score 20, even if you do not answer some of the questions. On the other hand nobody can be bored during the exam. All scores higher than 20 will be considered as 20 in the gradebook. I wish you success! Problem Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Total Score

Exercise 1 (4 points). Let us consider the following linear program min{2x 1 + 2x 2 + 2x 3 } s.t. (1) Write a feasible solution for (LP 1 )! x 1 + x 2 + x 3 = 6, 2x 1 + x 3 = 5, x 2 + 3x 3 = 7, x 1, x 2, x 3 0. (LP 1 ) (2) Does (LP 1 ) have an optimal solution? If yes, is this solution unique? Determine all the optimal solutions and the value of the objective function as well! (3) What would happen, if one would exchange the constraints x 1, x 2, x 3 0 in (LP 1 ) to x 1, x 2, x 3 0? Would this new problem have a solution? Imagine now that one removes the last equality constraint and one considers min{2x 1 + 2x 2 + 2x 3 } s.t. { x1 + x 2 + x 3 = 6, 2x 1 + x 3 = 5, x 1, x 2, x 3 0. (LP 2 ) (4) What does the set of constraints in (LP 2 ) represent geometrically? Is it convex? Determine all the feasible solutions for (LP 2 )! Justify your answer! (5) Determine all the optimal feasible solutions for (LP 2 )! Do we still have uniqueness? Determine the value of the objective function for the feasible solutions! Justify your answers! Hint: it is easier to use some geometrical arguments and the structure of (LP 2 ), than to use the simplex algorithm for instance. 2

Exercise 2 (6 points). Find the triangles in the plane with a fixed given area A > 0 that have minimal perimeter. To this aim determine the lengths of their sides a, b, c > 0 in terms of A using the theory of Lagrange multipliers. (1) Write down the first order optimality conditions and select the candidates for the optimizers! (2) Eventually using second order optimality conditions, determine which from the selected candidates in (1) are indeed optimizers. Hint: you may use Heron s formula for the area, i.e A = p(p a)(p b)(p c), where p := a + b + c 2 is the semi-perimeter. Solutions, using other formulas will be also accepted. 3

Exercise 3 (6 points). Let us consider the function f : R n R defined as f(x) = 1 2 x Ax b x + γ x 2, where n 1 is an integer, A R n n is a symmetric matrix, b R n, γ R and x := x 2 1 + x2 2 + + x2 n denotes the Euclidean norm of the vector x R n. In the followings, we denote the eigenvalues (that are all real) of A with possible multiplicities ordered by λ 1 λ 2 λ n. We aim to study the minimization problem min f(x). (P) x R n (1) Show that the condition λ 1 + 2γ > 0 is a sufficient condition that ensures that (P) has a unique solution. Determine this unique solution! Hint: you may use first and second order optimality conditions! Moreover you may use Rayleigh s inequality, saying that if Q R n n is symmetric, then the minimum of Rayleigh s quotient x Qx x 2 is the smallest, while the maximum of this quotient is the largest eigenvalue of Q. (2) Let us suppose that for some of the eigenvalues λ i one has λ i + 2γ < 0. Show that in this case (P) does not have a solution! Hint: select a sequence of vectors (x k ) k 0 (using for instance the eigenvectors associated to the eigenvalue λ i ) such that f(x k ), as k +. You may also use the Cauchy-Schwartz inequality (i.e. a b a b, a, b R n ). From now on, one supposes that the assumption in (1), i.e. λ 1 + 2γ > 0 is satisfied, hence (P) has a unique minimizer x. We aim to find this minimizer numerically. (3) Discuss why could we use Newton s algorithm to find x. How many steps are necessary using Newton s algorithm to find x starting from any initial guess x 0 R n? Justify your answer! (4) Explain why can we use the conjugate direction algorithm developed during the lectures to find x! With respect to which matrix need we choose the conjugate directions? Justify your answer! (5) Suppose that A = I n is the identity matrix. Construct a set of n vectors that are conjugate w.r.t. the matrix determined in (4)! (6) Suppose once again that A = I n. Write down the updates in the conjugate direction algorithm to find x starting from and initial point x 0 using the conjugate directions from (5)! (7) Explain what is happening geometrically while proceeding the algorithm in (6)! Supposing that one knows x, construct an initial guess x 0 for which the algorithm in (6) terminates in precisely 2 steps. 4

Exercise 4 (5 points). A small company in a country far-far away named Appel wants to attribute three tasks (let us say: changing the locks on some of the office doors; ordering the files in some of the offices and assembling some electronic devices) to its workers (John the locksmith and Jane the accountant) in a way that it maximizes the productivity. We know that both John and Jane can work on fractions of each of the tasks and based on previous experience, the company knows exactly how productive John and Jane is for the different tasks. This can be seen from the following productivity matrix P = ( 5 1 3 0 4 2 The two rows of this matrix represent the productivity of John and Jane, respectively in the different tasks, e.g. John has a productivity 5 when changing the locks, while 1 for ordering the files, while Jane has productivity 0 when changing locks and productivity 2 for assembling the devices, and so on. We know moreover the total number of each tasks: there are 3 locks to be changed, 2 offices with files to be ordered and 10 electronic devices to be assembled. The company is aiming to find the optimal values for the variables γ ij 0, i {1, 2} and j {1, 2, 3} which represent how much John and Jane works on the different tasks to obtain the highest possible global productivity. For instance if we get γ 13 = 7.4 that means that John should assemble 7.4 electronic devices, if we get γ 22 = 1.7 that means that Jane should order the files in 1.7 offices, etc. So the company is looking for γ ij s that solve the problem max 2 i=1 j=1 ). 3 P ij γ ij, under the constraints that all the tasks are completed. Our job is to find these optimal quantities and let the company know how to distribute the different tasks among John and Jane. (1) Write the above problem as a linear program, i.e. write the objective function that has to be maximized together with the constraints that should be satisfied. Explain how did you obtain them! (2) Is the LP from (1) in standard form (in the sense of our lectures)? If not, transform it into a standard form. Justify your answer! (3) Transform the LP from (1) into canonical form (in the sense of our lectures). Give two different set of basic variables and write a basic feasible solution for each cases. (4) Use the simplex algorithm to solve the LP from (1), at each step write the reduced cost coefficients and a basic feasible solution. Write the optimal solution and the value of the objective function at the optimizer. (5) Is the optimizer that you have found in (4) unique? Justify your answer! Interpret the solution that you have found in (4)! What do you observe from the economical point of view? For this, answer the following questions: what would be different if we would change the coefficients in the matrix P? Do you observe the same phenomena? Would be something different if one would have more than one locksmith or accountant at the company with similar skills? 5

Exercise 5 (5 points). Let f : R n R be a C 1 function. We define the function f : R n R {+ } as f (y) = max x Rn{y x f(x)}, whenever the maximizer exists and + otherwise. We aim to study some properties of f. (1) Show that if f(0) = 0 then f (y) 0 for all y R n. (2) Show that x y f(x) + f (y) for all x, y R n. (3) Let p > 1 and f(x) = 1 p x p. Show that f is well-defined (i.e. its value is always finite) and f (y) = 1 q y q where 1 p + 1 = 1. Hint: use for instance the Cauchy-Schwartz inequality for the q first part (i.e. a b a b, a, b R n ) and the first order necessary optimality condition for the second part. For the second part you should first understand what is happening when n = 1. (4) Using the previous points, show Young s inequality, i.e. x y 1 p x p + 1 q y q for all x, y R n and 1 p + 1 q = 1. (5) Let us define f = (f ). Suppose that f and f are well-denied (i.e. finite) everywhere in R n. Show that f (x) f(x) for all x R n. 6