69
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems.

MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Embed Size (px)

Citation preview

Page 1: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

MATH 685/ CSI 700/ OR 682 Lecture Notes

Lecture 9.

Optimization problems.

Page 2: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Optimization

Page 3: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Optimization problems

Page 4: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Examples

Page 5: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Global vs. local optimization

Page 6: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Global optimization Finding, or even verifying, global minimum is difficult, in general

Most optimization methods are designed to find local minimum, which may or may not be global minimum

If global minimum is desired, one can try several widely separated starting points and see if all produce same result

For some problems, such as linear programming, global optimization is more tractable

Page 7: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Existence of Minimum

Page 8: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Level sets

Page 9: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Uniqueness of minimum

Page 10: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

First-order optimality condition

Page 11: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Second-order optimality condition

Page 12: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Constrained optimality

Page 13: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Constrained optimality

Page 14: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Constrained optimality

Page 15: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Constrained optimality

If inequalities are present, then KKT optimality conditions also require nonnegativity of Lagrange multipliers corresponding to inequalities, and complementarity condition

Page 16: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Sensitivity and conditioning

Page 17: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Unimodality

Page 18: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Golden section search

Page 19: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Golden section search

Page 20: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Golden section search

Page 21: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example

Page 22: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example (cont.)

Page 23: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Successive parabolic interpolation

Page 24: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example

Page 25: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Newton’s method

Newton’s method for finding minimum normally has quadratic convergence rate, but must be started close enough to solution to converge

Page 26: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example

Page 27: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Safeguarded methods

Page 28: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Multidimensional optimization.Direct search methods

Page 29: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Steepest descent method

Page 30: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Steepest descent method

Page 31: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example

Page 32: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example (cont.)

Page 33: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Newton’s method

Page 34: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Newton’s method

Page 35: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example

Page 36: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Newton’s method

Page 37: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Newton’s method

Page 38: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Trust region methods

Page 39: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Trust region methods

Page 40: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Quasi-Newton methods

Page 41: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Secant updating methods

Page 42: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

BFGS method

Page 43: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

BFGS method

Page 44: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

BFGS method

Page 45: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example

For quadratic objective function, BFGS with exact line search finds exact solution in at most n iterations, where n is dimension of problem

Page 46: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Conjugate gradient method

Page 47: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

CG method

Page 48: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

CG method example

Page 49: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example (cont.)

Page 50: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Truncated Newton methods Another way to reduce work in Newton-like methods is to

solve linear system for Newton step by iterative method

Small number of iterations may suffice to produce step as useful as true Newton step, especially far from overall solution, where true Newton step may be unreliable anyway

Good choice for linear iterative solver is CG method, which gives step intermediate between steepest descent and Newton-like step

Since only matrix-vector products are required, explicit formation of Hessian matrix can be avoided by using finite difference of gradient along given vector

Page 51: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Nonlinear Least squares

Page 52: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Nonlinear least squares

Page 53: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Gauss-Newton method

Page 54: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example

Page 55: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example (cont.)

Page 56: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Gauss-Newton method

Page 57: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Levenberg-Marquardt method

With suitable strategy for choosing μk, this method can be very robust in practice, and it forms basis for several effective software packages

Page 58: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Equality-constrained optimization

Page 59: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Sequential quadratic programming

Page 60: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Merit function

Page 61: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Inequality-constrained optimization

Page 62: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Penalty methods

This enables use of unconstrained optimization methods, but problem becomes ill-conditioned for large ρ, so we solve sequence of problems with gradually increasing values of , with minimum for each problem used as starting point for next problem

Page 63: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Barrier methods

Page 64: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example: constrained optimization

Page 65: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example (cont.)

Page 66: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example (cont.)

Page 67: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Linear progamming

Page 68: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Linear programming

Page 69: MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 9. Optimization problems

Example:linear programming