Block Condensing with qpdunes

Size: px
Start display at page:

Download "Block Condensing with qpdunes"

Transcription

1 Block Condensing with qpdunes Dimitris Kouzoupis Rien Quirynen, Janick Frasch and Moritz Diehl Systems control and optimization laboratory (SYSCOP) TEMPO summer school August 5, 215 Dimitris Kouzoupis Block Condensing with qpdunes August 5, 215

2 1 QPs in nonlinear MPC Table of Contents 1. QPs in nonlinear MPC 2. Block Condensing 3. Results Dimitris Kouzoupis Block Condensing with qpdunes August 5, 215

3 1 QPs in nonlinear MPC QPs in nonlinear MPC Multistage QP from direct multiple shooting: with Z = [x u... x N ]. minimize Z subject to A ez = b i 1 2 Z H Z + h Z (1a) A iz b i (1b) (1c) Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

4 1 QPs in nonlinear MPC QPs in nonlinear MPC Multistage QP from direct multiple shooting: with Z = [x u... x N ]. minimize Z subject to A ez = b i 1 2 Z H Z + h Z (1a) A iz b i (1b) (1c) Sparsity of Hessian matrix nz = 836 Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

5 1 QPs in nonlinear MPC QPs in nonlinear MPC Multistage QP from direct multiple shooting: with Z = [x u... x N ]. minimize Z subject to A ez = b i 1 2 Z H Z + h Z (1a) A iz b i (1b) (1c) Sparsity of Hessian matrix Sparsity of Equality constraints nz = nz = 186 Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

6 1 QPs in nonlinear MPC Condensed approach Eliminate equality constraints and solve smaller, dense QP: 1 > U Hc U + hc> U 2 subject to Ac U bc (2a) minimize U (2b) > > Solve for U = [u> u1>... un 1 ]. Condensed QP data are calculated online. Solution must be expanded for the next SQP iteration. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

7 1 QPs in nonlinear MPC Condensed approach Eliminate equality constraints and solve smaller, dense QP: 1 > U Hc U + hc> U 2 subject to Ac U bc (2a) minimize U (2b) > > Solve for U = [u> u1>... un 1 ]. Condensed QP data are calculated online. Solution must be expanded for the next SQP iteration. Good idea for: Short horizons Many states Few controls Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

8 1 QPs in nonlinear MPC Sparse approach Alternative: Solve directly the sparse QP minimize Z subject to A ez = b i 1 2 Z HZ + h Z (3a) A iz b i (3b) (3c) Keep both states and controls as optimization variables. Use a QP solver with linear algebra that exploits sparsity. Software License Method FORCES Pro Commercial Primal-dual Interior Point, ADMM, FGM HPMPC LGPL Primal-Dual Interior Point qpdunes LGPL Non-smooth dual Newton method. 1 1 Frasch, Sager, and Diehl, A Parallel Quadratic Programming Method for Dynamic Optimization Problems. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

9 1 QPs in nonlinear MPC Sparse approach Alternative: Solve directly the sparse QP minimize Z subject to A ez = b i 1 2 Z HZ + h Z (3a) A iz b i (3b) (3c) Keep both states and controls as optimization variables. Use a QP solver with linear algebra that exploits sparsity. Software License Method FORCES Pro Commercial Primal-dual Interior Point, ADMM, FGM HPMPC LGPL Primal-Dual Interior Point qpdunes LGPL Non-smooth dual Newton method. 1 1 Frasch, Sager, and Diehl, A Parallel Quadratic Programming Method for Dynamic Optimization Problems. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

10 1 QPs in nonlinear MPC The dual Newton strategy Block-banded QP: minimize z N k= 1 2 z k H k z k + h k z k subject to E k+1 z k+1 = C k z k + c k,k =,..., N 1, d l k D k z k d u k, k =,..., N. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

11 1 QPs in nonlinear MPC The dual Newton strategy Block-banded QP: minimize z N k= 1 2 z k H k z k + h k z k subject to E k+1 z k+1 = C k z k + c k,k =,..., N 1, (λ k+1 ) d l k D k z k d u k, k =,..., N. Key idea: Dualize equality constraints and apply Newton method to solve dual problem. maximize λ minimize z N k= [ ] [ ] 1 2 z k H k z k + hk λk Ek z k + z λ k+1 C k + λ k+1c k k subject to: d l k D k z k d u k, k =,..., N. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

12 1 QPs in nonlinear MPC The dual Newton strategy Block-banded QP: minimize z N k= 1 2 z k H k z k + h k z k subject to E k+1 z k+1 = C k z k + c k,k =,..., N 1, (λ k+1 ) d l k D k z k d u k, k =,..., N. Key idea: Dualize equality constraints and apply Newton method to solve dual problem. maximize λ minimize z N k= Separable in primal variables [ ] [ ] 1 2 z k H k z k + hk λk Ek z k + z λ k+1 C k + λ k+1c k k subject to: d l k D k z k d u k, k =,..., N. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

13 1 QPs in nonlinear MPC The dual Newton strategy Minimization and summation can be interchanged: maximize λ N fk (λ) k= with λ R Nnx and stage QPs: fk 1 (λ) = min z k 2 z k H k z k + ( s.t. d l k D k z k d u k h k + [ ] [ ]) λk Ek z λ k+1 C k + λ k+1c k k Sub-problems can be solved in parallel by any QP solver. qpdunes supports two options: Clipping (for diagonal hessian and box constraints). qpoases (for the general case). Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

14 1 QPs in nonlinear MPC The dual Newton strategy Minimization and summation can be interchanged: maximize λ N fk (λ) k= { Concave PW Quadratic Once cont. differentiable with λ R Nnx and stage QPs: fk 1 (λ) = min z k 2 z k H k z k + ( s.t. d l k D k z k d u k h k + [ ] [ ]) λk Ek z λ k+1 C k + λ k+1c k k Sub-problems can be solved in parallel by any QP solver. qpdunes supports two options: Clipping (for diagonal hessian and box constraints). qpoases (for the general case). (Unconstrained) Dual problem is solved using a non-smooth Newton method. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

15 1 QPs in nonlinear MPC Sparse vs condensed formulation Figure: Comparison taken from 2 2 Vukov et al., Auto-generated Algorithms for Nonlinear Model Predictive Control on Long and on Short Horizons. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

16 1 QPs in nonlinear MPC Sparse vs condensed formulation Can we combine the two approaches? Figure: Comparison taken from 2 2 Vukov et al., Auto-generated Algorithms for Nonlinear Model Predictive Control on Long and on Short Horizons. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

17 2 Block Condensing Table of Contents 1. QPs in nonlinear MPC 2. Block Condensing 3. Results Dimitris Kouzoupis Block Condensing with qpdunes August 5, 215

18 2 Block Condensing Block condensing Main idea: 3 Gather M successive stages: [ z k z k+1... z k+m 1 ] [ { x }}{{}}{ k u k x k+1 u k+1... { x }}{ k+m 1 u k+m 1 ] Eliminate all but the first state variable in each stage: Stage index n runs from to N/M. Last stage variable: z N/M = z N = x N. z n = [x k u k u k+1... u k+m 1 ] Sparse QPs with different levels of sparsity. 3 Axehill, Controlling the level of sparsity in MPC. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

19 2 Block Condensing Block condensing Sparsity of Hessian matrix Sparsity of Equality constraints nz = nz = 186 n x = 6, n u = 2, N = 2 Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

20 2 Block Condensing Block condensing Sparsity of Hessian matrix Sparsity of Equality constraints nz = nz = 414 n x = 6, n u = 2, N = 2 Block size M = 5 Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

21 2 Block Condensing Block condensing Sparsity of Hessian matrix Sparsity of Equality constraints nz = nz = 414 n x = 6, n u = 2, N = 2 Block size M = 5 Solve a smaller yet denser QP with the same sparse solver. Complexity still scales linearly with N (for fixed M). Cost of condensing quadratic in M. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

22 2 Block Condensing Contributions Block Condensing for Fast Nonlinear MPC with the Dual Newton Strategy D. Kouzoupis, R. Quirynen, J.V. Frasch and M. Diehl Proceedings of the 5th IFAC Conference on Nonlinear Model Predictive Control Investigate benefits of block condensing in NMPC. Efficient, code generated block condensing in ACADO. Support for both FORCES Pro and qpdunes. Benchmark example that illustrates speedups up to an order of magnitude. Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

23 2 Block Condensing Benchmark example NMPC on a chain of masses (scalable). One point of the chain fixed, the other controlled. Reach the equilibrium position without hitting the wall. Code available online z [m] x [m] y [m] Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

24 3 Results Table of Contents 1. QPs in nonlinear MPC 2. Block Condensing 3. Results Dimitris Kouzoupis Block Condensing with qpdunes August 5, 215

25 3 Results Benchmark example Effect of block condensing with qpdunes on worst-case RTI timings: Different block sizes, wide range of horizons. Performance improves up to M = 1. Total cpu time [ms] M = 1 M = 2 M = 5 M = 1 M = Horizon N Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

26 3 Results Benchmark example Comparison of sparse QP solvers. Speedup in worst-case total cpu time. For block size M = 1: FORCES t max = ms qpdunes t max = ms Fewer Newton iterations. Speedup factor FORCES qpdunes Block size FORCES VS qpdunes (N=1) Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

27 3 Results Benchmark example Increasing the block size: More expensive block condensing. Condensing of fewer blocks. Stage problems: Need longer preparation. Are more difficult to solve. Contain more information. Fewer Newton iterations. Computational load is moved from the Newton steps to the QP sub-problems. Number of iterations Computation time [ms] Average number of iterations Computation time [ms] Average time per iteration, per block (Average time per iteration, per block)x(average number of iterations)x(number of blocks) Block size Choice of optimal block size (N=2) Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

28 3 Results Benchmark example Comparison for different number of masses. Each mass introduces 6 states. Benefit of block condensing increases n m = 3 n m = 4 n m = 5 Optimal block size changes. Effect on feedback times stronger as condensing is part of the preparation step. Speedup factor Block size Different number of masses (N=6) Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

29 3 Results Try it yourself Condensing: mpc.set( QP_SOLVER, QP_QPOASES ); mpc.set( SPARSE_QP_SOLUTION, FULL_CONDENSING_N2 ); Sparse: mpc.set( QP_SOLVER, QP_QPDUNES ); % or QP_FORCES mpc.set( SPARSE_QP_SOLUTION, SPARSE_SOLVER ); Block condensing: mpc.set( QP_SOLVER, QP_QPDUNES ); % or QP_FORCES mpc.set( SPARSE_QP_SOLUTION, BLOCK_CONDENSING_N2 ); mpc.set( CONDENSING_BLOCK_SIZE, M); qpdunes-dev on github: Benchmark of the paper: Dimitris Kouzoupis Block Condensing with qpdunes August 5, / 16

ALADIN An Algorithm for Distributed Non-Convex Optimization and Control

ALADIN An Algorithm for Distributed Non-Convex Optimization and Control ALADIN An Algorithm for Distributed Non-Convex Optimization and Control Boris Houska, Yuning Jiang, Janick Frasch, Rien Quirynen, Dimitris Kouzoupis, Moritz Diehl ShanghaiTech University, University of

More information

Inexact Newton-Type Optimization with Iterated Sensitivities

Inexact Newton-Type Optimization with Iterated Sensitivities Inexact Newton-Type Optimization with Iterated Sensitivities Downloaded from: https://research.chalmers.se, 2019-01-12 01:39 UTC Citation for the original published paper (version of record: Quirynen,

More information

Block Structured Preconditioning within an Active-Set Method for Real-Time Optimal Control

Block Structured Preconditioning within an Active-Set Method for Real-Time Optimal Control MITSUBISHI ELECTRIC RESEARCH LABORATORIES http://www.merl.com Block Structured Preconditioning within an Active-Set Method for Real-Time Optimal Control Quirynen, R.; Knyazev, A.; Di Cairano, S. TR2018-081

More information

Projected Preconditioning within a Block-Sparse Active-Set Method for MPC

Projected Preconditioning within a Block-Sparse Active-Set Method for MPC MITSUBISHI ELECTRIC RESEARCH LABORATORIES http://www.merl.com Projected Preconditioning within a Block-Sparse Active-Set Method for MPC Quirynen, R.; Knyazev, A.; Di Cairano, S. TR208-22 August 25, 208

More information

Algorithms and Methods for Fast Model Predictive Control

Algorithms and Methods for Fast Model Predictive Control Algorithms and Methods for Fast Model Predictive Control Technical University of Denmark Department of Applied Mathematics and Computer Science 13 April 2016 Background: Model Predictive Control Model

More information

Efficient Numerical Methods for Nonlinear MPC and Moving Horizon Estimation

Efficient Numerical Methods for Nonlinear MPC and Moving Horizon Estimation Efficient Numerical Methods for Nonlinear MPC and Moving Horizon Estimation Moritz Diehl, Hans Joachim Ferreau, and Niels Haverbeke Optimization in Engineering Center (OPTEC) and ESAT-SCD, K.U. Leuven,

More information

The Lifted Newton Method and Its Use in Optimization

The Lifted Newton Method and Its Use in Optimization The Lifted Newton Method and Its Use in Optimization Moritz Diehl Optimization in Engineering Center (OPTEC), K.U. Leuven, Belgium joint work with Jan Albersmeyer (U. Heidelberg) ENSIACET, Toulouse, February

More information

Hot-Starting NLP Solvers

Hot-Starting NLP Solvers Hot-Starting NLP Solvers Andreas Wächter Department of Industrial Engineering and Management Sciences Northwestern University waechter@iems.northwestern.edu 204 Mixed Integer Programming Workshop Ohio

More information

Convergence Analysis of Time-Optimal Model Predictive Control under Limited Computational Resources

Convergence Analysis of Time-Optimal Model Predictive Control under Limited Computational Resources 216 European Control Conference June 29 - July 1, 216. Aalborg, Denmark Convergence Analysis of Time-Optimal Model Predictive Control under Limited Computational Resources Christoph Rösmann, Frank Hoffmann

More information

Nonlinear Optimization for Optimal Control

Nonlinear Optimization for Optimal Control Nonlinear Optimization for Optimal Control Pieter Abbeel UC Berkeley EECS Many slides and figures adapted from Stephen Boyd [optional] Boyd and Vandenberghe, Convex Optimization, Chapters 9 11 [optional]

More information

High-Performance Small-Scale Solvers for Moving Horizon Estimation

High-Performance Small-Scale Solvers for Moving Horizon Estimation Downloaded from orbit.dtu.dk on: Oct 14, 218 High-Performance Small-Scale Solvers for Moving Horizon Estimation Frison, Gianluca; Vukov, Milan ; Poulsen, Niels Kjølstad; Diehl, Moritz ; Jørgensen, John

More information

Fast ADMM for Sum of Squares Programs Using Partial Orthogonality

Fast ADMM for Sum of Squares Programs Using Partial Orthogonality Fast ADMM for Sum of Squares Programs Using Partial Orthogonality Antonis Papachristodoulou Department of Engineering Science University of Oxford www.eng.ox.ac.uk/control/sysos antonis@eng.ox.ac.uk with

More information

Direct Methods. Moritz Diehl. Optimization in Engineering Center (OPTEC) and Electrical Engineering Department (ESAT) K.U.

Direct Methods. Moritz Diehl. Optimization in Engineering Center (OPTEC) and Electrical Engineering Department (ESAT) K.U. Direct Methods Moritz Diehl Optimization in Engineering Center (OPTEC) and Electrical Engineering Department (ESAT) K.U. Leuven Belgium Overview Direct Single Shooting Direct Collocation Direct Multiple

More information

Constrained Nonlinear Optimization Algorithms

Constrained Nonlinear Optimization Algorithms Department of Industrial Engineering and Management Sciences Northwestern University waechter@iems.northwestern.edu Institute for Mathematics and its Applications University of Minnesota August 4, 2016

More information

Real-time Constrained Nonlinear Optimization for Maximum Power Take-off of a Wave Energy Converter

Real-time Constrained Nonlinear Optimization for Maximum Power Take-off of a Wave Energy Converter Real-time Constrained Nonlinear Optimization for Maximum Power Take-off of a Wave Energy Converter Thomas Bewley 23 May 2014 Southern California Optimization Day Summary 1 Introduction 2 Nonlinear Model

More information

Numerical Optimal Control Overview. Moritz Diehl

Numerical Optimal Control Overview. Moritz Diehl Numerical Optimal Control Overview Moritz Diehl Simplified Optimal Control Problem in ODE path constraints h(x, u) 0 initial value x0 states x(t) terminal constraint r(x(t )) 0 controls u(t) 0 t T minimize

More information

Convex Optimization with ALADIN

Convex Optimization with ALADIN Mathematical Programming manuscript No. (will be inserted by the editor) Convex Optimization with ALADIN Boris Houska Dimitris Kouzoupis Yuning Jiang Moritz Diehl the date of receipt and acceptance should

More information

Nonlinear Optimization for Optimal Control Part 2. Pieter Abbeel UC Berkeley EECS. From linear to nonlinear Model-predictive control (MPC) POMDPs

Nonlinear Optimization for Optimal Control Part 2. Pieter Abbeel UC Berkeley EECS. From linear to nonlinear Model-predictive control (MPC) POMDPs Nonlinear Optimization for Optimal Control Part 2 Pieter Abbeel UC Berkeley EECS Outline From linear to nonlinear Model-predictive control (MPC) POMDPs Page 1! From Linear to Nonlinear We know how to solve

More information

Time-optimal Race Car Driving using an Online Exact Hessian based Nonlinear MPC Algorithm

Time-optimal Race Car Driving using an Online Exact Hessian based Nonlinear MPC Algorithm Time-optimal Race Car Driving using an Online Exact Hessian based Nonlinear MPC Algorithm Robin Verschueren 1, Mario Zanon 3, Rien Quirynen 1,2, Moritz Diehl 1 Abstract This work presents an embedded nonlinear

More information

Infeasibility Detection and an Inexact Active-Set Method for Large-Scale Nonlinear Optimization

Infeasibility Detection and an Inexact Active-Set Method for Large-Scale Nonlinear Optimization Infeasibility Detection and an Inexact Active-Set Method for Large-Scale Nonlinear Optimization Frank E. Curtis, Lehigh University involving joint work with James V. Burke, University of Washington Daniel

More information

Numerical Nonlinear Optimization with WORHP

Numerical Nonlinear Optimization with WORHP Numerical Nonlinear Optimization with WORHP Christof Büskens Optimierung & Optimale Steuerung London, 8.9.2011 Optimization & Optimal Control Nonlinear Optimization WORHP Concept Ideas Features Results

More information

1 Computing with constraints

1 Computing with constraints Notes for 2017-04-26 1 Computing with constraints Recall that our basic problem is minimize φ(x) s.t. x Ω where the feasible set Ω is defined by equality and inequality conditions Ω = {x R n : c i (x)

More information

Numerical Methods for Embedded Optimization and Optimal Control. Exercises

Numerical Methods for Embedded Optimization and Optimal Control. Exercises Summer Course Numerical Methods for Embedded Optimization and Optimal Control Exercises Moritz Diehl, Daniel Axehill and Lars Eriksson June 2011 Introduction This collection of exercises is intended to

More information

Real-Time Implementation of Nonlinear Predictive Control

Real-Time Implementation of Nonlinear Predictive Control Real-Time Implementation of Nonlinear Predictive Control Michael A. Henson Department of Chemical Engineering University of Massachusetts Amherst, MA WebCAST October 2, 2008 1 Outline Limitations of linear

More information

FPGA Implementation of a Predictive Controller

FPGA Implementation of a Predictive Controller FPGA Implementation of a Predictive Controller SIAM Conference on Optimization 2011, Darmstadt, Germany Minisymposium on embedded optimization Juan L. Jerez, George A. Constantinides and Eric C. Kerrigan

More information

Sparse Optimization Lecture: Basic Sparse Optimization Models

Sparse Optimization Lecture: Basic Sparse Optimization Models Sparse Optimization Lecture: Basic Sparse Optimization Models Instructor: Wotao Yin July 2013 online discussions on piazza.com Those who complete this lecture will know basic l 1, l 2,1, and nuclear-norm

More information

III. Applications in convex optimization

III. Applications in convex optimization III. Applications in convex optimization nonsymmetric interior-point methods partial separability and decomposition partial separability first order methods interior-point methods Conic linear optimization

More information

A SPARSITY PRESERVING CONVEXIFICATION PROCEDURE FOR INDEFINITE QUADRATIC PROGRAMS ARISING IN DIRECT OPTIMAL CONTROL

A SPARSITY PRESERVING CONVEXIFICATION PROCEDURE FOR INDEFINITE QUADRATIC PROGRAMS ARISING IN DIRECT OPTIMAL CONTROL A SPARSITY PRESERVING CONVEXIFICATION PROCEDURE FOR INDEFINITE QUADRATIC PROGRAMS ARISING IN DIRECT OPTIMAL CONTROL ROBIN VERSCHUEREN :, MARIO ZANON ;, RIEN QUIRYNEN, AND MORITZ DIEHL Abstract. Quadratic

More information

HPMPC - A new software package with efficient solvers for Model Predictive Control

HPMPC - A new software package with efficient solvers for Model Predictive Control - A new software package with efficient solvers for Model Predictive Control Technical University of Denmark CITIES Second General Consortium Meeting, DTU, Lyngby Campus, 26-27 May 2015 Introduction Model

More information

SMO vs PDCO for SVM: Sequential Minimal Optimization vs Primal-Dual interior method for Convex Objectives for Support Vector Machines

SMO vs PDCO for SVM: Sequential Minimal Optimization vs Primal-Dual interior method for Convex Objectives for Support Vector Machines vs for SVM: Sequential Minimal Optimization vs Primal-Dual interior method for Convex Objectives for Support Vector Machines Ding Ma Michael Saunders Working paper, January 5 Introduction In machine learning,

More information

Proximal Newton Method. Ryan Tibshirani Convex Optimization /36-725

Proximal Newton Method. Ryan Tibshirani Convex Optimization /36-725 Proximal Newton Method Ryan Tibshirani Convex Optimization 10-725/36-725 1 Last time: primal-dual interior-point method Given the problem min x subject to f(x) h i (x) 0, i = 1,... m Ax = b where f, h

More information

Fast Model Predictive Control with Soft Constraints

Fast Model Predictive Control with Soft Constraints European Control Conference (ECC) July 7-9,, Zürich, Switzerland. Fast Model Predictive Control with Soft Constraints Arthur Richards Department of Aerospace Engineering, University of Bristol Queens Building,

More information

A SUFFICIENTLY EXACT INEXACT NEWTON STEP BASED ON REUSING MATRIX INFORMATION

A SUFFICIENTLY EXACT INEXACT NEWTON STEP BASED ON REUSING MATRIX INFORMATION A SUFFICIENTLY EXACT INEXACT NEWTON STEP BASED ON REUSING MATRIX INFORMATION Anders FORSGREN Technical Report TRITA-MAT-2009-OS7 Department of Mathematics Royal Institute of Technology November 2009 Abstract

More information

LINEAR AND NONLINEAR PROGRAMMING

LINEAR AND NONLINEAR PROGRAMMING LINEAR AND NONLINEAR PROGRAMMING Stephen G. Nash and Ariela Sofer George Mason University The McGraw-Hill Companies, Inc. New York St. Louis San Francisco Auckland Bogota Caracas Lisbon London Madrid Mexico

More information

What s New in Active-Set Methods for Nonlinear Optimization?

What s New in Active-Set Methods for Nonlinear Optimization? What s New in Active-Set Methods for Nonlinear Optimization? Philip E. Gill Advances in Numerical Computation, Manchester University, July 5, 2011 A Workshop in Honor of Sven Hammarling UCSD Center for

More information

Part 4: Active-set methods for linearly constrained optimization. Nick Gould (RAL)

Part 4: Active-set methods for linearly constrained optimization. Nick Gould (RAL) Part 4: Active-set methods for linearly constrained optimization Nick Gould RAL fx subject to Ax b Part C course on continuoue optimization LINEARLY CONSTRAINED MINIMIZATION fx subject to Ax { } b where

More information

Distributed and Real-time Predictive Control

Distributed and Real-time Predictive Control Distributed and Real-time Predictive Control Melanie Zeilinger Christian Conte (ETH) Alexander Domahidi (ETH) Ye Pu (EPFL) Colin Jones (EPFL) Challenges in modern control systems Power system: - Frequency

More information

arxiv: v1 [math.oc] 19 Sep 2017

arxiv: v1 [math.oc] 19 Sep 2017 A Simple and Efficient Algorithm for Nonlinear Model Predictive Control Lorenzo Stella, Andreas Themelis, Pantelis Sopasakis and Panagiotis Patrinos arxiv:709.06487v [math.oc] 9 Sep 07 Abstract We present

More information

Alvaro F. M. Azevedo A. Adão da Fonseca

Alvaro F. M. Azevedo A. Adão da Fonseca SECOND-ORDER SHAPE OPTIMIZATION OF A STEEL BRIDGE Alvaro F. M. Azevedo A. Adão da Fonseca Faculty of Engineering University of Porto Portugal 16-18 March 1999 OPTI 99 Orlando - Florida - USA 1 PROBLEM

More information

Constrained optimization. Unconstrained optimization. One-dimensional. Multi-dimensional. Newton with equality constraints. Active-set method.

Constrained optimization. Unconstrained optimization. One-dimensional. Multi-dimensional. Newton with equality constraints. Active-set method. Optimization Unconstrained optimization One-dimensional Multi-dimensional Newton s method Basic Newton Gauss- Newton Quasi- Newton Descent methods Gradient descent Conjugate gradient Constrained optimization

More information

Newton-Type Algorithms for Nonlinear Constrained Optimization

Newton-Type Algorithms for Nonlinear Constrained Optimization Newton-Type Algorithms for Nonlinear Constrained Optimization Angelika Altmann-Dieses Faculty of Management Science and Engineering Karlsruhe University of Applied Sciences Moritz Diehl Department of Microsystems

More information

MS&E 318 (CME 338) Large-Scale Numerical Optimization

MS&E 318 (CME 338) Large-Scale Numerical Optimization Stanford University, Management Science & Engineering (and ICME) MS&E 318 (CME 338) Large-Scale Numerical Optimization 1 Origins Instructor: Michael Saunders Spring 2015 Notes 9: Augmented Lagrangian Methods

More information

Research Reports on Mathematical and Computing Sciences

Research Reports on Mathematical and Computing Sciences ISSN 1342-284 Research Reports on Mathematical and Computing Sciences Exploiting Sparsity in Linear and Nonlinear Matrix Inequalities via Positive Semidefinite Matrix Completion Sunyoung Kim, Masakazu

More information

AM 205: lecture 19. Last time: Conditions for optimality, Newton s method for optimization Today: survey of optimization methods

AM 205: lecture 19. Last time: Conditions for optimality, Newton s method for optimization Today: survey of optimization methods AM 205: lecture 19 Last time: Conditions for optimality, Newton s method for optimization Today: survey of optimization methods Quasi-Newton Methods General form of quasi-newton methods: x k+1 = x k α

More information

Linear Algebra in IPMs

Linear Algebra in IPMs School of Mathematics H E U N I V E R S I Y O H F E D I N B U R G Linear Algebra in IPMs Jacek Gondzio Email: J.Gondzio@ed.ac.uk URL: http://www.maths.ed.ac.uk/~gondzio Paris, January 2018 1 Outline Linear

More information

E5295/5B5749 Convex optimization with engineering applications. Lecture 8. Smooth convex unconstrained and equality-constrained minimization

E5295/5B5749 Convex optimization with engineering applications. Lecture 8. Smooth convex unconstrained and equality-constrained minimization E5295/5B5749 Convex optimization with engineering applications Lecture 8 Smooth convex unconstrained and equality-constrained minimization A. Forsgren, KTH 1 Lecture 8 Convex optimization 2006/2007 Unconstrained

More information

Nonlinear Optimization: What s important?

Nonlinear Optimization: What s important? Nonlinear Optimization: What s important? Julian Hall 10th May 2012 Convexity: convex problems A local minimizer is a global minimizer A solution of f (x) = 0 (stationary point) is a minimizer A global

More information

Primal-Dual Interior-Point Methods for Linear Programming based on Newton s Method

Primal-Dual Interior-Point Methods for Linear Programming based on Newton s Method Primal-Dual Interior-Point Methods for Linear Programming based on Newton s Method Robert M. Freund March, 2004 2004 Massachusetts Institute of Technology. The Problem The logarithmic barrier approach

More information

Efficient robust optimization for robust control with constraints Paul Goulart, Eric Kerrigan and Danny Ralph

Efficient robust optimization for robust control with constraints Paul Goulart, Eric Kerrigan and Danny Ralph Efficient robust optimization for robust control with constraints p. 1 Efficient robust optimization for robust control with constraints Paul Goulart, Eric Kerrigan and Danny Ralph Efficient robust optimization

More information

CS6375: Machine Learning Gautam Kunapuli. Support Vector Machines

CS6375: Machine Learning Gautam Kunapuli. Support Vector Machines Gautam Kunapuli Example: Text Categorization Example: Develop a model to classify news stories into various categories based on their content. sports politics Use the bag-of-words representation for this

More information

AM 205: lecture 19. Last time: Conditions for optimality Today: Newton s method for optimization, survey of optimization methods

AM 205: lecture 19. Last time: Conditions for optimality Today: Newton s method for optimization, survey of optimization methods AM 205: lecture 19 Last time: Conditions for optimality Today: Newton s method for optimization, survey of optimization methods Optimality Conditions: Equality Constrained Case As another example of equality

More information

Project Discussions: SNL/ADMM, MDP/Randomization, Quadratic Regularization, and Online Linear Programming

Project Discussions: SNL/ADMM, MDP/Randomization, Quadratic Regularization, and Online Linear Programming Project Discussions: SNL/ADMM, MDP/Randomization, Quadratic Regularization, and Online Linear Programming Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305,

More information

Efficient Convex Optimization for Linear MPC

Efficient Convex Optimization for Linear MPC Efficient Convex Optimization for Linear MPC Stephen J Wright Abstract MPC formulations with linear dynamics and quadratic objectives can be solved efficiently by using a primal-dual interior-point framework,

More information

SPARSE SECOND ORDER CONE PROGRAMMING FORMULATIONS FOR CONVEX OPTIMIZATION PROBLEMS

SPARSE SECOND ORDER CONE PROGRAMMING FORMULATIONS FOR CONVEX OPTIMIZATION PROBLEMS Journal of the Operations Research Society of Japan 2008, Vol. 51, No. 3, 241-264 SPARSE SECOND ORDER CONE PROGRAMMING FORMULATIONS FOR CONVEX OPTIMIZATION PROBLEMS Kazuhiro Kobayashi Sunyoung Kim Masakazu

More information

QUADRATIC PROGRAMMING SOLVER FOR NON-NEGATIVE MATRIX FACTORIZATION WITH SPARK

QUADRATIC PROGRAMMING SOLVER FOR NON-NEGATIVE MATRIX FACTORIZATION WITH SPARK QUADRATIC PROGRAMMING SOLVER FOR NON-NEGATIVE MATRIX FACTORIZATION WITH SPARK Debasish Das Santanu Das debasish.das@verizon.com santanu.das@verizon.com Big Data Analytics Verizon ROADMAP Some overview

More information

Newton s Method. Javier Peña Convex Optimization /36-725

Newton s Method. Javier Peña Convex Optimization /36-725 Newton s Method Javier Peña Convex Optimization 10-725/36-725 1 Last time: dual correspondences Given a function f : R n R, we define its conjugate f : R n R, f ( (y) = max y T x f(x) ) x Properties and

More information

Controlling the level of sparsity in MPC

Controlling the level of sparsity in MPC Controlling the level of sparsity in MPC Daniel Axehill Linköping University Post Print N.B.: When citing this work, cite the original article. Original Publication: Daniel Axehill. Controlling the level

More information

A Regularized Interior-Point Method for Constrained Nonlinear Least Squares

A Regularized Interior-Point Method for Constrained Nonlinear Least Squares A Regularized Interior-Point Method for Constrained Nonlinear Least Squares XII Brazilian Workshop on Continuous Optimization Abel Soares Siqueira Federal University of Paraná - Curitiba/PR - Brazil Dominique

More information

Accelerating interior point methods with GPUs for smart grid systems

Accelerating interior point methods with GPUs for smart grid systems Downloaded from orbit.dtu.dk on: Dec 18, 2017 Accelerating interior point methods with GPUs for smart grid systems Gade-Nielsen, Nicolai Fog Publication date: 2011 Document Version Publisher's PDF, also

More information

A convex QP solver based on block-lu updates

A convex QP solver based on block-lu updates Block-LU updates p. 1/24 A convex QP solver based on block-lu updates PP06 SIAM Conference on Parallel Processing for Scientific Computing San Francisco, CA, Feb 22 24, 2006 Hanh Huynh and Michael Saunders

More information

Interior-Point Methods for Linear Optimization

Interior-Point Methods for Linear Optimization Interior-Point Methods for Linear Optimization Robert M. Freund and Jorge Vera March, 204 c 204 Robert M. Freund and Jorge Vera. All rights reserved. Linear Optimization with a Logarithmic Barrier Function

More information

Nonlinear equations and optimization

Nonlinear equations and optimization Notes for 2017-03-29 Nonlinear equations and optimization For the next month or so, we will be discussing methods for solving nonlinear systems of equations and multivariate optimization problems. We will

More information

On the interior of the simplex, we have the Hessian of d(x), Hd(x) is diagonal with ith. µd(w) + w T c. minimize. subject to w T 1 = 1,

On the interior of the simplex, we have the Hessian of d(x), Hd(x) is diagonal with ith. µd(w) + w T c. minimize. subject to w T 1 = 1, Math 30 Winter 05 Solution to Homework 3. Recognizing the convexity of g(x) := x log x, from Jensen s inequality we get d(x) n x + + x n n log x + + x n n where the equality is attained only at x = (/n,...,

More information

IPAM Summer School Optimization methods for machine learning. Jorge Nocedal

IPAM Summer School Optimization methods for machine learning. Jorge Nocedal IPAM Summer School 2012 Tutorial on Optimization methods for machine learning Jorge Nocedal Northwestern University Overview 1. We discuss some characteristics of optimization problems arising in deep

More information

Lecture 14: Newton s Method

Lecture 14: Newton s Method 10-725/36-725: Conve Optimization Fall 2016 Lecturer: Javier Pena Lecture 14: Newton s ethod Scribes: Varun Joshi, Xuan Li Note: LaTeX template courtesy of UC Berkeley EECS dept. Disclaimer: These notes

More information

Mathematical optimization

Mathematical optimization Optimization Mathematical optimization Determine the best solutions to certain mathematically defined problems that are under constrained determine optimality criteria determine the convergence of the

More information

A Julia JuMP-based module for polynomial optimization with complex variables applied to ACOPF

A Julia JuMP-based module for polynomial optimization with complex variables applied to ACOPF JuMP-dev workshop 018 A Julia JuMP-based module for polynomial optimization with complex variables applied to ACOPF Gilles Bareilles, Manuel Ruiz, Julie Sliwak 1. MathProgComplex.jl: A toolbox for Polynomial

More information

Optimization. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Optimization 1 / 30

Optimization. Escuela de Ingeniería Informática de Oviedo. (Dpto. de Matemáticas-UniOvi) Numerical Computation Optimization 1 / 30 Optimization Escuela de Ingeniería Informática de Oviedo (Dpto. de Matemáticas-UniOvi) Numerical Computation Optimization 1 / 30 Unconstrained optimization Outline 1 Unconstrained optimization 2 Constrained

More information

A direct formulation for sparse PCA using semidefinite programming

A direct formulation for sparse PCA using semidefinite programming A direct formulation for sparse PCA using semidefinite programming A. d Aspremont, L. El Ghaoui, M. Jordan, G. Lanckriet ORFE, Princeton University & EECS, U.C. Berkeley Available online at www.princeton.edu/~aspremon

More information

Quasi-Newton Methods

Quasi-Newton Methods Newton s Method Pros and Cons Quasi-Newton Methods MA 348 Kurt Bryan Newton s method has some very nice properties: It s extremely fast, at least once it gets near the minimum, and with the simple modifications

More information

The use of second-order information in structural topology optimization. Susana Rojas Labanda, PhD student Mathias Stolpe, Senior researcher

The use of second-order information in structural topology optimization. Susana Rojas Labanda, PhD student Mathias Stolpe, Senior researcher The use of second-order information in structural topology optimization Susana Rojas Labanda, PhD student Mathias Stolpe, Senior researcher What is Topology Optimization? Optimize the design of a structure

More information

Support Vector Machine via Nonlinear Rescaling Method

Support Vector Machine via Nonlinear Rescaling Method Manuscript Click here to download Manuscript: svm-nrm_3.tex Support Vector Machine via Nonlinear Rescaling Method Roman Polyak Department of SEOR and Department of Mathematical Sciences George Mason University

More information

Nonlinear optimization

Nonlinear optimization Nonlinear optimization Anders Forsgren Optimization and Systems Theory Department of Mathematics Royal Institute of Technology (KTH) Stockholm, Sweden evita Winter School 2009 Geilo, Norway January 11

More information

Robust Process Control by Dynamic Stochastic Programming

Robust Process Control by Dynamic Stochastic Programming Konrad-Zuse-Zentrum für Informationstechnik Berlin Takustraße 7 D-14195 Berlin-Dahlem Germany MARC C. STEINBACH Robust Process Control by Dynamic Stochastic Programming ZIB-Report 04-20 (May 2004) ROBUST

More information

Following The Central Trajectory Using The Monomial Method Rather Than Newton's Method

Following The Central Trajectory Using The Monomial Method Rather Than Newton's Method Following The Central Trajectory Using The Monomial Method Rather Than Newton's Method Yi-Chih Hsieh and Dennis L. Bricer Department of Industrial Engineering The University of Iowa Iowa City, IA 52242

More information

18. Primal-dual interior-point methods

18. Primal-dual interior-point methods L. Vandenberghe EE236C (Spring 213-14) 18. Primal-dual interior-point methods primal-dual central path equations infeasible primal-dual method primal-dual method for self-dual embedding 18-1 Symmetric

More information

A Brief Perspective on Process Optimization

A Brief Perspective on Process Optimization A Brief Perspective on Process Optimization L. T. Biegler Carnegie Mellon University November, 2007 Annual AIChE Meeting Salt Lake City, UT Overview Introduction Main Themes Modeling Levels Closed Models

More information

Newton s Method and Efficient, Robust Variants

Newton s Method and Efficient, Robust Variants Newton s Method and Efficient, Robust Variants Philipp Birken University of Kassel (SFB/TRR 30) Soon: University of Lund October 7th 2013 Efficient solution of large systems of non-linear PDEs in science

More information

A direct formulation for sparse PCA using semidefinite programming

A direct formulation for sparse PCA using semidefinite programming A direct formulation for sparse PCA using semidefinite programming A. d Aspremont, L. El Ghaoui, M. Jordan, G. Lanckriet ORFE, Princeton University & EECS, U.C. Berkeley A. d Aspremont, INFORMS, Denver,

More information

Sequential Convex Programming and Decomposition Approaches for Nonlinear Optimization

Sequential Convex Programming and Decomposition Approaches for Nonlinear Optimization Arenberg Doctoral School of Science, Engineering & Technology Faculty of Engineering Department of Electrical Engineering Sequential Convex Programming and Decomposition Approaches for Nonlinear Optimization

More information

An SR1/BFGS SQP algorithm for nonconvex nonlinear programs with block-diagonal Hessian matrix

An SR1/BFGS SQP algorithm for nonconvex nonlinear programs with block-diagonal Hessian matrix Math. Prog. Comp. (2016) 8:435 459 DOI 10.1007/s12532-016-0101-2 FULL LENGTH PAPER An SR1/BFGS SQP algorithm for nonconvex nonlinear programs with block-diagonal Hessian matrix Dennis Janka 1 Christian

More information

Computational Finance

Computational Finance Department of Mathematics at University of California, San Diego Computational Finance Optimization Techniques [Lecture 2] Michael Holst January 9, 2017 Contents 1 Optimization Techniques 3 1.1 Examples

More information

Nonlinear Optimization Solvers

Nonlinear Optimization Solvers ICE05 Argonne, July 19, 2005 Nonlinear Optimization Solvers Sven Leyffer leyffer@mcs.anl.gov Mathematics & Computer Science Division, Argonne National Laboratory Nonlinear Optimization Methods Optimization

More information

IE 5531 Midterm #2 Solutions

IE 5531 Midterm #2 Solutions IE 5531 Midterm #2 s Prof. John Gunnar Carlsson November 9, 2011 Before you begin: This exam has 9 pages and a total of 5 problems. Make sure that all pages are present. To obtain credit for a problem,

More information

MPC Infeasibility Handling

MPC Infeasibility Handling MPC Handling Thomas Wiese, TU Munich, KU Leuven supervised by H.J. Ferreau, Prof. M. Diehl (both KUL) and Dr. H. Gräb (TUM) October 9, 2008 1 / 42 MPC General MPC Strategies 2 / 42 Linear Discrete-Time

More information

Lectures 9 and 10: Constrained optimization problems and their optimality conditions

Lectures 9 and 10: Constrained optimization problems and their optimality conditions Lectures 9 and 10: Constrained optimization problems and their optimality conditions Coralia Cartis, Mathematical Institute, University of Oxford C6.2/B2: Continuous Optimization Lectures 9 and 10: Constrained

More information

An Active-Set Quadratic Programming Method Based On Sequential Hot-Starts

An Active-Set Quadratic Programming Method Based On Sequential Hot-Starts An Active-Set Quadratic Programg Method Based On Sequential Hot-Starts Travis C. Johnson, Christian Kirches, and Andreas Wächter October 7, 203 Abstract A new method for solving sequences of quadratic

More information

An Iterative Descent Method

An Iterative Descent Method Conjugate Gradient: An Iterative Descent Method The Plan Review Iterative Descent Conjugate Gradient Review : Iterative Descent Iterative Descent is an unconstrained optimization process x (k+1) = x (k)

More information

Newton s Method. Ryan Tibshirani Convex Optimization /36-725

Newton s Method. Ryan Tibshirani Convex Optimization /36-725 Newton s Method Ryan Tibshirani Convex Optimization 10-725/36-725 1 Last time: dual correspondences Given a function f : R n R, we define its conjugate f : R n R, Properties and examples: f (y) = max x

More information

An Inexact Sequential Quadratic Optimization Method for Nonlinear Optimization

An Inexact Sequential Quadratic Optimization Method for Nonlinear Optimization An Inexact Sequential Quadratic Optimization Method for Nonlinear Optimization Frank E. Curtis, Lehigh University involving joint work with Travis Johnson, Northwestern University Daniel P. Robinson, Johns

More information

Implicitly and Explicitly Constrained Optimization Problems for Training of Recurrent Neural Networks

Implicitly and Explicitly Constrained Optimization Problems for Training of Recurrent Neural Networks Implicitly and Explicitly Constrained Optimization Problems for Training of Recurrent Neural Networks Carl-Johan Thore Linköping University - Division of Mechanics 581 83 Linköping - Sweden Abstract. Training

More information

Multiobjective optimization for automatic tuning of robust Model Based Predictive Controllers

Multiobjective optimization for automatic tuning of robust Model Based Predictive Controllers Proceedings of the 7th World Congress The International Federation of Automatic Control Multiobjective optimization for automatic tuning of robust Model Based Predictive Controllers P.Vega*, M. Francisco*

More information

Numerical Optimal Control Mixing Collocation with Single Shooting: A Case Study

Numerical Optimal Control Mixing Collocation with Single Shooting: A Case Study Preprint, 11th IFAC Symposium on Dynamics and Control of Process Systems, including Biosystems Numerical Optimal Control Mixing Collocation with Single Shooting: A Case Study Anders Albert Lars Imsland

More information

Optimization Algorithms for Compressed Sensing

Optimization Algorithms for Compressed Sensing Optimization Algorithms for Compressed Sensing Stephen Wright University of Wisconsin-Madison SIAM Gator Student Conference, Gainesville, March 2009 Stephen Wright (UW-Madison) Optimization and Compressed

More information

Optimization Problems in Model Predictive Control

Optimization Problems in Model Predictive Control Optimization Problems in Model Predictive Control Stephen Wright Jim Rawlings, Matt Tenny, Gabriele Pannocchia University of Wisconsin-Madison FoCM 02 Minneapolis August 6, 2002 1 reminder! Send your new

More information

Numerical Methods for Model Predictive Control. Jing Yang

Numerical Methods for Model Predictive Control. Jing Yang Numerical Methods for Model Predictive Control Jing Yang Kongens Lyngby February 26, 2008 Technical University of Denmark Informatics and Mathematical Modelling Building 321, DK-2800 Kongens Lyngby, Denmark

More information

7.6 The Inverse of a Square Matrix

7.6 The Inverse of a Square Matrix 7.6 The Inverse of a Square Matrix Copyright Cengage Learning. All rights reserved. What You Should Learn Verify that two matrices are inverses of each other. Use Gauss-Jordan elimination to find inverses

More information

arxiv: v1 [math.oc] 10 Apr 2017

arxiv: v1 [math.oc] 10 Apr 2017 A Method to Guarantee Local Convergence for Sequential Quadratic Programming with Poor Hessian Approximation Tuan T. Nguyen, Mircea Lazar and Hans Butler arxiv:1704.03064v1 math.oc] 10 Apr 2017 Abstract

More information

Convex Optimization and l 1 -minimization

Convex Optimization and l 1 -minimization Convex Optimization and l 1 -minimization Sangwoon Yun Computational Sciences Korea Institute for Advanced Study December 11, 2009 2009 NIMS Thematic Winter School Outline I. Convex Optimization II. l

More information

Fast Algorithms for SDPs derived from the Kalman-Yakubovich-Popov Lemma

Fast Algorithms for SDPs derived from the Kalman-Yakubovich-Popov Lemma Fast Algorithms for SDPs derived from the Kalman-Yakubovich-Popov Lemma Venkataramanan (Ragu) Balakrishnan School of ECE, Purdue University 8 September 2003 European Union RTN Summer School on Multi-Agent

More information