Continuous Optimization - 466/666 - Winter 2001

This course provides a rigorous up-to-date treatment of topics in Continuous Optimization (Nonlinear Programming). This includes a hands-on approach with exposure to existing software packages.


Contents




Conduct of Course

  • Instructor:
  • Office Hours:
  • Lectures:
  • Text:
  • Additional References:
    1. Nonlinear Programming, by Dimitri P. Bertsekas, 1999, Athena Scientific.
    2. Practical Optimization, P.E. Gill, W. Murray, M.H. Wright.
    3. Numerical Methods for Unconstrained Optimization and Nonlinear Equations, J.E. Dennis and R.B. Schnabel
    4. Nonlinear Programming: theory and algorithms, M.S. Bazaraa, C.M. Shetty, Sherali
    5. Linear and Nonlinear Programming, D.G. Luenberger, Second Edition
    6. Nonlinear Programming, Peressini, Sullivan, Uhl
    7. Practical Methods of Optimization, R. Fletcher
    8. Mathematical Programming Methods, G, Zoutendijk
    9. Nonlinear Programming, G.P. McCormick
    10. Mathematical programming : theory and algorithms, M. Minoux (QA402.5.M5613)
    11. Optimization by Vector Space Methods, D.G. Luenberger
    12. Convex Analysis, R.T. Rockafellar
    13. Theory of Extremal Problems, A.D. Ioffe and V.M. Tihomirov

  • Course Home Page, C&O 466/666, http://orion.uwaterloo.ca/~hwolkowi/henry/teaching/w01/666.w01/readme.html
  • Term Work:
  • Final Exam:
  • Marking Scheme:

    COURSE TOPICS OUTLINE - C &O 466/666

    We will choose topics from the text. The complete list is included for now.


    Background Material Chapter Fifteen Chapter Fourteen Chapter Thirteen Chapter Twelve Chapter Eleven Chapter Ten Chapter Nine Chapter Eight Chapter Seven Chapter Six Chapter Five Chapter Four Chapter Three Chapter Two Chapter Eighteen Chapter Seventeen Chapter Sixteen Chapter One




    HOMEWORK LIST- C &O 466/666

    1. Homework #1 (Unconstrained Optimization)
      Due: Tuesday January 16, 2001 (at start of class)
      Reading
      Problems
      • Go to the NEOS Solvers web page. Use the unconstrained optimization package CGplus to solve the extended Rosenbrock function (see e.g. page 248 in the text or the sample submission for CGplus) with n=26 variables and method=2 (Polak-Ribiere).
        Then solve the problem using the unconstrained optimization package NMTR.
        Hand in (or email in) a copy of the outputs you get by email. In each case, point out the solution and the optimal value.
      • Pages 30-31, Problems 2.1, 2.7, 2.9, 2.10.
    2. Homework #2 (Unconstrained Optimization)
      Due: Tuesday January 23, 2001 (at start of class)
      Reading Problems
      1. MATLAB
        1. Matlab appears to be on all the Solaris systems in the undergrad and grad environments, e.g. hermite and magnus. Enter the command matlab to start up the matlab session. Then enter
          help optim
          You will see a list of the optimization functions that are available with the optimization toolkit.
        2. Now try the command
          optdemo
          This will bring up a menu. You can try the four choices. The first choice is a tutorial. This demonstrates several of the optimization functions.
        3. The second choice in the optdemo is the minimization of the banana function or Rosenbrock's function. This is a classical example of a function with a narrow valley that exhibits ``very'' slow convergence for steepest descent type methods. Try out several methods to minimize this function.
          1. Submit a contour plot of the banana function for variable values between $-4,+4.$
          2. How many function evaluations did the minimization take for: steepest descent; simplex search; Broyden-Fletcher-Golfarb-Shanno; Davidon-Fletcher-Powell; Levenberg-Marquardt? (Please specify the line search you used.)
        Note: You can modify the matlab programs. You can see what the matlab routines are doing by looking at the matlab m-files. To do this change directory using: cd /software; cd matlab; cd distribution; cd toolbox; cd optim. In particular, there is an m-file called bandemo.m.
      2. Pages 62-63, Problems 3.2, 3.3, 3.5 Comments on Solutions to Homework 2
      3. Homework #3 (BFGS and TRS)
        Due: Thursday February 1, 2001 (at start of class)
        Reading
        • Chapter 4 in the text (pages 64-97)
        Problems
        1. MATLAB
          Solve problem 3.9 on page 63 of the text. But do not program the BFGS algorithm yourself but rather use the matlab function for BFGS, i.e. you can find this by running optdemo and using the information, e.g. lines like
          [x,fval,exitflag,output] = fminunc({f,GRAD},x,OPTIONS);
          Output the values to verify that they indeed stay positive.

          Note: You can modify the matlab programs. You can see what the matlab routines are doing by looking at the matlab m-files. To do this change directory using: cd /software; cd matlab; cd distribution; cd toolbox; cd optim. In particular, there is an m-file called bandemo.m.

        2. Page 97, Problem 4.1
        3. Homework #4 (Conjugate Gradient Methods, Practical Newton Methods)
          Due: Tuesday February 13, 2001 (at start of class)
          Reading
          • Chapters 5,6 in the text (pages 100-162)
          Problems
          1. MATLAB
            Use the conjugate gradient algorithm in the matlab program cgtrust.m to find the minimum of the banana function from the initial points: (-2,-3), (0,0), (-1.9,2), (-1.9,20).
            Provide the number of major iterations and the final point to four decimals. Explain the behaviour.
            You will need the files dirdero.m and README. (You can use the default parameter values to start.)
          2. Page 133, Problem 5.2, 5.4 Comments on Solutions to Homework 4
          3. Homework #5 (NLLS, Nonlinear Equations, Nonlinear Programming)
            Due: Tuesday February 27, 2001 (at start of class)
            Reading
            • Chapters 10,11,12 in the text (pages 250-358)
            Problems
            1. MATLAB (try to use matlab 6)
              1. Test out the data fitting demo. This is one of the command line demos in the optimization toolkit. The example demonstrates fitting a nonlinear function to a set of data. Provide the plots of the data points; then provide the plots, number of iterations, function evaluations, and norm of the residual of the fit when using the Gauss-Newton method (with mixed polynomial interpolation) and, also when using sequential quadratic programming. Include the algebraic form of the nonlinear function that is used.
            2. Problems from text:
              1. Page 274, Problem 10.1.
              2. Page 311, Problem 11.7.
              3. Page 358, Problems 12.1,12.2,12.5.
          4. Homework #6 (Constrained Nonlinear Programming and Convex Analysis)
            Due: Thursday March 8, 2001 (at start of class)
            Reading Problems
            1. Constraint Qualifications
              1. Consider the general NLP with both equality and inequality constraints. Define the tangent cones and the linearizing cones at a feasible point x. Then show that the tangent cone is a subset of the linearizing cone.
              2. Consider the NLP:
                  miniminze f(x,y,z)= ex + e-y+z
                  subject to:
                    g1(x,y,z)= ex -1 <= 0
                    g2(x,y,z)= e-y -1 <= 0
                    g3(x,y,z)= (x -1)2 + y2 -1 <= 0
                    g4(x,y,z)= x2+y2+e-z -1 <= 0
                  1. Verify that the NLP is a convex program.
                  2. Use the KKT conditions to test for optimality at the origin (0,0,0)T.
                  3. Use the Pshenichnyi conditions to test for optimality at (0,0,0)T.
                  4. Is there a contradiction between the two tests for optimality? Find the linearizing cone at (0,0,0)T. Then find a direction in the linearizing cone that is not a tangent direction and use this to explain the discrepency.
            2. MATLAB (try to use matlab 6)
              1. Use the constrained optimization function fmincon in the optimization toolbox to solve the above convex program (problem 1.2 above). Can you get high accuracy in the solution?
            3. Problems from text:
              1. Page 359, Problem 12.10
              2. Page 360, Problem 12.17
            4. Homework #7 (Constrained Nonlinear Programming, Convex Analysis, and Linear Programming)
              Due: Thursday March 22, 2001 (at start of class)
              Reading
              • Chapters 13,14 in the text (pages 363-419)
              Problems
              1. Duality
                1. Consider the Trust Region Subproblem, TRS:
                    p*:= minimize q(x)=xTAx-2bTx subject to xTx <= a
                  Show that:
                  1. The KKT conditions, with the added restriction that the Lagrangian function (at the optimal dual variable y) is convex, characterizes optimality. (How does this differ from the usual second order optimality conditions?)
                  2. Show that a dual problem is:
                      d*:= maximize g(y):=y a - bT(A-y I)-1b
                      ---subject to (A- y I) positive definite, y <= 0
                2. Problems from text and MATLAB:
                    1. First, try and extend the duality theory for the TRS above to include general constraints of the type: q(x) <= 0 or q(x) = 0, where q is a general quadratic function on Rn.
                    2. Then, use the above duality theory and apply it to solving the problems on Page 360, Problems 12.18,12.20,12.21.
                    3. Solve the above three problems using the MATLAB: (i) Levenberg-Marguardt algorithm lsqnonlin; (ii) the trust region algorithm in the directory distribution/toolbox/optim/private (file trust.m); and (iii) the trust region method in fmincon.
                  1. Page 393, Problems 13.2,13.3
                3. Homework #8 (Penalty and Barrier Methods; Sequential Quadratic Programming)
                  The assignment is OPTIONAL. But, we will go over it in class on Thursday.
                  Similar questions may appear on the final exam.
                  Due: Thursday March 29, 2001 (at start of class)
                  Reading
                  • Chapters 17,18 in the text (pages 491-575)
                  Problems
                  1. Problems from text:
                    1. Page 526-527 Problems 17.1,17.2,17.3



                  Mail to: hwolkowicz@uwaterloo.ca
                  (C) Copyright Henry Wolkowicz, 2001.
                  , by Henry Wolkowicz