How To Solve A Plant Control Problem

Size: px
Start display at page:

Download "How To Solve A Plant Control Problem"

Transcription

1 Model Predictive Control Lecture 1 (Palle Andersen) pa@es.aau.dk Automation & Control Aalborg University Denmark mpc1 p. 1/32

2 Book Predictive Control with Constraints by J.M. Maciejowski 1. Introduction 2. A Basic Formulation of Predictive Control 3. Solving Predictive Control Problems (4. Step Response and Transfer Function Formulations) 5. Other Formulations of Predictive Control 6. Stability 7. Tuning 8. Robust Predictive Control (9. Two Case Studies) 10. Perspectives mpc1 p. 2/32

3 Software Suggested: Multi Parametric Toolbox (MPT) MPT is very flexible, and can be used for PWA systems. mpt/downloads/mptmanual.pdf You can also use MatLab s own MPC toolbox, or even set things up manually for quadprog.m. mpc1 p. 3/32

4 Course plan Lecture 1: motivation, constraints, quadratic problems, MPT Literature: Maciejowski, Chapters 1-3 Lecture 2: soft constraints, stability, feasibility Literature: Maciejowski, 3.4, Chapters 5-6 Lecture 3: robustness, recursive feasibility, linear programs Literature: Maciejowski, Chapter 8, papers Lecture 4: MH estimation, time-varing dynamics Literature: Maciejowski, 10, papers Lecture 5: explicit MPC, nonlinear systems mpc1 p. 4/32

5 Basic idea of MPC Predict future plant response using a model over a prediction horizon of H p samples. Use a prediction of the reference and disturbances. Set up cost function over the horizon. Define constraints on inputs and states/outputs. Determine control inputs over a control horizon H u H p that minimise the cost function. Apply first sample of determined inputs. Shift the horizon and repeat the procedure (receding horizon). mpc1 p. 5/32

6 Basic idea of MPC Known Future Reference Predicted output Depend of control Predicted Free response k k+hp Predicted control u k k+hu mpc1 p. 6/32

7 Motivation The achievable performance of control problems is often dominated by constraints rather than plant dynamics. Constraints can be a more natural way to specify requirements than through penalties on variations from set-point. Motivating example: Buffer tank. We want to reduce the strain on the producer. We do not care about the tank level, only that it does not run empty or overflow. Nonlinear behaviour of MPC can improve performance. mpc1 p. 7/32

8 Pros and cons Advantages: Constraints are respected. Natural requirement specification. Anti-windup follows automatically. Standard tools for solving optimisation. Fairly natural extensions to nonlinear/hybrid systems. Disadvantages: A finite (and sometimes short) horizon is necessary problems with stability and feasibility. Essentially state feedback uncertainty (disturbances, model errors) is problematic. Complexity. mpc1 p. 8/32

9 MPC in the hierarchy Local loops should handle fast dynamics. Set-point optimisation is often done by static considerations. mpc1 p. 9/32

10 Prediction model In principle, any dynamic model can be used. We will focus on linear state space models. x(k +1) = Ax(k)+Bu(k) y(k) = C y x(k) z(k) = C z x(k) y: measurements z: performance outputs, constrained signals mpc1 p. 10/32

11 Delta-formulation We are usually interested in minimising/constraining u rather than u. [ ] x(k +1) u(k) = [ A B 0 I ][ ] x(k) u(k 1) + [ ] B I u(k) Alternatively, we can integrate the outputs instead: [ ] [ ][ ] [ ] x(k +1) A 0 x(k) B = + u(k) z(k +1) C z A I y(k) C z B The main difference arises when formulating constraints. mpc1 p. 11/32

12 Cost function Most commonly we use a quadratic cost function, penalising the control signal derivative: V(k) = H p i=h w ẑ(k +i k) r(k +i k) 2 Q(i) + H u 1 i=0 û(k +i k) 2 R(i) ẑ(k + i k) are predictions, assuming inputs û(k + i k). Note that Q and R may vary over the horizon. mpc1 p. 12/32

13 Constraints in MPC The main difference between LQ and MPC is that MPC handles constraints in the optimisation. Constraints in control moves are introduced as matrix inequalities in all u s with one row per constraint. For example, if a plant has two inputs with constraints in u 1 and constraints in u 2 2 u 1 2 { 1 2 u u In the simple case with a control horizon H u = 1 this gives [ ] 1 û 1 (k k) [ ] [ ] [ U(k) 1 û 2 (k k) E } 0 0 ] mpc1 p. 13/32

14 Constraints in MPC Similarly constraints in u may be rewritten like { } u u u With a control horizon H u = 1 this gives [ ] û 1 (k k) [ ] û 2 (k k) F [ U(k) 1 ] [ 0 0 ] For every constraint in a control move u j and every constraint in a u j we introduce H u inequalities. With lower and upper bounds u and u of l controls we potentially have dimensions 2lH u H u +1 of both E and F mpc1 p. 14/32

15 Constraints in MPC It is possible also to formulate constraints in outputs z z 1 0 z 2 0 3z 1 +5z 2 15 z 1 0 z z z Horizon H p (= 2) introduce up to m z H p inequalities ẑ 1 (k +1 k) ẑ 2 (k +1 k) [ ] ẑ 1 (k +2 k) G 0 ẑ 2 (k +2 k) [ Z(k) 1 ] mpc1 p. 15/32

16 Predictive Control Problem The control problem is now to minimise V(k) = where H p i=h w ẑ(k +i k) r(k +i k) 2 Q(i) + H u 1 i=0 û(k +i k) 2 R(i) ˆx(k +i+1 k) = Aˆx(k +i k)+bû(k +i k) ẑ(k +i k) = C zˆx(k +i k) subject to the constraints [ ] [ ] [ U(k) 0 E, F 1 0 U(k) 1 ] [ 0 0 ], G [ Z(k) 1 ] [ 0 0 ] mpc1 p. 16/32

17 Solving Predictive Control Problems Without constraints we have seen earlier that the problem can be solved using dynamic programming The problem with constraints has usually been solved by solving a minimisation problem which is quadratic in control moves U To do this we first have to express U and Z in terms of U mpc1 p. 17/32

18 Prediction of future states ˆx(k +1) = Aˆx(k)+Bû(k) ˆx(k +2) = Aˆx(k +1)+Bû(k +1) = A 2ˆx(k)+ABû(k)+Bû(k +1). ˆx(k +Hp) = A Hpˆx(k)+A Hp 1 Bû(k)+ +Bû(k +Hp 1) In model predictive control we want to express future outputs in terms of control moves u(k) = u(k) u(k 1) and furthermore we allow only H u future control moves. mpc1 p. 18/32

19 Prediction of future states Predictions of future in terms of predicted control moves. ˆx(k +1) = Aˆx(k)+B( û(k)+u(k 1)) ˆx(k +2) = A 2ˆx(k)+(AB +B)u(k 1) + AB û(k)+b û(k +1). ˆx(k +Hp) = A Hpˆx(k)+ + H p 1 i=0 H p 1 i=1 A i Bu(k 1) A i B u(k)+ + H p H u i=0 A i B û(k +H u 1 k) mpc1 p. 19/32

20 Prediction of future states Defining X(k) = ˆx(k +1 k). ˆx(k +H p k), U(k) = û(k k). û(k +H u 1 k), We may find matrices A, B u and B u such that X(k) = Aˆx(k k)+b u u(k 1)+B u U(k) mpc1 p. 20/32

21 Prediction of future outputs We define vectors with future outputs and references Z(k) = ẑ(k +H w k). ẑ(k +H p k) = ˆr(k +H w k). ˆr(k +H p k) Further define C = diag(c z ), Ψ = CA, Υ = CB u and Θ = CB u and find Z(k) = Ψˆx(k k)+υu(k 1)+Θ U(k) we also define the vectors of future predicted errors with U(k) = 0 E(k) = T (k) Ψˆx(k k) Υu(k 1) mpc1 p. 21/32

22 Rewriting performance To rewrite the performance we further define the extended weighting matrices Q = R = Q(H w ) Q(H w +1) Q(H p ) R(0) R(1) R(H u ) mpc1 p. 22/32

23 Rewriting performance With vectorized signals performance may be rewritten V(k) = Z(k) T (k) 2 Q + U(k) 2 R or if we insert the expression for Z(k) and subsequently E(k) we may express the performance in terms of signals which are known (if the state vector is known) at time k and U(k) V(k) = Θ U(k) E(k) 2 Q + U(k) 2 R mpc1 p. 23/32

24 Solving the unconstrained case We can now easily find the solution in the case where we have no constraints (which may also be the solution if no constraints are active). V(k) = Θ U(k) E(k) 2 Q + U(k) 2 R V(k) = E(k) T QE(k) 2 U(k)Θ T QE(k)+ U(k) T [ΘQΘ+R] U(k) with V(k) = const U(k)G + U(k) T H U(k) G = 2Θ T QE(k), H = ΘQΘ+R mpc1 p. 24/32

25 Solving the unconstrained case The unconstrained control law can be solved by finding the gradient and putting this to zero U(k) = G +2H U(k) = 0 U(k) opt = 1 2 H\G Now we pick out the control move at time k as the first l rows of U(k) opt u(k) opt = [I l 0 l 0 l ] U(k) opt This control law is equivalent to a finite horizon LQ controller with feedback from the current state vector (of which u(k 1) should be an element in this case). The control law also has feed forward from the reference trajectory T (k) which is equal to the term we found using LQ mpc1 p. 25/32

26 Reformulation of the constrained case In the case where constraints are present we want to express these in terms of U(k) and variables known at time k. Since U(k) can be found from u(k 1) and U(k) we may find F,F 1,f such that F [ U(k) 1 ] [ 0 0 ] F U(k) F 1 u(k 1) f mpc1 p. 26/32

27 Reformulation of the constrained case We have also found Z(k) = Ψˆx(k k)+υu(k 1)+Θ U(k) and if we put G = [Γ g] the constraints in z may be rewritten like [ ] [ ] Z(k) 0 G ΓΘ U(k) Γ[Ψˆx(k k)+υu(k 1)] g 1 0 Finally putting E = [W w] we may rewrite [ ] [ ] U(k) 0 E, W U(k) w 1 0 mpc1 p. 27/32

28 Quadratic program The optimisation problem: minimise U(k)G + U(k) T H U(k) subject to F ΓΘ W U(k) F 1 u(k 1) f Γ[Ψˆx(k k)+υu(k 1)] g w This is a quadratic programming problem (QP): 1 min θ 2 θt Φθ +φ T θ, s.t. Ωθ ω mpc1 p. 28/32

29 Solving quadratic programs 1 min θ 2 θt Φθ+φ T θ s.t. Ωθ ω QP s are convex and we have efficient solvers, for instance quadprog.m in MatLab. MPT (or the MPC Toolbox) converts the plant and problem description into a quadratic program, which can then be solved by e.g. quadprog. mpc1 p. 29/32

30 Observers The prediction requires an estimate ˆx(k k) of the state. If the entire state vector is not measured then an observer must be used. The optimisation problem is the same as before, but sometimes uncertainty must be taken into account. State/output constraints can lead to feasibility problems when the state is uncertain. mpc1 p. 30/32

31 Recap An MPC design requires A prediction model A choice of prediction and control horizon lengths A definition of constraints A cost function Minimizing the cost over input signals mpc1 p. 31/32

32 Exercises 1) Design an MPC for a two-tank system. 2) Consider MPC in your project. mpc1 p. 32/32

C21 Model Predictive Control

C21 Model Predictive Control C21 Model Predictive Control Mark Cannon 4 lectures Hilary Term 216-1 Lecture 1 Introduction 1-2 Organisation 4 lectures: week 3 week 4 { Monday 1-11 am LR5 Thursday 1-11 am LR5 { Monday 1-11 am LR5 Thursday

More information

PID Controller Design for Nonlinear Systems Using Discrete-Time Local Model Networks

PID Controller Design for Nonlinear Systems Using Discrete-Time Local Model Networks PID Controller Design for Nonlinear Systems Using Discrete-Time Local Model Networks 4. Workshop für Modellbasierte Kalibriermethoden Nikolaus Euler-Rolle, Christoph Hametner, Stefan Jakubek Christian

More information

Formulations of Model Predictive Control. Dipartimento di Elettronica e Informazione

Formulations of Model Predictive Control. Dipartimento di Elettronica e Informazione Formulations of Model Predictive Control Riccardo Scattolini Riccardo Scattolini Dipartimento di Elettronica e Informazione Impulse and step response models 2 At the beginning of the 80, the early formulations

More information

Mathematical finance and linear programming (optimization)

Mathematical finance and linear programming (optimization) Mathematical finance and linear programming (optimization) Geir Dahl September 15, 2009 1 Introduction The purpose of this short note is to explain how linear programming (LP) (=linear optimization) may

More information

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

19 LINEAR QUADRATIC REGULATOR

19 LINEAR QUADRATIC REGULATOR 19 LINEAR QUADRATIC REGULATOR 19.1 Introduction The simple form of loopshaping in scalar systems does not extend directly to multivariable (MIMO) plants, which are characterized by transfer matrices instead

More information

Nonlinear Optimization: Algorithms 3: Interior-point methods

Nonlinear Optimization: Algorithms 3: Interior-point methods Nonlinear Optimization: Algorithms 3: Interior-point methods INSEAD, Spring 2006 Jean-Philippe Vert Ecole des Mines de Paris Jean-Philippe.Vert@mines.org Nonlinear optimization c 2006 Jean-Philippe Vert,

More information

054414 PROCESS CONTROL SYSTEM DESIGN. 054414 Process Control System Design. LECTURE 6: SIMO and MISO CONTROL

054414 PROCESS CONTROL SYSTEM DESIGN. 054414 Process Control System Design. LECTURE 6: SIMO and MISO CONTROL 05444 Process Control System Design LECTURE 6: SIMO and MISO CONTROL Daniel R. Lewin Department of Chemical Engineering Technion, Haifa, Israel 6 - Introduction This part of the course explores opportunities

More information

Adaptive cruise controller design: a comparative assessment for PWA systems

Adaptive cruise controller design: a comparative assessment for PWA systems Adaptive cruise controller design: a comparative assessment for PWA systems Hybrid control problems for vehicle dynamics and engine control. Cagliari, PhD Course on discrete event and hybrid systems Daniele

More information

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method Lecture 3 3B1B Optimization Michaelmas 2015 A. Zisserman Linear Programming Extreme solutions Simplex method Interior point method Integer programming and relaxation The Optimization Tree Linear Programming

More information

Optimization Modeling for Mining Engineers

Optimization Modeling for Mining Engineers Optimization Modeling for Mining Engineers Alexandra M. Newman Division of Economics and Business Slide 1 Colorado School of Mines Seminar Outline Linear Programming Integer Linear Programming Slide 2

More information

A Simple Introduction to Support Vector Machines

A Simple Introduction to Support Vector Machines A Simple Introduction to Support Vector Machines Martin Law Lecture for CSE 802 Department of Computer Science and Engineering Michigan State University Outline A brief history of SVM Large-margin linear

More information

Optimization - Elements of Calculus - Basics of constrained and unconstrained optimization

Optimization - Elements of Calculus - Basics of constrained and unconstrained optimization 27. OKTOBER 2010 Optimization - Elements of Calculus - Basics of constrained and unconstrained optimization @ Optimization the general problem Optimization minimize, subject to Ω = (,, ), optimization

More information

Gaussian Process Model Based Predictive Control

Gaussian Process Model Based Predictive Control Gaussian Process Model Based Predictive Control Juš Kocijan, Roderick Murray-Smith, Carl Edward Rasmussen, Agathe Girard Abstract Gaussian process models provide a probabilistic non-parametric modelling

More information

itesla Project Innovative Tools for Electrical System Security within Large Areas

itesla Project Innovative Tools for Electrical System Security within Large Areas itesla Project Innovative Tools for Electrical System Security within Large Areas Samir ISSAD RTE France samir.issad@rte-france.com PSCC 2014 Panel Session 22/08/2014 Advanced data-driven modeling techniques

More information

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION Vol. XVI - Fault Accomodation Using Model Predictive Methods - Jovan D. Bošković and Raman K.

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION Vol. XVI - Fault Accomodation Using Model Predictive Methods - Jovan D. Bošković and Raman K. FAULT ACCOMMODATION USING MODEL PREDICTIVE METHODS Scientific Systems Company, Inc., Woburn, Massachusetts, USA. Keywords: Fault accommodation, Model Predictive Control (MPC), Failure Detection, Identification

More information

An Overview Of Software For Convex Optimization. Brian Borchers Department of Mathematics New Mexico Tech Socorro, NM 87801 borchers@nmt.

An Overview Of Software For Convex Optimization. Brian Borchers Department of Mathematics New Mexico Tech Socorro, NM 87801 borchers@nmt. An Overview Of Software For Convex Optimization Brian Borchers Department of Mathematics New Mexico Tech Socorro, NM 87801 borchers@nmt.edu In fact, the great watershed in optimization isn t between linearity

More information

Linear Programming. March 14, 2014

Linear Programming. March 14, 2014 Linear Programming March 1, 01 Parts of this introduction to linear programming were adapted from Chapter 9 of Introduction to Algorithms, Second Edition, by Cormen, Leiserson, Rivest and Stein [1]. 1

More information

Stochastic control of HVAC systems: a learning-based approach. Damiano Varagnolo

Stochastic control of HVAC systems: a learning-based approach. Damiano Varagnolo Stochastic control of HVAC systems: a learning-based approach Damiano Varagnolo Something about me 2 Something about me Post-Doc at KTH Post-Doc at U. Padova Visiting Scholar at UC Berkeley Ph.D. Student

More information

Lecture notes for the course Advanced Control of Industrial Processes. Morten Hovd Institutt for Teknisk Kybernetikk, NTNU

Lecture notes for the course Advanced Control of Industrial Processes. Morten Hovd Institutt for Teknisk Kybernetikk, NTNU Lecture notes for the course Advanced Control of Industrial Processes Morten Hovd Institutt for Teknisk Kybernetikk, NTNU November 3, 2009 2 Contents 1 Introduction 9 1.1 Scope of note..............................

More information

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY 1

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY 1 This article has been accepted for inclusion in a future issue of this journal Content is final as presented, with the exception of pagination IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY 1 An Improved

More information

Nonlinear Programming Methods.S2 Quadratic Programming

Nonlinear Programming Methods.S2 Quadratic Programming Nonlinear Programming Methods.S2 Quadratic Programming Operations Research Models and Methods Paul A. Jensen and Jonathan F. Bard A linearly constrained optimization problem with a quadratic objective

More information

Big Data - Lecture 1 Optimization reminders

Big Data - Lecture 1 Optimization reminders Big Data - Lecture 1 Optimization reminders S. Gadat Toulouse, Octobre 2014 Big Data - Lecture 1 Optimization reminders S. Gadat Toulouse, Octobre 2014 Schedule Introduction Major issues Examples Mathematics

More information

Optimization of warehousing and transportation costs, in a multiproduct multi-level supply chain system, under a stochastic demand

Optimization of warehousing and transportation costs, in a multiproduct multi-level supply chain system, under a stochastic demand Int. J. Simul. Multidisci. Des. Optim. 4, 1-5 (2010) c ASMDO 2010 DOI: 10.1051/ijsmdo / 2010001 Available online at: http://www.ijsmdo.org Optimization of warehousing and transportation costs, in a multiproduct

More information

POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES

POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES L. Novotny 1, P. Strakos 1, J. Vesely 1, A. Dietmair 2 1 Research Center of Manufacturing Technology, CTU in Prague, Czech Republic 2 SW, Universität

More information

Machine Learning and Data Mining. Regression Problem. (adapted from) Prof. Alexander Ihler

Machine Learning and Data Mining. Regression Problem. (adapted from) Prof. Alexander Ihler Machine Learning and Data Mining Regression Problem (adapted from) Prof. Alexander Ihler Overview Regression Problem Definition and define parameters ϴ. Prediction using ϴ as parameters Measure the error

More information

Nonlinear Model Predictive Control of Hammerstein and Wiener Models Using Genetic Algorithms

Nonlinear Model Predictive Control of Hammerstein and Wiener Models Using Genetic Algorithms Nonlinear Model Predictive Control of Hammerstein and Wiener Models Using Genetic Algorithms Al-Duwaish H. and Naeem, Wasif Electrical Engineering Department/King Fahd University of Petroleum and Minerals

More information

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued. Linear Programming Widget Factory Example Learning Goals. Introduce Linear Programming Problems. Widget Example, Graphical Solution. Basic Theory:, Vertices, Existence of Solutions. Equivalent formulations.

More information

Nonlinear Model Predictive Control: From Theory to Application

Nonlinear Model Predictive Control: From Theory to Application J. Chin. Inst. Chem. Engrs., Vol. 35, No. 3, 299-315, 2004 Nonlinear Model Predictive Control: From Theory to Application Frank Allgöwer [1], Rolf Findeisen, and Zoltan K. Nagy Institute for Systems Theory

More information

ARX-Model based Model Predictive Control with Offset-Free Tracking.

ARX-Model based Model Predictive Control with Offset-Free Tracking. 0 th European Symposium on Computer Aided Process Engineering ESCAPE0 S. Pierucci and G. Buzzi Ferraris (Editors) 00 Elsevier B.V. All rights reserved. ARX-Model based Model Predictive Control with Offset-Free

More information

Control System Definition

Control System Definition Control System Definition A control system consist of subsytems and processes (or plants) assembled for the purpose of controlling the outputs of the process. For example, a furnace produces heat as a

More information

Introduction to Process Optimization

Introduction to Process Optimization Chapter 1 Introduction to Process Optimization Most things can be improved, so engineers and scientists optimize. While designing systems and products requires a deep understanding of influences that achieve

More information

International Doctoral School Algorithmic Decision Theory: MCDA and MOO

International Doctoral School Algorithmic Decision Theory: MCDA and MOO International Doctoral School Algorithmic Decision Theory: MCDA and MOO Lecture 2: Multiobjective Linear Programming Department of Engineering Science, The University of Auckland, New Zealand Laboratoire

More information

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005 DAVID L. BERNICK dbernick@soe.ucsc.edu 1. Overview Typical Linear Programming problems Standard form and converting

More information

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 3: Finding integer solutions to systems of linear equations Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture

More information

Recurrent Neural Networks

Recurrent Neural Networks Recurrent Neural Networks Neural Computation : Lecture 12 John A. Bullinaria, 2015 1. Recurrent Neural Network Architectures 2. State Space Models and Dynamical Systems 3. Backpropagation Through Time

More information

Towards Dual MPC. Tor Aksel N. Heirung B. Erik Ydstie Bjarne Foss

Towards Dual MPC. Tor Aksel N. Heirung B. Erik Ydstie Bjarne Foss 4th IFAC Nonlinear Model Predictive Control Conference International Federation of Automatic Control Towards Dual MPC Tor Aksel N. Heirung B. Erik Ydstie Bjarne Foss Department of Engineering Cybernetics,

More information

Interior-Point Algorithms for Quadratic Programming

Interior-Point Algorithms for Quadratic Programming Interior-Point Algorithms for Quadratic Programming Thomas Reslow Krüth Kongens Lyngby 2008 IMM-M.Sc-2008-19 Technical University of Denmark Informatics and Mathematical Modelling Building 321, DK-2800

More information

Support Vector Machines Explained

Support Vector Machines Explained March 1, 2009 Support Vector Machines Explained Tristan Fletcher www.cs.ucl.ac.uk/staff/t.fletcher/ Introduction This document has been written in an attempt to make the Support Vector Machines (SVM),

More information

Support Vector Machine (SVM)

Support Vector Machine (SVM) Support Vector Machine (SVM) CE-725: Statistical Pattern Recognition Sharif University of Technology Spring 2013 Soleymani Outline Margin concept Hard-Margin SVM Soft-Margin SVM Dual Problems of Hard-Margin

More information

2.3 Convex Constrained Optimization Problems

2.3 Convex Constrained Optimization Problems 42 CHAPTER 2. FUNDAMENTAL CONCEPTS IN CONVEX OPTIMIZATION Theorem 15 Let f : R n R and h : R R. Consider g(x) = h(f(x)) for all x R n. The function g is convex if either of the following two conditions

More information

The Price of Robustness

The Price of Robustness The Price of Robustness Dimitris Bertsimas Melvyn Sim August 001; revised August, 00 Abstract A robust approach to solving linear optimization problems with uncertain data has been proposed in the early

More information

Linear Programming in Matrix Form

Linear Programming in Matrix Form Linear Programming in Matrix Form Appendix B We first introduce matrix concepts in linear programming by developing a variation of the simplex method called the revised simplex method. This algorithm,

More information

Distributionally Robust Optimization with ROME (part 2)

Distributionally Robust Optimization with ROME (part 2) Distributionally Robust Optimization with ROME (part 2) Joel Goh Melvyn Sim Department of Decision Sciences NUS Business School, Singapore 18 Jun 2009 NUS Business School Guest Lecture J. Goh, M. Sim (NUS)

More information

Lecture Topic: Low-Rank Approximations

Lecture Topic: Low-Rank Approximations Lecture Topic: Low-Rank Approximations Low-Rank Approximations We have seen principal component analysis. The extraction of the first principle eigenvalue could be seen as an approximation of the original

More information

Numerisches Rechnen. (für Informatiker) M. Grepl J. Berger & J.T. Frings. Institut für Geometrie und Praktische Mathematik RWTH Aachen

Numerisches Rechnen. (für Informatiker) M. Grepl J. Berger & J.T. Frings. Institut für Geometrie und Praktische Mathematik RWTH Aachen (für Informatiker) M. Grepl J. Berger & J.T. Frings Institut für Geometrie und Praktische Mathematik RWTH Aachen Wintersemester 2010/11 Problem Statement Unconstrained Optimality Conditions Constrained

More information

Proximal mapping via network optimization

Proximal mapping via network optimization L. Vandenberghe EE236C (Spring 23-4) Proximal mapping via network optimization minimum cut and maximum flow problems parametric minimum cut problem application to proximal mapping Introduction this lecture:

More information

Solving polynomial least squares problems via semidefinite programming relaxations

Solving polynomial least squares problems via semidefinite programming relaxations Solving polynomial least squares problems via semidefinite programming relaxations Sunyoung Kim and Masakazu Kojima August 2007, revised in November, 2007 Abstract. A polynomial optimization problem whose

More information

State-Space Feedback Control for Elastic Distributed Storage in a Cloud Environment

State-Space Feedback Control for Elastic Distributed Storage in a Cloud Environment State-Space Feedback Control for Elastic Distributed Storage in a Cloud Environment M. Amir Moulavi Ahmad Al-Shishtawy Vladimir Vlassov KTH Royal Institute of Technology, Stockholm, Sweden ICAS 2012, March

More information

Advanced Lecture on Mathematical Science and Information Science I. Optimization in Finance

Advanced Lecture on Mathematical Science and Information Science I. Optimization in Finance Advanced Lecture on Mathematical Science and Information Science I Optimization in Finance Reha H. Tütüncü Visiting Associate Professor Dept. of Mathematical and Computing Sciences Tokyo Institute of Technology

More information

Controller design for climate control in buildings using CLIM 2000

Controller design for climate control in buildings using CLIM 2000 Controller design for climate control in buildings using CLIM 2000 Kevin M. Murphy, Bernard Rémond and Francis Déqué Électricité de France / Direction des Études et Recherches Département Applications

More information

Robust Optimization for Unit Commitment and Dispatch in Energy Markets

Robust Optimization for Unit Commitment and Dispatch in Energy Markets 1/41 Robust Optimization for Unit Commitment and Dispatch in Energy Markets Marco Zugno, Juan Miguel Morales, Henrik Madsen (DTU Compute) and Antonio Conejo (Ohio State University) email: mazu@dtu.dk Modeling

More information

ENERGY EFFICIENT CONTROL OF VIRTUAL MACHINE CONSOLIDATION UNDER UNCERTAIN INPUT PARAMETERS FOR THE CLOUD

ENERGY EFFICIENT CONTROL OF VIRTUAL MACHINE CONSOLIDATION UNDER UNCERTAIN INPUT PARAMETERS FOR THE CLOUD ENERGY EFFICIENT CONTROL OF VIRTUAL MACHINE CONSOLIDATION UNDER UNCERTAIN INPUT PARAMETERS FOR THE CLOUD ENRICA ZOLA, KARLSTAD UNIVERSITY @IEEE.ORG ENGINEERING AND CONTROL FOR RELIABLE CLOUD SERVICES,

More information

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all. 1. Differentiation The first derivative of a function measures by how much changes in reaction to an infinitesimal shift in its argument. The largest the derivative (in absolute value), the faster is evolving.

More information

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2 IEOR 4404 Homework # Intro OR: Deterministic Models February 14, 011 Prof. Jay Sethuraman Page 1 of 5 Homework #.1 (a) What is the optimal solution of this problem? Let us consider that x 1, x and x 3

More information

Statistical Machine Learning

Statistical Machine Learning Statistical Machine Learning UoC Stats 37700, Winter quarter Lecture 4: classical linear and quadratic discriminants. 1 / 25 Linear separation For two classes in R d : simple idea: separate the classes

More information

Summary of specified general model for CHP system

Summary of specified general model for CHP system Fakulteta za Elektrotehniko Eva Thorin, Heike Brand, Christoph Weber Summary of specified general model for CHP system OSCOGEN Deliverable D1.4 Contract No. ENK5-CT-2000-00094 Project co-funded by the

More information

Interactive applications to explore the parametric space of multivariable controllers

Interactive applications to explore the parametric space of multivariable controllers Milano (Italy) August 28 - September 2, 211 Interactive applications to explore the parametric space of multivariable controllers Yves Piguet Roland Longchamp Calerga Sàrl, Av. de la Chablière 35, 14 Lausanne,

More information

STABILITY GUARANTEED ACTIVE FAULT TOLERANT CONTROL OF NETWORKED CONTROL SYSTEMS. Shanbin Li, Dominique Sauter, Christophe Aubrun, Joseph Yamé

STABILITY GUARANTEED ACTIVE FAULT TOLERANT CONTROL OF NETWORKED CONTROL SYSTEMS. Shanbin Li, Dominique Sauter, Christophe Aubrun, Joseph Yamé SABILIY GUARANEED ACIVE FAUL OLERAN CONROL OF NEWORKED CONROL SYSEMS Shanbin Li, Dominique Sauter, Christophe Aubrun, Joseph Yamé Centre de Recherche en Automatique de Nancy Université Henri Poincaré,

More information

MATLAB and Big Data: Illustrative Example

MATLAB and Big Data: Illustrative Example MATLAB and Big Data: Illustrative Example Rick Mansfield Cornell University August 19, 2014 Goals Use a concrete example from my research to: Demonstrate the value of vectorization Introduce key commands/functions

More information

A Log-Robust Optimization Approach to Portfolio Management

A Log-Robust Optimization Approach to Portfolio Management A Log-Robust Optimization Approach to Portfolio Management Dr. Aurélie Thiele Lehigh University Joint work with Ban Kawas Research partially supported by the National Science Foundation Grant CMMI-0757983

More information

Model Predictive Control. Rockwell Automation Model Predictive Control delivers results.

Model Predictive Control. Rockwell Automation Model Predictive Control delivers results. Model Predictive Control Rockwell Automation Model Predictive Control delivers results. The Challenge Today s manufacturing companies contend with intense global competition, reduced technical and operational

More information

constraint. Let us penalize ourselves for making the constraint too big. We end up with a

constraint. Let us penalize ourselves for making the constraint too big. We end up with a Chapter 4 Constrained Optimization 4.1 Equality Constraints (Lagrangians) Suppose we have a problem: Maximize 5, (x 1, 2) 2, 2(x 2, 1) 2 subject to x 1 +4x 2 =3 If we ignore the constraint, we get the

More information

Discrete Optimization

Discrete Optimization Discrete Optimization [Chen, Batson, Dang: Applied integer Programming] Chapter 3 and 4.1-4.3 by Johan Högdahl and Victoria Svedberg Seminar 2, 2015-03-31 Todays presentation Chapter 3 Transforms using

More information

EXCEL SOLVER TUTORIAL

EXCEL SOLVER TUTORIAL ENGR62/MS&E111 Autumn 2003 2004 Prof. Ben Van Roy October 1, 2003 EXCEL SOLVER TUTORIAL This tutorial will introduce you to some essential features of Excel and its plug-in, Solver, that we will be using

More information

Lecture 7: Finding Lyapunov Functions 1

Lecture 7: Finding Lyapunov Functions 1 Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.243j (Fall 2003): DYNAMICS OF NONLINEAR SYSTEMS by A. Megretski Lecture 7: Finding Lyapunov Functions 1

More information

Computing a Nearest Correlation Matrix with Factor Structure

Computing a Nearest Correlation Matrix with Factor Structure Computing a Nearest Correlation Matrix with Factor Structure Nick Higham School of Mathematics The University of Manchester higham@ma.man.ac.uk http://www.ma.man.ac.uk/~higham/ Joint work with Rüdiger

More information

Duality in Linear Programming

Duality in Linear Programming Duality in Linear Programming 4 In the preceding chapter on sensitivity analysis, we saw that the shadow-price interpretation of the optimal simplex multipliers is a very useful concept. First, these shadow

More information

Machine Learning and Pattern Recognition Logistic Regression

Machine Learning and Pattern Recognition Logistic Regression Machine Learning and Pattern Recognition Logistic Regression Course Lecturer:Amos J Storkey Institute for Adaptive and Neural Computation School of Informatics University of Edinburgh Crichton Street,

More information

Lecture 2: The SVM classifier

Lecture 2: The SVM classifier Lecture 2: The SVM classifier C19 Machine Learning Hilary 2015 A. Zisserman Review of linear classifiers Linear separability Perceptron Support Vector Machine (SVM) classifier Wide margin Cost function

More information

Kalman and Extended Kalman Filters: Concept, Derivation and Properties

Kalman and Extended Kalman Filters: Concept, Derivation and Properties Kalman and Extended Kalman ilters: Concept, Derivation and roperties Maria Isabel Ribeiro Institute for Systems and Robotics Instituto Superior Técnico Av. Rovisco ais, 1 1049-001 Lisboa ORTUGAL {mir@isr.ist.utl.pt}

More information

Nonlinear Iterative Partial Least Squares Method

Nonlinear Iterative Partial Least Squares Method Numerical Methods for Determining Principal Component Analysis Abstract Factors Béchu, S., Richard-Plouet, M., Fernandez, V., Walton, J., and Fairley, N. (2016) Developments in numerical treatments for

More information

Real-Time Embedded Convex Optimization

Real-Time Embedded Convex Optimization Real-Time Embedded Convex Optimization Stephen Boyd joint work with Michael Grant, Jacob Mattingley, Yang Wang Electrical Engineering Department, Stanford University Spencer Schantz Lecture, Lehigh University,

More information

Analysis of Algorithms I: Binary Search Trees

Analysis of Algorithms I: Binary Search Trees Analysis of Algorithms I: Binary Search Trees Xi Chen Columbia University Hash table: A data structure that maintains a subset of keys from a universe set U = {0, 1,..., p 1} and supports all three dictionary

More information

Constrained Least Squares

Constrained Least Squares Constrained Least Squares Authors: G.H. Golub and C.F. Van Loan Chapter 12 in Matrix Computations, 3rd Edition, 1996, pp.580-587 CICN may05/1 Background The least squares problem: min Ax b 2 x Sometimes,

More information

Automated Scheduling Methods. Advanced Planning and Scheduling Techniques

Automated Scheduling Methods. Advanced Planning and Scheduling Techniques Advanced Planning and Scheduling Techniques Table of Contents Introduction 3 The Basic Theories 3 Constrained and Unconstrained Planning 4 Forward, Backward, and other methods 5 Rules for Sequencing Tasks

More information

Self-Tuning Memory Management of A Database System

Self-Tuning Memory Management of A Database System Self-Tuning Memory Management of A Database System Yixin Diao diao@us.ibm.com IM 2009 Tutorial: Recent Advances in the Application of Control Theory to Network and Service Management DB2 Self-Tuning Memory

More information

Linear-Quadratic Optimal Controller 10.3 Optimal Linear Control Systems

Linear-Quadratic Optimal Controller 10.3 Optimal Linear Control Systems Linear-Quadratic Optimal Controller 10.3 Optimal Linear Control Systems In Chapters 8 and 9 of this book we have designed dynamic controllers such that the closed-loop systems display the desired transient

More information

TOMLAB - For fast and robust largescale optimization in MATLAB

TOMLAB - For fast and robust largescale optimization in MATLAB The TOMLAB Optimization Environment is a powerful optimization and modeling package for solving applied optimization problems in MATLAB. TOMLAB provides a wide range of features, tools and services for

More information

Optimization Methods in Finance

Optimization Methods in Finance Optimization Methods in Finance Gerard Cornuejols Reha Tütüncü Carnegie Mellon University, Pittsburgh, PA 15213 USA January 2006 2 Foreword Optimization models play an increasingly important role in financial

More information

Creating a More Efficient Course Schedule at WPI Using Linear Optimization

Creating a More Efficient Course Schedule at WPI Using Linear Optimization Project Number: ACH1211 Creating a More Efficient Course Schedule at WPI Using Linear Optimization A Major Qualifying Project Report submitted to the Faculty of the WORCESTER POLYTECHNIC INSTITUTE in partial

More information

Unit Load Storage Policies

Unit Load Storage Policies Unit Load Storage Policies Marc Goetschalckx marc.goetschalckx@isye.gatech.edu PASI 2013, Santiago, Chile 1 Instructor Information Born in Belgium Georgia Tech Total research career in logistics, material

More information

24. The Branch and Bound Method

24. The Branch and Bound Method 24. The Branch and Bound Method It has serious practical consequences if it is known that a combinatorial problem is NP-complete. Then one can conclude according to the present state of science that no

More information

Robust Path Planning and Feedback Design under Stochastic Uncertainty

Robust Path Planning and Feedback Design under Stochastic Uncertainty Robust Path Planning and Feedback Design under Stochastic Uncertainty Lars Blackmore Autonomous vehicles require optimal path planning algorithms to achieve mission goals while avoiding obstacles and being

More information

AdaBoost. Jiri Matas and Jan Šochman. Centre for Machine Perception Czech Technical University, Prague http://cmp.felk.cvut.cz

AdaBoost. Jiri Matas and Jan Šochman. Centre for Machine Perception Czech Technical University, Prague http://cmp.felk.cvut.cz AdaBoost Jiri Matas and Jan Šochman Centre for Machine Perception Czech Technical University, Prague http://cmp.felk.cvut.cz Presentation Outline: AdaBoost algorithm Why is of interest? How it works? Why

More information

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max SOLUTION OF LINEAR PROGRAMMING PROBLEMS THEOREM 1 If a linear programming problem has a solution, then it must occur at a vertex, or corner point, of the feasible set, S, associated with the problem. Furthermore,

More information

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that

More information

Clustering and scheduling maintenance tasks over time

Clustering and scheduling maintenance tasks over time Clustering and scheduling maintenance tasks over time Per Kreuger 2008-04-29 SICS Technical Report T2008:09 Abstract We report results on a maintenance scheduling problem. The problem consists of allocating

More information

Module 2 Introduction to SIMULINK

Module 2 Introduction to SIMULINK Module 2 Introduction to SIMULINK Although the standard MATLAB package is useful for linear systems analysis, SIMULINK is far more useful for control system simulation. SIMULINK enables the rapid construction

More information

CHAPTER 3. INTRODUCTION TO MATRIX METHODS FOR STRUCTURAL ANALYSIS

CHAPTER 3. INTRODUCTION TO MATRIX METHODS FOR STRUCTURAL ANALYSIS 1 CHAPTER 3. INTRODUCTION TO MATRIX METHODS FOR STRUCTURAL ANALYSIS Written by: Sophia Hassiotis, January, 2003 Last revision: February, 2015 Modern methods of structural analysis overcome some of the

More information

Maximization versus environmental compliance

Maximization versus environmental compliance Maximization versus environmental compliance Increase use of alternative fuels with no risk for quality and environment Reprint from World Cement March 2005 Dr. Eduardo Gallestey, ABB, Switzerland, discusses

More information

(Quasi-)Newton methods

(Quasi-)Newton methods (Quasi-)Newton methods 1 Introduction 1.1 Newton method Newton method is a method to find the zeros of a differentiable non-linear function g, x such that g(x) = 0, where g : R n R n. Given a starting

More information

Refinery Planning & Scheduling - Plan the Act. Act the Plan.

Refinery Planning & Scheduling - Plan the Act. Act the Plan. Refinery Planning & Scheduling - Plan the Act. Act the Plan. By Sowmya Santhanam EXECUTIVE SUMMARY Due to the record high and fluctuating crude prices, refineries are under extreme pressure to cut down

More information

GenOpt (R) Generic Optimization Program User Manual Version 3.0.0β1

GenOpt (R) Generic Optimization Program User Manual Version 3.0.0β1 (R) User Manual Environmental Energy Technologies Division Berkeley, CA 94720 http://simulationresearch.lbl.gov Michael Wetter MWetter@lbl.gov February 20, 2009 Notice: This work was supported by the U.S.

More information

Sensorless Control of a Brushless DC motor using an Extended Kalman estimator.

Sensorless Control of a Brushless DC motor using an Extended Kalman estimator. Sensorless Control of a Brushless DC motor using an Extended Kalman estimator. Paul Kettle, Aengus Murray & Finbarr Moynihan. Analog Devices, Motion Control Group Wilmington, MA 1887,USA. Paul.Kettle@analog.com

More information

Mapping an Application to a Control Architecture: Specification of the Problem

Mapping an Application to a Control Architecture: Specification of the Problem Mapping an Application to a Control Architecture: Specification of the Problem Mieczyslaw M. Kokar 1, Kevin M. Passino 2, Kenneth Baclawski 1, and Jeffrey E. Smith 3 1 Northeastern University, Boston,

More information

Linear Programming. April 12, 2005

Linear Programming. April 12, 2005 Linear Programming April 1, 005 Parts of this were adapted from Chapter 9 of i Introduction to Algorithms (Second Edition) /i by Cormen, Leiserson, Rivest and Stein. 1 What is linear programming? The first

More information

4F7 Adaptive Filters (and Spectrum Estimation) Least Mean Square (LMS) Algorithm Sumeetpal Singh Engineering Department Email : sss40@eng.cam.ac.

4F7 Adaptive Filters (and Spectrum Estimation) Least Mean Square (LMS) Algorithm Sumeetpal Singh Engineering Department Email : sss40@eng.cam.ac. 4F7 Adaptive Filters (and Spectrum Estimation) Least Mean Square (LMS) Algorithm Sumeetpal Singh Engineering Department Email : sss40@eng.cam.ac.uk 1 1 Outline The LMS algorithm Overview of LMS issues

More information

Neuro-Dynamic Programming An Overview

Neuro-Dynamic Programming An Overview 1 Neuro-Dynamic Programming An Overview Dimitri Bertsekas Dept. of Electrical Engineering and Computer Science M.I.T. September 2006 2 BELLMAN AND THE DUAL CURSES Dynamic Programming (DP) is very broadly

More information

Speech at IFAC2014 BACKGROUND

Speech at IFAC2014 BACKGROUND Speech at IFAC2014 Thank you Professor Craig for the introduction. IFAC President, distinguished guests, conference organizers, sponsors, colleagues, friends; Good evening It is indeed fitting to start

More information