ORF 523 Final Exam, Spring 2016

Similar documents
ORF 363/COS 323 Final Exam, Fall 2018

ORF 363/COS 323 Final Exam, Fall 2016

ORF 363/COS 323 Final Exam, Fall 2015

ORF 363/COS 323 Final Exam, Fall 2017

1 Strict local optimality in unconstrained optimization

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

Limits of Computation + Course Recap

ORF 523. Finish approximation algorithms + Limits of computation & undecidability + Concluding remarks

Limits of Computation + Course Recap

1 The independent set problem

CS173 Lecture B, November 3, 2015

EXAM # 3 PLEASE SHOW ALL WORK!

Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00)

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

COS 341: Discrete Mathematics

EE364a: Convex Optimization I March or March 12 13, Final Exam

Lynch, October 2016 Page 1 of 5. Math 150, Fall 2016 Exam 2 Form A Multiple Choice Sections 3A-5A

Use the Rational Zero Theorem to list all the possible rational zeros of the following polynomials. (1-2) 4 3 2

10725/36725 Optimization Homework 4

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

Midterm. Introduction to Machine Learning. CS 189 Spring Please do not open the exam before you are instructed to do so.

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

1 Robust optimization

Class Note #20. In today s class, the following four concepts were introduced: decision

MATH COURSE TITLE: College Algebra

Convex envelopes, cardinality constrained optimization and LASSO. An application in supervised learning: support vector machines (SVMs)

1.1 Administrative Stuff

The PRIMES 2014 problem set

JEFFERSON COLLEGE COURSE SYLLABUS MTH 110 INTRODUCTORY ALGEBRA. 3 Credit Hours. Prepared by: Skyler Ross & Connie Kuchar September 2014

EE263 Midterm Exam. This is a 24 hour take-home midterm. Please turn it in at Bytes Cafe in the Packard building, 24 hours after you pick it up.

Multiple Choice. (c) 1 (d)

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

Mathematics 1 Lecture Notes Chapter 1 Algebra Review

Quinsigamond Community College School of Math and Science

Last/Family Name First/Given Name Seat # Exam # Failure to follow the instructions below will constitute a breach of the Honor Code:

CO 250 Final Exam Guide

PHYSICS 103 FINAL EXAM

6.079/6.975 S. Boyd & P. Parrilo December 10 11, Final exam

University of Illinois at Chicago Department of Computer Science. Final Examination. CS 151 Mathematical Foundations of Computer Science Fall 2012

MATH 5524 MATRIX THEORY Pledged Problem Set 2

Limits of Computation + Course Recap

ORF 245 Fundamentals of Engineering Statistics. Final Exam

Integer-Valued Polynomials

HONORS LINEAR ALGEBRA (MATH V 2020) SPRING 2013

Last/Family Name First/Given Name Seat # Exam # Failure to follow the instructions below will constitute a breach of the Honor Code:

CSCI 5654 (Linear Programming, Fall 2013) CSCI 5654: Linear Programming. Notes. Lecture-1. August 29, Notes

Part I 5. Part II 2. Part III 8. Part IV 10. Part V 5 TOTAL 30

Math 54 First Midterm Exam, Prof. Srivastava September 23, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

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

PHYSICS 206, Spring 2019

Math , Fall 2014 TuTh 12:30pm - 1:45pm MTH 0303 Dr. M. Machedon. Office: Math Office Hour: Tuesdays and

UC Berkeley, CS 174: Combinatorics and Discrete Probability (Fall 2008) Midterm 1. October 7, 2008

University of New Mexico Department of Computer Science. Midterm Examination. CS 361 Data Structures and Algorithms Spring, 2003

HKUST. MATH1013 Calculus IB. Directions:

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

Module 04 Optimization Problems KKT Conditions & Solvers

Lec3p1, ORF363/COS323

Econ 1123: Section 2. Review. Binary Regressors. Bivariate. Regression. Omitted Variable Bias

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

A Working Knowledge of Computational Complexity for an Optimizer

Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5

Math 200D - Linear Algebra Fall Term 2017 Course Description

ORF 523 Lecture 9 Spring 2016, Princeton University Instructor: A.A. Ahmadi Scribe: G. Hall Thursday, March 10, 2016

Spring /11/2009

Chemistry Physical Chemistry I Fall 2017

DSOS/SDOS Programming: New Tools for Optimization over Nonnegative Polynomials

CS 6820 Fall 2014 Lectures, October 3-20, 2014

MAT01A1: Functions and Mathematical Models

MTH 163, Sections 40 & 41 Precalculus I FALL 2015

Take-Home Exam 1: pick up on Thursday, June 8, return Monday,

C if U can. Algebra. Name

Math 70 and 95 Master Syllabus Beginning and Intermediate Algebra, 5th ed., Miller, O Neill, Hyde with ALEKS.

Lec7p1, ORF363/COS323

December 2014 MATH 340 Name Page 2 of 10 pages

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

Machine Learning, Fall 2009: Midterm

Data Structure and Algorithm Homework #1 Due: 2:20pm, Tuesday, March 12, 2013 TA === Homework submission instructions ===

CDS Final Exam

GOOD LUCK! 2. a b c d e 12. a b c d e. 3. a b c d e 13. a b c d e. 4. a b c d e 14. a b c d e. 5. a b c d e 15. a b c d e. 6. a b c d e 16.

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

Optimization Methods in Management Science

June If you want, you may scan your assignment and convert it to a.pdf file and it to me.

Math 060/070 PAL: Elementary and Intermediate Algebra Spring 2016

Problem Point Value Points

CS483 Design and Analysis of Algorithms

COS 341: Discrete Mathematics

6.079/6.975 S. Boyd & P. Parrilo October 29 30, Midterm exam

Modesto Junior College Course Outline of Record MATH 122

Test 3 - Answer Key Version B

CS 170 Algorithms Fall 2014 David Wagner MT2

Honors Advanced Algebra Unit 3: Polynomial Functions October 28, 2016 Task 10: Factors, Zeros, and Roots: Oh My!

Secondary Math 3 Honors - Polynomial and Polynomial Functions Test Review

Test 3 Version A. On my honor, I have neither given nor received inappropriate or unauthorized information at any time before or during this test.

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 8: Basic Lyapunov Stability Theory

Linear Algebra. Instructor: Justin Ryan

MATH 445/545 Test 1 Spring 2016

Math 410 Linear Algebra Summer Session American River College

JEFFERSON COLLEGE COURSE SYLLABUS MTH 110 INTRODUCTORY ALGEBRA. 3 Credit Hours. Prepared by: Skyler Ross & Connie Kuchar September 2014

Convex Optimization. (EE227A: UC Berkeley) Lecture 28. Suvrit Sra. (Algebra + Optimization) 02 May, 2013

Algebraic Simplex Active Learning Module 4

Transcription:

Name: Princeton University ORF 523 Final Exam, Spring 2016 Thursday, May 5, 9am, to Tuesday, May 10, 11am Instructor: A.A. Ahmadi AI: G. Hall 1. Please write out and sign the following pledge on top of the first page of your exam: I pledge my honor that I have not violated the Honor Code or the rules specified by the instructor during this assignment. 2. Don t forget to write your name. Make a copy of your solutions and keep it. 3. The assignment is not to be discussed with anyone except possibly the professor and the TA. You can only ask clarification questions as public questions on Piazza. 4. You are allowed to consult the lecture notes, your own notes, the recommended textbooks of the course, the problem sets and their solutions (yours and ours), the midterm exams and their solutions (yours and ours), but nothing else. You can only use the Internet in case you run into problems related to MATLAB, CVX or YALMIP. (There should be no need for that either hopefully.) 5. For all problems involving MATLAB, CVX, or YALMIP, show your code. The MATLAB output that you present should come from your code. 6. The assignment is to be turned in before Tuesday, May 10, at 11 AM in the box for ORF 523 in Sherrerd 123. Please time stamp your exam (just write the time of drop off and sign it). If you are away, you can email a single PDF file to the instructor and the AI. 7. Good luck!

Grading Problem 1 20 pts Problem 2 20 pts Problem 3 20 pts Problem 4 20 pts Problem 5 20 pts TOTAL 100 1

Problem 1: To cheat or not to cheat? A professor gives out a 5-day take-home final exam to the students in his graduate course. 1 Though they have signed an honor pledge not to cheat, some students (unlike the ones at Princeton) are tempted to search on Google for answers to the exam questions. To discourage them from doing this, the professor has collected a set of aggregate data points (x i, y i ) from students of past years, where x i is the fraction of time spent on Google throughout the exam and y i is the average grade (out of 100) received as a result. These data points are as follows: {(0, 85), (0.15, 50), (0.30, 43), (0.45, 42), (0.6, 39), (0.75, 35), (0.9, 25)}. The statistician colleagues of this professor have performed some model selection hackery and learned that the relationship between x and y is best described by a degree-3 polynomial p(x) = c 0 + c 1 x + c 2 x 2 + c 3 x 3. They have also argued, very convincingly, that the exam grade is a nonincreasing function of the fraction of time spent on the Internet. 1. Fit a cubic polynomial to the data such that least squares error, i.e., 7 (p(x i ) y i ) 2 (1) i=1 is minimized. Report the optimal value as well as the optimal polynomial and plot both the data points and your polynomial on the same graph. Notice that the data that was given to you is nonincreasing. Is the optimal function you found nonincreasing? 2. Show that a quadratic univariate polynomial p is nonnegative on an interval [a, b], a < b, if and only if p(x) = s(x) + λ(x a) (b x) for some λ 0 and some sum of squares polynomial s(x) of degree 2. 3. Solve a new optimization problem with objective (1) but with the additional constraint that your polynomial should be nonincreasing over [0, 1]. Report the optimal value as well as the optimal polynomial and plot both the data points and your polynomial on the same graph. 2 1 All characters appearing in this question are fictitious. Any resemblance to real persons, living or dead, is purely coincidental. 2 We wonder what reverse engineering we ll be able to do with your polynomial? ;) 2

Problem 2: Complexity of SDP feasibility Consider the following decision problem: Given A i S n n, b i R, i = 1,..., m, all with rational entries, decide if there exists a matrix X S n n such that Tr(A i X) = b i, X 0. Determining the complexity of this question is one of the main outstanding open problem in semidefinite programming. At the moment, the problem is not even known to be in NP. 3 1. One may be tempted to conclude that the problem is in NP because if the SDP is feasible, then we can just write down a solution and check its validity (testing positive semidefiniteness of a given n n matrix can be done in O(n 3 )). Produce a family of SDP feasibility problems where any feasible solution takes an exponential number of bits to write down with respect to the input size. (You don t need to put your SDP family in the standard form given above.) 2. Produce a family of SOCP feasibility problems where any feasible solution takes an exponential number of bits to write down with respect to the input size. Hint: See if you can make your SDP problems involve only 2 2 matrices. 3. Here is another shockingly simple problem whose complexity is unknown: Given positive integers a 1,..., a r, k, decide if a1 + + a r k. Show that if SDP feasibility is in NP (resp. P), then this problem is in NP (resp. P). Problem 3: Convex optimization on Princeton s campus In the file princetoncampus.png, you can see a bird s eye view of campus with the 6 undergraduate residential colleges, and Dillon gym, marked by crosses. Open this image in Matlab using the following code once you have added the image to your Matlab path: 1 c o l l e g e s = imread ( princetoncampus. png ) ; 2 imshow ( c o l l e g e s, I n i t i a l M a g n i f i c a t i o n,50) 3 hold on 3 Contrast this with testing LP feasibility, which is in P, and with the fact that we can solve SDPs to arbitrary accuracy in polynomial time. 3

We have placed a grid (a coordinate system) on the image with (0, 0) in the lower left corner. On this grid, the colleges have the following coordinates: z1 = (11, 10) for Forbes z2 = (22, 15) for Whitman z3 = (30, 20) for the regroupment Butler-Wilson z4 = (10, 34) for the regroupment Rockfeller-Mathey Dillon gym has coordinates z5 = (18.5, 21.5). The Matlab file Circledraw.m attached will enable you to plot a circle on this map of campus by using the command Circledraw(x,y,r, color ) where (x, y) are the coordinates of the center of the circle in this new coordinate system, r is its radius, and color its color. The goal in this problem is to find the optimal location of a new gym that minimizes the sum of the squares of distances to the colleges under the following constraints: Case 1: The distance from the new gym to a fire hose located at (30, 30) must be no more than 8. 4

Case 2: The distance from the new gym to Dillon gym must be no less than 8. Case 3: The new gym must simultaneously be at a distance no greater than 8 from the fire hose but no less than 8 from Dillon gym. In each case, answer the following questions: 1. Is the original problem formulation convex? 2. Report the optimal location using CVX. Plot the optimal solution and the boundary of the feasible set on the map. Hint: When appropriate, try and apply an SDP formulaion or an SDP relaxation. Problem 4: Nonnegativity on the simplex Consider the following parametric quadratic function in 4 variables f c (x) := x T Q c x + b T x + r, where x = (x 1, x 2, x 3, x 4 ) T, 9 3/2 3 2 3/2 8 5/2 c 1/2 ( T Q c = 3 5/2 1 9, b = 1 4 5 1), r = 2. 2 c 1/2 9 4 Find the smallest value of c (up to 2 digits after the decimal point) for which f c (x) 0 for any x on the simplex (i.e., the set {x R 4 4 i=1 x i = 1, x i 0, i = 1,..., 4}). Problem 5: Unconstrained minimization of a polynomial Consider the unconstrained optimization problem where p is a polynomial function. min. p(x), (2) x Rn 1. Show that if p has degree 4, testing if problem (2) is unbounded below is NP-hard. 2. Suppose the optimal value p of (2) is finite. Is the optimal value always achieved? (In other words, does there exist x R n such that p(x ) = p?) Why or why not? 3. In class, we showed that if a (not necessarily polynomial) objective function is radially unbounded (i.e., if p(x) + when x + ), then its unconstrained minimum is achieved. unbounded is NP-hard. Show that testing if a multivariate polynomial of degree 4 is radially 5