CS B553: A LGORITHMS FOR O PTIMIZATION AND L EARNING Linear programming, quadratic programming, sequential quadratic programming.

Slides:



Advertisements
Similar presentations
Nonlinear Programming McCarl and Spreen Chapter 12.
Advertisements

Linear Programming Simplex Method
Engineering Optimization
Dragan Jovicic Harvinder Singh
Theory of Computing Lecture 14 MAS 714 Hartmut Klauck.
Optimization. f(x) = 0 g i (x) = 0 h i (x)
Page 1 Page 1 ENGINEERING OPTIMIZATION Methods and Applications A. Ravindran, K. M. Ragsdell, G. V. Reklaitis Book Review.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
How should we define corner points? Under any reasonable definition, point x should be considered a corner point x What is a corner point?
Lecture 8 – Nonlinear Programming Models Topics General formulations Local vs. global solutions Solution characteristics Convexity and convex programming.
Linear Programming Fundamentals Convexity Definition: Line segment joining any 2 pts lies inside shape convex NOT convex.
Easy Optimization Problems, Relaxation, Local Processing for a small subset of variables.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Optimality conditions for constrained local optima, Lagrange multipliers and their use for sensitivity of optimal solutions Today’s lecture is on optimality.
Separating Hyperplanes
Inexact SQP Methods for Equality Constrained Optimization Frank Edward Curtis Department of IE/MS, Northwestern University with Richard Byrd and Jorge.
A Randomized Polynomial-Time Simplex Algorithm for Linear Programming Daniel A. Spielman, Yale Joint work with Jonathan Kelner, M.I.T.
Support Vector Machines
Optimization in Engineering Design 1 Lagrange Multipliers.
CSCI 3160 Design and Analysis of Algorithms Tutorial 6 Fei Chen.
Design and Analysis of Algorithms
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
Support Vector Machines Formulation  Solve the quadratic program for some : min s. t.,, denotes where or membership.  Different error functions and measures.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
Exploiting Duality (Particularly the dual of SVM) M. Pawan Kumar VISUAL GEOMETRY GROUP.
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
Optimality Conditions for Nonlinear Optimization Ashish Goel Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
296.3Page :Algorithms in the Real World Linear and Integer Programming I – Introduction – Geometric Interpretation – Simplex Method – Dual Formulation.
C&O 355 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
1 Chapter 8 Nonlinear Programming with Constraints.
ENCI 303 Lecture PS-19 Optimization 2
Optimization of Process Flowsheets S,S&L Chapter 24 T&S Chapter 12 Terry A. Ring CHEN 5253.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Pareto Linear Programming The Problem: P-opt Cx s.t Ax ≤ b x ≥ 0 where C is a kxn matrix so that Cx = (c (1) x, c (2) x,..., c (k) x) where c.
Theory of Computing Lecture 13 MAS 714 Hartmut Klauck.
1 Unconstrained Optimization Objective: Find minimum of F(X) where X is a vector of design variables We may know lower and upper bounds for optimum No.
Survey of gradient based constrained optimization algorithms Select algorithms based on their popularity. Additional details and additional algorithms.
1 Kernel based data fusion Discussion of a Paper by G. Lanckriet.
Nonlinear Programming Models
Multivariate Unconstrained Optimisation First we consider algorithms for functions for which derivatives are not available. Could try to extend direct.
15-853Page :Algorithms in the Real World Linear and Integer Programming I – Introduction – Geometric Interpretation – Simplex Method.
The Simplex Algorithm 虞台文 大同大學資工所 智慧型多媒體研究室. Content Basic Feasible Solutions The Geometry of Linear Programs Moving From Bfs to Bfs Organization of a.
§1.4 Algorithms and complexity For a given (optimization) problem, Questions: 1)how hard is the problem. 2)does there exist an efficient solution algorithm?
L8 Optimal Design concepts pt D
Part 4 Nonlinear Programming 4.1 Introduction. Standard Form.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
Inexact SQP methods for equality constrained optimization Frank Edward Curtis Department of IE/MS, Northwestern University with Richard Byrd and Jorge.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
CS B553: A LGORITHMS FOR O PTIMIZATION AND L EARNING Constrained optimization.
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
Ch. Eick: Num. Optimization with GAs Numerical Optimization General Framework: objective function f(x 1,...,x n ) to be minimized or maximized constraints:
1 Introduction Optimization: Produce best quality of life with the available resources Engineering design optimization: Find the best system that satisfies.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
Linear Programming Chap 2. The Geometry of LP  In the text, polyhedron is defined as P = { x  R n : Ax  b }. So some of our earlier results should.
OR II GSLM
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Discrete Optimization
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
Computational Optimization
10CS661 OPERATION RESEARCH Engineered for Tomorrow.
Lecture 8 – Nonlinear Programming Models
Linear Programming.
CS5321 Numerical Optimization
CS5321 Numerical Optimization
EE 458 Introduction to Optimization
CS5321 Numerical Optimization
15-853:Algorithms in the Real World
Linear Constrained Optimization
Presentation transcript:

CS B553: A LGORITHMS FOR O PTIMIZATION AND L EARNING Linear programming, quadratic programming, sequential quadratic programming

K EY IDEAS Linear programming Simplex method Mixed-integer linear programming Quadratic programming Applications

R ADIOSURGERY 3 CyberKnife (Accuray)

Tumor Normal tissue Radiologically sensitive tissue

Tumor

O PTIMIZATION F ORMULATION

L INEAR P ROGRAM General form min f T x+g s.t. A x  b C x = d A convex polytope A slice through the polytope

T HREE CASES InfeasibleFeasible, bounded ? f x*x* f Feasible, unbounded f x*x*

S IMPLEX A LGORITHM (D ANTZIG ) Start from a vertex of the feasible polytope “Walk” along polytope edges while decreasing objective on each step Stop when the edge is unbounded or no improvement can be made Implementation details: How to pick an edge (exiting and entering) Solving for vertices in large systems Degeneracy: no progress made due to objective vector being perpendicular to edges

C OMPUTATIONAL C OMPLEXITY Worst case exponential Average case polynomial (perturbed analysis) In practice, usually tractable Commercial software (e.g., CPLEX) can handle millions of variables/constraints!

S OFT C ONSTRAINTS Dose Penalty Normal Sensitive Tumor

S OFT C ONSTRAINTS Dose Auxiliary variable z ijk : penalty at each cell z ijk z ijk  c(D ijk – D normal ) z ijk  0 D ijk

S OFT C ONSTRAINTS Dose Auxiliary variable z ijk : penalty at each cell z ijk z ijk  c(D ijk – D normal ) z ijk  0 f ijk Introduce term in objective to minimize z ijk

M INIMIZING AN A BSOLUTE V ALUE Absolute value min x |x 1 | s.t. Ax  b Cx = d x1x1 Objective min v,x v s.t. Ax  b Cx = d x 1  v -x 1  v x1x1 Constraints

M INIMIZING AN L-1 OR L- INF NORM L 1 norm L  norm min x ||Fx-g|| 1 s.t. Ax  b Cx = d min x ||Fx-g||  s.t. Ax  b Cx = d Feasible polytope, projected thru F g Fx * Feasible polytope, projected thru F g Fx *

M INIMIZING AN L-1 OR L- INF NORM L 1 norm min x ||Fx-g|| 1 s.t. Ax  b Cx = d Feasible polytope, projected thru F g Fx * min e,x 1 T e s.t. Fx + Ie  g Fx - Ie  g Ax  b Cx = d e

M INIMIZING AN L-2 NORM L 2 norm min x ||Fx-g|| 2 s.t. Ax  b Cx = d Feasible polytope, projected thru F Fx * g Not a linear program!

Q UADRATIC P ROGRAMMING General form min ½ x T Hx + g T x + h s.t. A x  b C x = d Objective: quadratic form Constraints: linear

Q UADRATIC PROGRAMS Feasible polytope H positive definite H -1 g

Q UADRATIC PROGRAMS Optimum can lie off of a vertex! H positive definite H -1 g

Q UADRATIC PROGRAMS Feasible polytope H negative definite

Q UADRATIC PROGRAMS Feasible polytope H positive semidefinite

S IMPLEX A LGORITHM F OR QP S Start from a vertex of the feasible polytope “Walk” along polytope facets while decreasing objective on each step Stop when the facet is unbounded or no improvement can be made Facet : defined by m  n constraints m=n: vertex m=n-1: line m=1: hyperplane m=0: entire space

A CTIVE S ET M ETHOD If x violates a different constraint not in S, add it If  k <0, then drop i k from S

P ROPERTIES OF ACTIVE SET METHODS FOR QP S Inherits properties of simplex algorithm Worst case: exponential number of facets Positive definite H: polynomial time in typical case Indefinite or negative definite H: can be exponential time! NP complete problems

A PPLYING QP S TO N ONLINEAR P ROGRAMS Recall: we could convert an equality constrained optimization to an unconstrained one, and use Newton’s method Each Newton step: Fits a quadratic form to the objective Fits hyperplanes to each equality Solves for a search direction (  x,  ) using the linear equality-constrained optimization How about inequalities?

S EQUENTIAL Q UADRATIC P ROGRAMMING Idea: fit half-space constraints to each inequality g(x)  0 becomes g(x t ) +  g(x t ) T (x-x t )  0 g(x)  0 xtxt g(x t ) +  g(x t ) T (x-x t )  0

S EQUENTIAL Q UADRATIC P ROGRAMMING Given nonlinear minimization min x f(x) s.t. g i (x)  0, for i=1,…,m h j (x) = 0, for j=1,…,p At each step x t, solve QP min  x ½  x T  x 2 L(x t, t,  t )  x +  x L(x t, t,  t ) T  x s.t. g i (x t ) +  g i (x t ) T  x  0for i=1,…,m h j (x t ) +  h j (x t ) T  x = 0for j=1,…,p To derive the search direction  x Directions  and  are taken from QP multipliers

I LLUSTRATION g(x)  0 xtxt g(x t ) +  g(x t ) T (x-x t )  0 xx

I LLUSTRATION g(x)  0 x t+1 g(x t+1 ) +  g(x t+1 ) T (x-x t+1 )  0 xx

I LLUSTRATION g(x)  0 x t+2 g(x t+2 ) +  g(x t+2 ) T (x-x t+2 )  0 xx

SQP P ROPERTIES Equivalent to Newton’s method without constraints Equivalent to Lagrange root finding with only equality constraints Subtle implementation details: Does the endpoint need to be strictly feasible, or just up to a tolerance? How to perform a line search in the presence of inequalities? Implementation available in Matlab. FORTRAN packages too =(