9 Pages

mpc

Course: CAAM 236, Spring 2007
School: Monmouth IL
Rating:
 
 
 
 
 

Word Count: 1157

Document Preview

(Fall EE236A 2007-08) Lecture 14 Primal-dual interior-point methods primal-dual path-following Mehrotras corrector step computing the search directions 141 Central path and complementary slackness s + Ax b = 0 AT z + c = 0 zisi = 1/t, z 0, i = 1, . . . , m s0 continuous deformation of optimality conditions denes central path: solution is x = x(t), s = b Ax(t), zi = 1/tsi m + n linear and m nonlinear...

Register Now

Unformatted Document Excerpt

Coursehero >> Illinois >> Monmouth IL >> CAAM 236

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
(Fall EE236A 2007-08) Lecture 14 Primal-dual interior-point methods primal-dual path-following Mehrotras corrector step computing the search directions 141 Central path and complementary slackness s + Ax b = 0 AT z + c = 0 zisi = 1/t, z 0, i = 1, . . . , m s0 continuous deformation of optimality conditions denes central path: solution is x = x(t), s = b Ax(t), zi = 1/tsi m + n linear and m nonlinear equations in the variables s Rm, x Rn, z Rm Primal-dual interior-point methods 142 Interpretation of barrier method apply Newtons method to s + Ax b = 0, AT z + c = 0, zi 1/(tsi) = 0, i = 1, . . . , m i.e., linearize around current x, z , s: 0 AT X A I (Ax + s b) z x = (AT z + c) 0 0 s 0 X 1/t 1/t Xz where X = diag(s) solution (for s + Ax b = 0, AT z + c = 0): determine x from AT X 2Ax = tc AT X 11 i.e., x is the Newton direction used in barrier method substitute to obtain s, z Primal-dual interior-point methods 143 Primal-dual path-following methods modications to the barrier method: dierent linearization of central path update both x and z after each Newton step allow infeasible iterates very aggressive step size selection (99% or 99.9% of step to the boundary) update t after each Newton step (hence distinction between outer & inner iteration disappears) linear or polynomial approximation to the central path limited theory, fewer convergence results work better in practice (faster and more reliable) Primal-dual interior-point methods 144 Primal-dual linearization apply Newtons method to s + Ax b = 0 AT z + c = 0 zisi 1/t = 0, i.e., linearize around s, 0A AT 0 X0 i = 1, . . . , m x, z : I (Ax + s b) z 0 x = (AT z + c) s Z 1/t Xz where X = diag(s), Z = diag(z ) iterates can be infeasible: b Ax = s, AT z + c = 0 we assume s > 0, z > 0 Primal-dual interior-point methods 145 computing x, z , s 1. compute x from AT X 1ZAx = AT z AT X 11/t rz AT X 1Zrx where rx = Ax + s b, rz = AT z + c 2. s = rx Ax 3. z = X 11/t z X 1Z s the most expensive step is step 1 Primal-dual interior-point methods 146 Ane scaling direction z a AI (Ax + s b) 0 0 xa = (AT z + c) 0Z Xz sa where X = diag(s), Z = diag(z ) 0 AT X limit of Newton direction for t Newton step for s + Ax b = 0 AT z + c = 0 zisi = 0, i = 1, . . . , m i.e., the primal-dual optimality conditions Primal-dual interior-point methods 147 Centering direction 0AI z cent 0 AT 0 0 xcent = 0 scent 1 X0Z where X = diag(s), Z = diag(z ) limit of Newton direction for t 0 search direction is weighted sum of centering direction and ane scaling direction x = (1/t)xcent + xa z = (1/t)z cent + z a s = (1/t)scent + sa in practice: compute ane scaling direction rst choose t compute centering direction and add to ane scaling direction Primal-dual interior-point methods 148 Heuristic for selecting t compute ane scaling direction compute primal and dual step lengths to the boundary along the ane scaling direction x = max{ [0, 1] | s + sa 0} z compute = max{ [0, 1] | z + z a 0} (s + xsa )T (z + z z a ) = sT z small means ane scaling directions are good search directions (signicant reduction in sT z ) use t = m/(sT z ) i.e., search direction will be the Newton direction towards the central point with duality gap sT z a heuristic, based on extensive experiments Primal-dual interior-point methods 149 3 Mehrotras corrector step 0 AT X 0 AI z cor 0 0 0 xcor = cor a a s 0Z X z higher-order correction to the ane scaling direction: a cor (si + sa + scor)(zi + zi + zi ) 0 i i computation can be combined with centering step, i.e., use x = xcc + xa , where 0 AT X 0 AI z cc 0 0 0 xcc = scc 0Z 1/t X a z a 1410 z = z cc + z a , s = scc + sa Primal-dual interior-point methods Step size selection determine step to the boundary x = max{ 0 | s + s 0} z = max{ 0 | z + z 0} update x, s, z x := x + min{1, 0.99x}x s := s + min{1, 0.99x}s z := z + min{1, 0.99z }z Primal-dual interior-point methods 1411 Algorithm choose starting points x, z, s with s > 0, z > 0 1. evaluate stopping criteria primal feasibility: Ax + s b 1(1 + b ) dual feasibility: AT z + c 2(1 + c ) maximum absolute error: cT x + bT z 3 maximum relative error: cT x + bT z 4|bT z | cT x + bT z 4|cT x| if bT z > 0 if cT x < 0 2. compute ane scaling direction (X = diag(s), Z = diag(z )) z a 0AI (Ax + s b) AT 0 0 xa = (AT z + c) X0Z Xz sa Primal-dual interior-point methods 1412 3. compute steps to the boundary x = max{ [0, 1] | s + sa 0} z = max{ [0, 1] | z + z a 0} 4. compute centering-corrector steps 0 AT X AI z cc 0 0 xcc = sT z scc 0Z 1 X a z a m 0 0 where X a = diag(sa ), and (s + xsa )T (z + z z a ) sT z 3 = Primal-dual interior-point methods 1413 5. compute search directions x = xa + xcc, s = sa + scc, z = z a + z cc 6. determine step sizes and update x = max{ 0 | s + s 0} z = max{ 0 | z + z 0} x := x + min{1, 0.99x}x s := s + min{1, 0.99x}s z go to step 1 := z + min{1, 0.99z }z Primal-dual interior-point methods 1414 Computing the search direction most expensive part of one iteration: solve two sets of equations AT X 1ZAxa = r1, for some r1, r2 two methods sparse Cholesky factorization: used in all general-purpose solvers conjugate gradients: used for extremely large LPs, or LPs with special structure AT X 1ZAxcc = r2 Primal-dual interior-point methods 1415 Cholesky factorization if B = B T Rnn is positive denite, then it can be written as B = LLT L lower triangular with lii > 0 L is called the Cholesky factor of B costs O(n3) if B is dense application: solve Bx = d with B = LLT solve Ly = d (forward substitution) solve LT x = y (backward substitution) Primal-dual interior-point methods 1416 Sparse Cholesky factorization solve Bx = d with B positive denite and sparse 1. reordering of rows and columns of B to increase sparsity of L 2. symbolic factorization: based on sparsity pattern of B , determine sparsity pattern of L 3. numerical factorization: determine L 4. forward and backward substitution: compute x only steps 3,4 depend on the numerical values of B ; only step 4 depends on the right hand side; most expensive steps: 2,3 in Mehrotras method with sparse LP: B = AT X 1ZA do steps 1,2 once, at the beginning of the algorithm (AT X 1ZA has same sparsity pattern as AT A) do step 3 once per iteration, step 4 twice Primal-dual interior-point methods 1417 Conjugate gradients solve Bx = d with B = B T Rnn positive denite iterative method requires n evaluations of Bx (in theory) faster if evaluation of Bx is cheap (e.g., B is sparse, Toeplitz, . . . ) much cheaper in memory than Cholesky factorization less accurate and robust (requires preconditioning) in Mehrotras method: B = AT X 1ZA evaluations Bx are cheap if evaluations Ax and AT y are cheap (e.g., A is sparse) Primal-dual interior-point methods 1418
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 15 Self-dual formulations initialization and infeasibility detection skew-symmetric LPs homogeneous self-dual formulation self-dual formulation151Solution of an LPgiven a pair of primal and dual LPs minimize cT x subject
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 16 Large-scale linear programming cutting-plane method Benders decomposition delayed column generation Dantzig-Wolfe decomposition161Cutting-plane methodminimize cT x subject to Ax b A Rmn, m n general idea: solve sequenc
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 17 Integer linear programming integer linear programming, 0-1 linear programming a few basic facts branch-and-bound171Denitioninteger linear program (ILP) minimize cT x subject to Ax b, x ZncGx = dmixed integer linear
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 1 Introduction and overview linear programming example from optimal control example from combinatorial optimization history course topics software11Linear program (LP)nminimizej =1 ncj xj aij xj bi,j =1 nsubject toi
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 2 Linear inequalities vectors inner products and norms linear equalities and hyperplanes linear inequalities and halfspaces polyhedra21Vectors(column) vector x Rn: x1 x x = .2 . xn xi R: ith component or element of x al
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 3 Geometry of linear programming subspaces and ane sets, independent vectors matrices, range and nullspace, rank, inverse polyhedron in inequality form extreme points the optimal set of a linear program31SubspacesS Rn (S
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 4 The linear programming problem variants of the linear programming problem LP feasibility problem examples and some general applications linear-fractional programming41Variants of the linear programming problemgeneral fo
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 5 Structural optimization minimum weight truss design truss topology design limit analysis design with minimum number of bars51Truss m bars with lengths li and cross-sectional areas xi N nodes; nodes 1, . . . , n are free
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 6 FIR lter design FIR lters linear phase lter design magnitude lter design equalizer design61FIR ltersnite impulse response (FIR) lter:n1y (t) = =0h u(t ),tZ u : Z R is input signal ; y : Z R is output signal hi R a
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 7 Applications in control optimal input design robust optimal input design pole placement (with low-authority control)71Linear dynamical systemy (t) = h0u(t) + h1u(t 1) + h2u(t 2) + single input/single output: input u(t)
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 8 Network optimization network ows minimum cost network ow problem extreme ows shortest path problem bipartite matching81Networksnetwork (directed graph): m nodes connected by n directed arcs arcs are ordered pairs (i, j
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 9 Duality (part 1) the dual of an LP in inequality form weak duality examples optimality conditions and complementary slackness Farkas lemma and theorems of alternatives proof of strong duality91The dual of an LP in inequa
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 10 Duality (part 2) duality in algorithms sensitivity analysis via duality duality for general LPs examples mechanics interpretation circuits interpretation two-person zero-sum games101Duality in algorithmsmany algorithms
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 11 The simplex method extreme points adjacent extreme points one iteration of the simplex method degeneracy initialization numerical implementation111Idea of the simplex methodmove from one extreme point to an adjacent ex
Monmouth IL - CAAM - 236
EE236A (Fall 2007-08)Lecture 12 The barrier method brief history of interior-point methods Newtons method for smooth unconstrained minimization logarithmic barrier function central points, the central path the barrier method121The ellipsoid method 19
Monmouth IL - MATH - MATH427
MT 3802 NUMERICAL ANALYSIS2008/2009Dr Clare E Parnell and Dr Stphane Rgnier e eOctober 1, 2008Chapter 0Handout0.1 NotationThroughout this course we will be using scalars, vectors and matrices. It is essential that you know what they are and can tel
Monmouth IL - MATH - MATH427
MT 3802 NUMERICAL ANALYSIS2008/2009Dr Clare E Parnell and Dr Stphane Rgnier e eOctober 15, 2008Contents0 Handout 0.1 0.2 0.3 Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . .
Monmouth IL - MATH - MATH427
Chapter 2Iterative Methods2.1 IntroductionIn this section, we will consider three different iterative methods for solving a sets of equations. First, we consider a series of examples to illustrate iterative methods. To construct an iterative method, we
Monmouth IL - MATH - MATH427
cep 2008/09MT3802 - Numerical AnalysisSOLUTIONS - Tutorial Sheet 1 1. Show that the following satisfy the requirements of a norm specified on a Vector Space: (i)bf =a|f (x)|dxwhere f (x) C[a, b] ; Proof that is satisfies Rule 1 (1.1) f = 0 &amp; conti
Monmouth IL - MATH - MATH427
cep 2008/09MT3802 - Numerical AnalysisSOLUTIONS - Tutorial Sheet 2 1. For a sub-ordinate matrix norm and an invertible matrix A, where Ax = b, show that (i) As AssNUsing Rule 5 (1.9) of sub-ordinate matrix norms we have As A As-1 A2As-2 As-1A As
Monmouth IL - MATH - MATH427
Monmouth IL - MATH - MATH427
Monmouth IL - MATH - MATH427
cep 2008/09MT3802 - Numerical AnalysisTutorial Sheet 1 1. Show that the following satisfy the requirements of a norm specified on a Vector Space: (i)bf =a|f (x)|dxwhere f (x) C[a, b] ;(ii) x = max |xi |1inwhere x Rn .2. An inner product is defi
Monmouth IL - MATH - MATH427
cep 2008/09MT3802 - Numerical AnalysisTutorial Sheet 2 1. For a sub-ordinate matrix norm and an invertible matrix A, where Ax = b, show that (i) (ii) As AssN1 x A-1 A b2. Assume that (A + A)-1 is computed as an approximation to A-1 . Show that (A +
Monmouth IL - MATH - MATH427
Monmouth IL - MATH - MATH427
Monmouth IL - MATH - MATH427
cep 2008/09MT3802 - Numerical AnalysisTutorial Sheet 5 1. Let p1 (x) be the linear interpolant of f (x) at the points (x0 , f (x0 ) and (x1 , f (x1 ), where x1 - x0 = h. Show that for x [x0 , x1 ] f (x) - p1 (x) where f (x) M h2 8 M.Suppose ex on [-
Monmouth IL - CS - CS 399
ScriptEase: A Pattern Based Approach to ScriptingCurtis Onuczko Thursday, January 19, 2006Overview What is ScriptEase? Why use ScriptEase? When to use ScriptEase? How to use ScriptEase Tips and TricksWhat is ScriptEase?Why use ScriptEase?A tool to
Monmouth IL - CS - CS 399
Overview Game Creation ProcessCMPUT 299 Winter 2006 Thursday January 12 ! Making a computer game is a lengthy process, involving many creative people! High-profile productions often take 2-3 years ! Challenging games can involve &gt; 100 people!! This lec
Monmouth IL - CS - CS 399
convexity (series) new modes: adding multiplayerGame DesignCMPUT 299Finnegan Southey XBox Live GamerTag: Aleafeatures qbilities, training, introducing abilities critical gaming save dev qa coverage/replay approachable doors &amp; keys consuming items s
Monmouth IL - CS - CS 399
Lecture Review Sheet: Game Design Finnegan Southey CMPUT 299 Winter 2006 Terms and Definitions MDA n A model for game design that views the user experience as a three part process: mechanics, dynamics, and aesthetics Funativity n A model for types of &quot;fun
Monmouth IL - CS - CS 399
Overview! AnnouncementsWhat have we learned thus far?CMPUT 299 Fall 2005 Tuesday, January 31! ! ! !Design Document next Thursday Meet with producer beforehand BioWare internships (CS only) Lab this week/lab exam! NWN Module Discussion ! Computation
Monmouth IL - CS - CS 399
Management is Fundamentals of Project ManagementCMPUT 299 H. James Hoover Winter 2005 2005-09-22 Version 1.21 CMPUT 299 - Winter 2005 Project Management People Process Problem Solving2People Identify skills - have and missing Identify personalities
Monmouth IL - CS - CS 399
OpeningNarrative:Concepts of Narrative in Interactive New Media Art FormsLecture Goals for the next two classes1. Introduce concepts of traditional narrative, most of which apply to later technologies. 2. Discuss the application of these concepts to n
Monmouth IL - CS - CS 399
Meetings, Bloody Meetings How To Run MeetingsCMPUT 299 H. James Hoover Fall 2005 2005-09-23,27 Version 1.0CMPUT 299 - Fall 2005 How to Run Meetings Written by John Cleese and Antony Jay Starring John Cleese and Robert Hardy Video Arts, 1993 34 minMee
Monmouth IL - CS - CS 399
The Sims 2 More Post-Mortems, SharewareCMPUT 299 Winter 2005 February 16CMPUT 299 - Fall 2005 Game PostmortemsThe Sims 2! What went right! ! ! ! ! Prototyping Understanding the audience Kleenex testing Custom content and community SWAT TeamsCMPUT 29
Monmouth IL - CS - CS 399
Lecture Overview Artificial Intelligence Part ICMPUT 299 Winter 2006 February 28, 2006 ! Lab Exam! Course Evals! Design Issue Presentations ! Artificial Intelligence! Definition! Related concepts! Algorithm ! Time/Memory Cost! Finite State Machines
Monmouth IL - CS - CS 399
Lecture Overview Artificial Intelligence Part IICMPUT 299 Winter 2006 March 2, 2006 ! ! ! ! ! Lab Exam Pizza! Summary (Tuesday) Pathfinding Finite State MachinesCMPUT 299 - Fall 2005 Artificial IntelligenceLab Exam ScoresA+ A B CPizza!! Get together
Monmouth IL - CS - CS 399
The Early Days Graphics and GenresCMPUT 299 ! The very earliest video games (pre-1975) were custom built machines. ! Designed/built by engineers (like a TV).Tennis for Two(Brookhaven Labs,1958)Finnegan Southey XBox Live GamerTag: AleaCMPUT 299 - Fall
Monmouth IL - CS - CS 399
Lecture Review Sheet: Artificial Intelligence Nathan Sturtevant CMPUT 299 Winter 2006 Terms and Definitions Intelligence is usually said to involve mental capabilities such as the ability to reason, plan, solve problems, think abstractly, comprehend ideas
Monmouth IL - CS - CS 399
Lecture Review Sheet: The culture of Gaming Sean Gouglas CMPUT 299 Winter 2006Main Ideas and Concepts A. Introduction Culture describes social actors, the webs of significance that allow for social actors to communicate and understand each other, and the
Canterbury Christ Church University - ENGR - 102
Rochester College - CS - CSC400
THE DIGITAL MILLENNIUM COPYRIGHT ACT OF 1998U.S. Copyright Office SummaryDecember 1998INTRODUCTIONThe Digital Millennium Copyright Act (DMCA)1 was signed into law by President Clinton on October 28, 1998. The legislation implements two 1996 World Inte
National University of Juridical Sciences - ACC - 640M
National University Course Outline ACC640M Governmental and Non-profit Accounting Please Note: We will be using e-college. All handouts, and other class materials are available in e-college under DOC Sharing Tab at top of page. Make copies of your handout
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808
University of Florida - CHM - 0808