slide8_handout-1 - MS&E 211 Problem Session(Week 8 Allie...

Info icon This preview shows pages 1–19. Sign up to view the full content.

View Full Document Right Arrow Icon
MS&E 211 Problem Session (Week 8) Allie Leeper Department of Management Science and Engineering Stanford University November 15, 2013 1 / 45
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Announcements HW 5 due Thursday 11/21 Plan ahead: HW 6 will be assigned right before Thanksgiving break, due Thursday, Dec. 5 I will cover HW 6 during problem session next week And also I will bring snacks Extra credit auctions ongoing Final Wednesday, Dec. 11, 12:15-3:15pm in NVIDIA Auditorium Let us know if you have a conflict or require an exam accomodation 2 / 45
Image of page 2
Agenda Nonlinear Duality and the Lagrange Function Bisection Method Golden Section Search Steepest Gradient Descent Newton’s Method for Unconstrained Problems Homework Hints 3 / 45
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Nonlinear Duality and the Lagrange Function Consider a generalized optimization problem: minimize f ( x ) subject to c i ( x ) 0 i = 1 , ..., m d i ( x ) = 0 i = 1 , ..., p The Lagrange Function is: L ( x , λ , y ) = f ( x ) m i =1 λ i c i ( x ) p i =1 y i d i ( x ) Further define φ ( λ , y ) = inf x L ( x , λ , y ) 4 / 45
Image of page 4
Nonlinear Duality and the Lagrange Function Then the dual of the general optimization problem is: maximize φ ( λ , y ) subject to λ 0 The necessary conditions for optimality of the general primal and dual are just the KKT conditions. Recall that if the primal problem is additionally a convex optimization problem, then the KKT conditions are also su cient for optimality. 5 / 45
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Nonlinear Dual Example Find the dual of: minimize x 1 + 2 x 2 s.t. x 2 1 + x 2 2 1 6 / 45
Image of page 6
Nonlinear Dual Example This gives us: L ( x , λ ) = x 1 + 2 x 2 ( x 2 1 + x 2 2 1) To find the infimum, solve x L = 0 for x 1 and x 2 x L = 1 2 x 1 λ 2 2 x 2 λ = 0 This yields x 1 = 1 / (2 λ ) and x 2 = 1 / λ . Plug these into L to get φ φ ( λ ) = λ + 5 / (4 λ ) 7 / 45
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Nonlinear Dual Example So we get that the dual of: minimize x 1 + 2 x 2 s.t. x 2 1 + x 2 2 1 is: maximize λ + 5 / (4 λ ) s.t. λ 0 8 / 45
Image of page 8
Bisection Method We want to find the minimum of a continuously di ff erentiable function f : R R given that the minimizer x falls in some interval [ a , b ] such that f ( a ) f ( b ) < 0 Looking for point where f ( x ) = 0 Search by repeatedly bisecting the search interval At each step, check midpoint and keep half of interval which contains x End when either: we find an x such that f ( x ) = 0, or the length of the search interval | x x | < 9 / 45
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Bisection Method Given: f ( x ) Interval [ a , b ] containing the minimum Tolerance > 0 Algorithm: 1. Let x l = a and x r = b 2. Let x m = x l + x r 2 3. Repeat: 3.1 If f ( x m ) = 0 or | x l x r | < return x = x m 3.2 Otherwise, if f ( x l ) f ( x m ) > 0 set x l = x m ; else set x r = x m 3.3 Set x m = x l + x r 2 10 / 45
Image of page 10
Bisection Method Example f ( x ) = 4 x 2 + 6 x 7 a = 10 , b = 10 = . 001 11 / 45
Image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Bisection Method Example 12 / 45
Image of page 12
Bisection Method Example 13 / 45
Image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Bisection Method Example 14 / 45
Image of page 14
Bisection Method Example 15 / 45
Image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Bisection Method Example 16 / 45
Image of page 16
Bisection Method Example 17 / 45
Image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Bisection Method Example 18 / 45
Image of page 18
Image of page 19
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern