Real-Time Embedded Convex Optimization
|
|
|
- Chester Payne
- 10 years ago
- Views:
Transcription
1 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, 12/6/10
2 Outline Real-time embedded convex optimization Examples Parser/solvers for convex optimization Code generation for real-time embedded convex optimization Spencer Schantz Lecture, Lehigh University, 12/6/10 1
3 Embedded optimization embed solvers in real-time applications i.e., solve an optimization problem at each time step used now for applications with hour/minute time-scales process control supply chain and revenue management trading Spencer Schantz Lecture, Lehigh University, 12/6/10 2
4 What s new embedded optimization at millisecond/microsecond time-scales problem size millions thousands traditional problems our focus tens microseconds seconds hours days solve time Spencer Schantz Lecture, Lehigh University, 12/6/10 3
5 real-time resource allocation Applications update allocation as objective, resource availabilities change signal processing estimate signal by solving optimization problem over sliding window replace least-squares estimates with robust (Huber, l 1 ) versions re-design (adapt) coefficients as signal/system model changes control closed-loop control via rolling horizon optimization real-time trajectory planning all of these done now, on long (minutes or more) time scales but could be done on millisecond/microsecond time scales Spencer Schantz Lecture, Lehigh University, 12/6/10 4
6 Outline Real-time embedded convex optimization Examples Parser/solvers for convex optimization Code generation for real-time embedded convex optimization Spencer Schantz Lecture, Lehigh University, 12/6/10 5
7 Multi-period processor speed scheduling processor adjusts its speed s t [s min,s max ] in each of T time periods energy consumed in period t is φ(s t ); total energy is E = T t=1 φ(s t) n jobs job i available at t = A i ; must finish by deadline t = D i job i requires total work W i 0 S ti 0 is effective processor speed allocated to job i in period t s t = n S ti, i=1 D i t=a i S ti W i Spencer Schantz Lecture, Lehigh University, 12/6/10 6
8 Minimum energy processor speed scheduling choose speeds s t and allocations S ti to minimize total energy E minimize E = T t=1 φ(s t) subject to s min s t s max, t = 1,...,T s t = n i=1 S ti, t = 1,...,T Di t=a i S ti W i, i = 1,...,n a convex problem when φ is convex more sophisticated versions include multiple processors other constraints (thermal, speed slew rate,... ) stochastic models for (future) data Spencer Schantz Lecture, Lehigh University, 12/6/10 7
9 Example T = 16 periods, n = 12 jobs s min = 1, s max = 6, φ(s t ) = s 2 t jobs shown as bars over [A i,d i ] with area W i φt(st) job i s t t Spencer Schantz Lecture, Lehigh University, 12/6/10 8
10 Optimal and uniform schedules uniform schedule: S ti = W i /(D i A i ); gives E unif = optimal schedule Sti gives E = optimal uniform st 3 st t t Spencer Schantz Lecture, Lehigh University, 12/6/10 9
11 Minimum time control with active vibration supression F T force F(t) moves object modeled as 3 masses (2 vibration modes) tension T(t) used for active vibration supression goal: move object to commanded position as quickly as possible, with F(t) 1, T(t) 0.1 Spencer Schantz Lecture, Lehigh University, 12/6/10 10
12 Ignoring vibration modes treat object as single mass; apply only F analytical ( bang-bang ) solution 3 1 y3(t) T(t) F(t) t t t Spencer Schantz Lecture, Lehigh University, 12/6/10 11
13 With vibration modes no analytical solution, but reduces to a quasiconvex problem can be solved by solving a small number of convex problems 3 1 y3(t) T(t) F(t) t t t Spencer Schantz Lecture, Lehigh University, 12/6/10 12
14 Grasp force optimization choose K grasping forces on object to resist external wrench (force and torque) respect friction cone constraints minimize maximum grasp force convex problem (second-order cone program or SOCP): minimize max i f (i) 2 max contact force subject to i Q(i) f (i) = f ext force equillibrium i p(i) (Q (i) f (i) ) = τ ext torque equillibrium ( ) 1/2 µ i f z (i) f x (i)2 +f y (i)2 friction cone constraints variables f (i) R 3, i = 1,...,K (contact forces) Spencer Schantz Lecture, Lehigh University, 12/6/10 13
15 Example Spencer Schantz Lecture, Lehigh University, 12/6/10 14
16 Grasp force optimization solve times example with K = 5 fingers (grasp points) reduces to SOCP with 15 vars, 6 eqs, 5 3-dim SOCs custom code solve time: 50µs (SDPT3: 100ms) Spencer Schantz Lecture, Lehigh University, 12/6/10 15
17 Robust Kalman filtering estimate state of a linear dynamical system driven by IID noise sensor measurements have occasional outliers (failures, jamming,... ) model: x t+1 = Ax t +w t, y t = Cx t +v t +z t w t N(0,W), v t N(0,V) z t is sparse; represents outliers, failures,... (steady-state) Kalman filter (for case z t = 0): time update: ˆx t+1 t = Aˆx t t measurement update: ˆx t t = ˆx t t 1 +L(y t Cˆx t t 1 ) we ll replace measurement update with robust version to handle outliers Spencer Schantz Lecture, Lehigh University, 12/6/10 16
18 Measurement update via optimization standard KF: ˆx t t is solution of quadratic problem minimize v T V 1 v +(x ˆx t t 1 ) T Σ 1 (x ˆx t t 1 ) subject to y t = Cx+v with variables x, v (simple analytic solution) robust KF: choose ˆx t t as solution of convex problem minimize v T V 1 v +(x ˆx t t 1 ) T Σ 1 (x ˆx t t 1 )+λ z 1 subject to y t = Cx+v +z with variables x, v, z (requires solving a QP) Spencer Schantz Lecture, Lehigh University, 12/6/10 17
19 Example 50 states, 15 measurements with prob. 5%, measurement components replaced with (y t ) i = (v t ) i so, get a flawed measurement (i.e., z t 0) every other step (or so) Spencer Schantz Lecture, Lehigh University, 12/6/10 18
20 State estimation error x ˆx t t 2 for KF (red); robust KF (blue); KF with z = 0 (gray) 0.5 Spencer Schantz Lecture, Lehigh University, 12/6/10 19
21 Robust Kalman filter solve time robust KF requires solution of QP with 95 vars, 15 eqs, 30 ineqs automatically generated code solves QP in 120 µs (SDPT3: 120 ms) standard Kalman filter update requires 10 µs Spencer Schantz Lecture, Lehigh University, 12/6/10 20
22 Linearizing pre-equalizer linear dynamical system with input saturation h y we ll design pre-equalizer to compensate for saturation effects u equalizer v h y Spencer Schantz Lecture, Lehigh University, 12/6/10 21
23 Linearizing pre-equalizer h u e equalizer v h goal: minimize error e (say, in mean-square sense) pre-equalizer has T sample look-ahead capability Spencer Schantz Lecture, Lehigh University, 12/6/10 22
24 system: x t+1 = Ax t +Bsat(v t ), y t = Cx t (linear) reference system: x ref t+1 = Ax ref t +Bu t, yt ref = Cx ref t e t = Cx ref t Cx t state error x t = x ref t x t satisfies x t+1 = A x t +B(u t v t ), e t = C x t to choose v t, solve QP t+t minimize τ=t e2 τ + x T t+t+1 P x t+t+1 subject to x τ+1 = A x τ +B(u τ v τ ), e τ = C x τ, τ = t,...,t+t v τ 1, τ = t,...,t+t P gives final cost; obvious choice is output Grammian Spencer Schantz Lecture, Lehigh University, 12/6/10 23
25 Example state dimension n = 3; h decays in around 35 samples pre-equalizer look-ahead T = 15 samples input u random, saturates ( u t > 1) 20% of time Spencer Schantz Lecture, Lehigh University, 12/6/10 24
26 Outputs desired (black), no compensation (red), equalized (blue) Spencer Schantz Lecture, Lehigh University, 12/6/10 25
27 Errors no compensation (red), with equalization (blue) Spencer Schantz Lecture, Lehigh University, 12/6/10 26
28 Inputs no compensation (red), with equalization (blue) Spencer Schantz Lecture, Lehigh University, 12/6/10 27
29 Linearizing pre-equalizer solve time pre-equalizer problem reduces to QP with 96 vars, 63 eqs, 48 ineqs automatically generated code solves QP in 600µs (SDPT3: 310ms) Spencer Schantz Lecture, Lehigh University, 12/6/10 28
30 Constrained linear quadratic stochastic control linear dynamical system: x t+1 = Ax t +Bu t +w t x t R n is state; u t U R m is control input w t is IID zero mean disturbance u t = φ(x t ), where φ : R n U is (state feedback) policy objective: minimize average expected stage cost (Q 0, R > 0) J = lim T 1 T T 1 t=0 E ( x T t Qx t +u T t Ru t ) constrained LQ stochastic control problem: choose φ to minimize J Spencer Schantz Lecture, Lehigh University, 12/6/10 29
31 Constrained linear quadratic stochastic control optimal policy has form φ(z) = argmin{v T Rv +EV(Az +Bv +w t )} v U where V is Bellman function but V is hard to find/describe except when U = R m (in which case V is quadratic) many heuristic methods give suboptimal policies, e.g. projected linear control control-lyapunov policy model predictive control, certainty-equivalent planning Spencer Schantz Lecture, Lehigh University, 12/6/10 30
32 Control-Lyapunov policy also called approximate dynamic programming, horizon-1 model predictive control CLF policy is φ clf (z) = argmin{v T Rv +EV clf (Az +Bv +w t )} v U where V clf : R n R is the control-lyapunov function evaluating u t = φ clf (x t ) requires solving an optimization problem at each step many tractable methods can be used to find a good V clf often works really well Spencer Schantz Lecture, Lehigh University, 12/6/10 31
33 Quadratic control-lyapunov policy assume polyhedral constraint set: U = {v Fv g}, g R k quadratic control-lyapunov function: V clf (z) = z T Pz evaluating u t = φ clf (x t ) reduces to solving QP minimize v T Rv +(Az +Bv) T P(Az +Bv) subject to Fv g Spencer Schantz Lecture, Lehigh University, 12/6/10 32
34 Control-Lyapunov policy evaluation times t clf : time to evaluate φ clf (z) t lin : linear policy φ lin (z) = Kz t kf : Kalman filter update (SDPT3 times around 1000 larger) n m k t clf (µs) t lin (µs) t kf (µs) Spencer Schantz Lecture, Lehigh University, 12/6/10 33
35 Outline Real-time embedded convex optimization Examples Parser/solvers for convex optimization Code generation for real-time embedded convex optimization Spencer Schantz Lecture, Lehigh University, 12/6/10 34
36 Parser/solvers for convex optimization specify convex problem in natural form declare optimization variables form convex objective and constraints using a specific set of atoms and calculus rules (disciplined convex programming) problem is convex-by-construction easy to parse, automatically transform to standard form, solve, and transform back implemented using object-oriented methods and/or compiler-compilers huge gain in productivity (rapid prototyping, teaching, research ideas) Spencer Schantz Lecture, Lehigh University, 12/6/10 35
37 parser/solver written in Matlab Example: cvx convex problem, with variable x R n ; A, b, λ, F, g constants cvx specification: minimize Ax b 2 +λ x 1 subject to Fx g cvx begin variable x(n) % declare vector variable minimize (norm(a*x-b,2) + lambda*norm(x,1)) subject to F*x <= g cvx end Spencer Schantz Lecture, Lehigh University, 12/6/10 36
38 when cvx processes this specification, it verifies convexity of problem generates equivalent cone problem (here, an SOCP) solves it using SDPT3 or SeDuMi transforms solution back to original problem the cvx code is easy to read, understand, modify Spencer Schantz Lecture, Lehigh University, 12/6/10 37
39 The same example, transformed by hand transform problem to SOCP, call SeDuMi, reconstruct solution: % Set up big matrices. [m,n] = size(a); [p,n] = size(f); AA = [speye(n), -speye(n), speye(n), sparse(n,p+m+1);... F, sparse(p,2*n), speye(p), sparse(p,m+1);... A, sparse(m,2*n+p), speye(m), sparse(m,1)]; bb = [zeros(n,1); g; b]; cc = [zeros(n,1); gamma*ones(2*n,1); zeros(m+p,1); 1]; K.f = m; K.l = 2*n+p; K.q = m + 1; % specify cone xx = sedumi(aa, bb, cc, K); % solve SOCP x = x(1:n); % extract solution Spencer Schantz Lecture, Lehigh University, 12/6/10 38
40 Outline Real-time embedded convex optimization Examples Parser/solvers for convex optimization Code generation for real-time embedded convex optimization Spencer Schantz Lecture, Lehigh University, 12/6/10 39
41 General vs. embedded solvers general solver (say, for QP) handles single problem instances with any dimensions, sparsity pattern typically optimized for large problems must deliver high accuracy variable execution time: stops when tolerance achieved embedded solver solves many instances of the same problem family (dimensions, sparsity pattern) with different data solves small or smallish problems can deliver lower (application dependent) accuracy often must satisfy hard real-time deadline Spencer Schantz Lecture, Lehigh University, 12/6/10 40
42 (if a general solver works, use it) otherwise, develop custom code Embedded solvers by hand automatically via code generation can exploit known sparsity pattern, data ranges, required tolerance at solver code development time we ve had good results with interior-point methods; other methods (e.g., active set, first order) might work well too typical speed-up over (efficient) general solver: Spencer Schantz Lecture, Lehigh University, 12/6/10 41
43 Convex optimization solver generation specify convex problem family in natural form, via disciplined convex programming declare optimization variables, parameters form convex objective and constraints using a specific set of atoms and calculus rules code generator analyzes problem structure (dimensions, sparsity,... ) chooses elimination ordering generates solver code for specific problem family idea: spend (perhaps much) time generating code save (hopefully much) time solving problem instances Spencer Schantz Lecture, Lehigh University, 12/6/10 42
44 lacements Parser/solver vs. code generator Problem instance Parser/solver x Problem family description Code generator Source code Compiler Custom solver Problem instance Custom solver x Spencer Schantz Lecture, Lehigh University, 12/6/10 43
45 cvxgen code generator handles problems transformable to QP accepts high-level problem family description generates flat C source, auxiliary files, documentation no libraries, almost branch-free primal-dual interior-point method with iteration limit direct LDL T factorization of KKT matrix regularization and iterative refinement for extreme reliability (slow) method to determine static variable ordering explicit factorization code generated Spencer Schantz Lecture, Lehigh University, 12/6/10 44
46 cvxgen example specification dimensions n = 30 # assets. parameters alpha (n) # mean returns. lambda nonnegative # risk aversion. Sigma (n,n) psd # covariance. eta nonnegative # limit on total short position. variables w (n) # asset weights. maximize alpha *w - lambda*quad(w,sigma) # risk adjusted mean return. subject to sum(w) == 1 # budget constraint. sum(neg(w)) <= eta # limit on total short position. Spencer Schantz Lecture, Lehigh University, 12/6/10 45
47 Sample solve times for cvxgen generated code Scheduling Battery Suspension Variables Constraints CVX, Intel i7 4.2 s 1.3 s 2.6 s CVXGEN, Intel i7 850 µs 360 µs 110 µs CVXGEN, Atom 7.7 ms 4.0 ms 1.0 ms Spencer Schantz Lecture, Lehigh University, 12/6/10 46
48 Conclusions can solve convex problems on millisecond, microsecond time scales (using existing algorithms, but not using existing codes) there should be many applications parser/solvers make rapid prototyping easy new code generation methods yield solvers that are extremely fast, even competitive with analytical methods can be embedded in real-time applications Spencer Schantz Lecture, Lehigh University, 12/6/10 47
49 References Automatic Code Generation for Real-Time Convex Optimization (Mattingley, Boyd) Real-Time Convex Optimization in Signal Processing (Mattingley, Boyd) Code Generation for Receding Horizon Control (Mattingley, Boyd) Fast Evaluation of Quadratic Control-Lyapunov Policy (Wang, Boyd) Fast Model Predictive Control Using Online Optimization (Wang, Boyd) cvx (Grant, Boyd, Ye) cvxgen (Mattingley, Boyd) Spencer Schantz Lecture, Lehigh University, 12/6/10 48
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
Lecture 13 Linear quadratic Lyapunov theory
EE363 Winter 28-9 Lecture 13 Linear quadratic Lyapunov theory the Lyapunov equation Lyapunov stability conditions the Lyapunov operator and integral evaluating quadratic integrals analysis of ARE discrete-time
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
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
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 [email protected] In fact, the great watershed in optimization isn t between linearity
Conic optimization: examples and software
Conic optimization: examples and software Etienne de Klerk Tilburg University, The Netherlands Etienne de Klerk (Tilburg University) Conic optimization: examples and software 1 / 16 Outline Conic optimization
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
An Introduction on SemiDefinite Program
An Introduction on SemiDefinite Program from the viewpoint of computation Hayato Waki Institute of Mathematics for Industry, Kyushu University 2015-10-08 Combinatorial Optimization at Work, Berlin, 2015
Java Modules for Time Series Analysis
Java Modules for Time Series Analysis Agenda Clustering Non-normal distributions Multifactor modeling Implied ratings Time series prediction 1. Clustering + Cluster 1 Synthetic Clustering + Time series
Advances in Convex Optimization: Interior-point Methods, Cone Programming, and Applications
Advances in Convex Optimization: Interior-point Methods, Cone Programming, and Applications Stephen Boyd Electrical Engineering Department Stanford University (joint work with Lieven Vandenberghe, UCLA)
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
Duality in General Programs. Ryan Tibshirani Convex Optimization 10-725/36-725
Duality in General Programs Ryan Tibshirani Convex Optimization 10-725/36-725 1 Last time: duality in linear programs Given c R n, A R m n, b R m, G R r n, h R r : min x R n c T x max u R m, v R r b T
Probability and Random Variables. Generation of random variables (r.v.)
Probability and Random Variables Method for generating random variables with a specified probability distribution function. Gaussian And Markov Processes Characterization of Stationary Random Process Linearly
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA
2015 School of Information Technology and Electrical Engineering at the University of Queensland TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA Schedule Week Date
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
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
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
8. Linear least-squares
8. Linear least-squares EE13 (Fall 211-12) definition examples and applications solution of a least-squares problem, normal equations 8-1 Definition overdetermined linear equations if b range(a), cannot
Automated Stellar Classification for Large Surveys with EKF and RBF Neural Networks
Chin. J. Astron. Astrophys. Vol. 5 (2005), No. 2, 203 210 (http:/www.chjaa.org) Chinese Journal of Astronomy and Astrophysics Automated Stellar Classification for Large Surveys with EKF and RBF Neural
Lecture 5 Least-squares
EE263 Autumn 2007-08 Stephen Boyd Lecture 5 Least-squares least-squares (approximate) solution of overdetermined equations projection and orthogonality principle least-squares estimation BLUE property
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
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
APPM4720/5720: Fast algorithms for big data. Gunnar Martinsson The University of Colorado at Boulder
APPM4720/5720: Fast algorithms for big data Gunnar Martinsson The University of Colorado at Boulder Course objectives: The purpose of this course is to teach efficient algorithms for processing very large
CVXGEN: a code generator for embedded convex optimization
Optim Eng (2012) 13:1 27 DOI 10.1007/s11081-011-9176-9 CVXGEN: a code generator for embedded convex optimization Jacob Mattingley Stephen Boyd Received: 4 April 2011 / Accepted: 4 October 2011 / Published
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
Course 8. An Introduction to the Kalman Filter
Course 8 An Introduction to the Kalman Filter Speakers Greg Welch Gary Bishop Kalman Filters in 2 hours? Hah! No magic. Pretty simple to apply. Tolerant of abuse. Notes are a standalone reference. These
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
Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh
Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh Peter Richtárik Week 3 Randomized Coordinate Descent With Arbitrary Sampling January 27, 2016 1 / 30 The Problem
Applications to Data Smoothing and Image Processing I
Applications to Data Smoothing and Image Processing I MA 348 Kurt Bryan Signals and Images Let t denote time and consider a signal a(t) on some time interval, say t. We ll assume that the signal a(t) is
Convex Optimization. Lieven Vandenberghe University of California, Los Angeles
Convex Optimization Lieven Vandenberghe University of California, Los Angeles Tutorial lectures, Machine Learning Summer School University of Cambridge, September 3-4, 2009 Sources: Boyd & Vandenberghe,
MIMO CHANNEL CAPACITY
MIMO CHANNEL CAPACITY Ochi Laboratory Nguyen Dang Khoa (D1) 1 Contents Introduction Review of information theory Fixed MIMO channel Fading MIMO channel Summary and Conclusions 2 1. Introduction The use
1 Finite difference example: 1D implicit heat equation
1 Finite difference example: 1D implicit heat equation 1.1 Boundary conditions Neumann and Dirichlet We solve the transient heat equation ρc p t = ( k ) (1) on the domain L/2 x L/2 subject to the following
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 [email protected] Nonlinear optimization c 2006 Jean-Philippe Vert,
Kalman Filter Applied to a Active Queue Management Problem
IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-issn: 2278-1676,p-ISSN: 2320-3331, Volume 9, Issue 4 Ver. III (Jul Aug. 2014), PP 23-27 Jyoti Pandey 1 and Prof. Aashih Hiradhar 2 Department
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
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
FE570 Financial Markets and Trading. Stevens Institute of Technology
FE570 Financial Markets and Trading Lecture 13. Execution Strategies (Ref. Anatoly Schmidt CHAPTER 13 Execution Strategies) Steve Yang Stevens Institute of Technology 11/27/2012 Outline 1 Execution Strategies
6. Cholesky factorization
6. Cholesky factorization EE103 (Fall 2011-12) triangular matrices forward and backward substitution the Cholesky factorization solving Ax = b with A positive definite inverse of a positive definite matrix
Lecture 2 Linear functions and examples
EE263 Autumn 2007-08 Stephen Boyd Lecture 2 Linear functions and examples linear equations and functions engineering examples interpretations 2 1 Linear equations consider system of linear equations y
Simple and efficient online algorithms for real world applications
Simple and efficient online algorithms for real world applications Università degli Studi di Milano Milano, Italy Talk @ Centro de Visión por Computador Something about me PhD in Robotics at LIRA-Lab,
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)
EDUMECH Mechatronic Instructional Systems. Ball on Beam System
EDUMECH Mechatronic Instructional Systems Ball on Beam System Product of Shandor Motion Systems Written by Robert Hirsch Ph.D. 998-9 All Rights Reserved. 999 Shandor Motion Systems, Ball on Beam Instructional
Methods for Vibration Analysis
. 17 Methods for Vibration Analysis 17 1 Chapter 17: METHODS FOR VIBRATION ANALYSIS 17 2 17.1 PROBLEM CLASSIFICATION According to S. H. Krandall (1956), engineering problems can be classified into three
WEEK #3, Lecture 1: Sparse Systems, MATLAB Graphics
WEEK #3, Lecture 1: Sparse Systems, MATLAB Graphics Visualization of Matrices Good visuals anchor any presentation. MATLAB has a wide variety of ways to display data and calculation results that can be
Language Modeling. Chapter 1. 1.1 Introduction
Chapter 1 Language Modeling (Course notes for NLP by Michael Collins, Columbia University) 1.1 Introduction In this chapter we will consider the the problem of constructing a language model from a set
STORM: Stochastic Optimization Using Random Models Katya Scheinberg Lehigh University. (Joint work with R. Chen and M. Menickelly)
STORM: Stochastic Optimization Using Random Models Katya Scheinberg Lehigh University (Joint work with R. Chen and M. Menickelly) Outline Stochastic optimization problem black box gradient based Existing
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
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 [email protected] http://www.ma.man.ac.uk/~higham/ Joint work with Rüdiger
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
Summer course on Convex Optimization. Fifth Lecture Interior-Point Methods (1) Michel Baes, K.U.Leuven Bharath Rangarajan, U.
Summer course on Convex Optimization Fifth Lecture Interior-Point Methods (1) Michel Baes, K.U.Leuven Bharath Rangarajan, U.Minnesota Interior-Point Methods: the rebirth of an old idea Suppose that f is
Matlab and Simulink. Matlab and Simulink for Control
Matlab and Simulink for Control Automatica I (Laboratorio) 1/78 Matlab and Simulink CACSD 2/78 Matlab and Simulink for Control Matlab introduction Simulink introduction Control Issues Recall Matlab design
Sample Size Calculation for Longitudinal Studies
Sample Size Calculation for Longitudinal Studies Phil Schumm Department of Health Studies University of Chicago August 23, 2004 (Supported by National Institute on Aging grant P01 AG18911-01A1) Introduction
INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition)
INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition) Abstract Indirect inference is a simulation-based method for estimating the parameters of economic models. Its
Blind Deconvolution of Barcodes via Dictionary Analysis and Wiener Filter of Barcode Subsections
Blind Deconvolution of Barcodes via Dictionary Analysis and Wiener Filter of Barcode Subsections Maximilian Hung, Bohyun B. Kim, Xiling Zhang August 17, 2013 Abstract While current systems already provide
10. Proximal point method
L. Vandenberghe EE236C Spring 2013-14) 10. Proximal point method proximal point method augmented Lagrangian method Moreau-Yosida smoothing 10-1 Proximal point method a conceptual algorithm for minimizing
Big Data Optimization at SAS
Big Data Optimization at SAS Imre Pólik et al. SAS Institute Cary, NC, USA Edinburgh, 2013 Outline 1 Optimization at SAS 2 Big Data Optimization at SAS The SAS HPA architecture Support vector machines
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
Automatic Stress and Load Testing for Embedded Systems
Automatic Stress and Load Testing for Embedded Systems Mohamad S. Bayan João W. Cangussu Department of Computer Science University of Texas at Dallas msb021000,cangussu @utdallas.edu Abstract Load and
Introduction to Engineering System Dynamics
CHAPTER 0 Introduction to Engineering System Dynamics 0.1 INTRODUCTION The objective of an engineering analysis of a dynamic system is prediction of its behaviour or performance. Real dynamic systems are
Parameter Estimation for Bingham Models
Dr. Volker Schulz, Dmitriy Logashenko Parameter Estimation for Bingham Models supported by BMBF Parameter Estimation for Bingham Models Industrial application of ceramic pastes Material laws for Bingham
CCNY. BME I5100: Biomedical Signal Processing. Linear Discrimination. Lucas C. Parra Biomedical Engineering Department City College of New York
BME I5100: Biomedical Signal Processing Linear Discrimination Lucas C. Parra Biomedical Engineering Department CCNY 1 Schedule Week 1: Introduction Linear, stationary, normal - the stuff biology is not
A REVIEW OF FAST l 1 -MINIMIZATION ALGORITHMS FOR ROBUST FACE RECOGNITION
A REVIEW OF FAST l 1 -MINIMIZATION ALGORITHMS FOR ROBUST FACE RECOGNITION ALLEN Y. YANG, ARVIND GANESH, ZIHAN ZHOU, S. SHANKAR SASTRY, AND YI MA Abstract. l 1 -minimization refers to finding the minimum
FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT MINING SYSTEM
International Journal of Innovative Computing, Information and Control ICIC International c 0 ISSN 34-48 Volume 8, Number 8, August 0 pp. 4 FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT
Single item inventory control under periodic review and a minimum order quantity
Single item inventory control under periodic review and a minimum order quantity G. P. Kiesmüller, A.G. de Kok, S. Dabia Faculty of Technology Management, Technische Universiteit Eindhoven, P.O. Box 513,
Real-Time Systems Versus Cyber-Physical Systems: Where is the Difference?
Real-Time Systems Versus Cyber-Physical Systems: Where is the Difference? Samarjit Chakraborty www.rcs.ei.tum.de TU Munich, Germany Joint work with Dip Goswami*, Reinhard Schneider #, Alejandro Masrur
TWO L 1 BASED NONCONVEX METHODS FOR CONSTRUCTING SPARSE MEAN REVERTING PORTFOLIOS
TWO L 1 BASED NONCONVEX METHODS FOR CONSTRUCTING SPARSE MEAN REVERTING PORTFOLIOS XIAOLONG LONG, KNUT SOLNA, AND JACK XIN Abstract. We study the problem of constructing sparse and fast mean reverting portfolios.
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
2+2 Just type and press enter and the answer comes up ans = 4
Demonstration Red text = commands entered in the command window Black text = Matlab responses Blue text = comments 2+2 Just type and press enter and the answer comes up 4 sin(4)^2.5728 The elementary functions
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
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,
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
The Filtered-x LMS Algorithm
The Filtered-x LMS Algorithm L. Håkansson Department of Telecommunications and Signal Processing, University of Karlskrona/Ronneby 372 25 Ronneby Sweden Adaptive filters are normally defined for problems
Controller Design in Frequency Domain
ECSE 4440 Control System Engineering Fall 2001 Project 3 Controller Design in Frequency Domain TA 1. Abstract 2. Introduction 3. Controller design in Frequency domain 4. Experiment 5. Colclusion 1. Abstract
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: [email protected] Modeling
Solutions Of Some Non-Linear Programming Problems BIJAN KUMAR PATEL. Master of Science in Mathematics. Prof. ANIL KUMAR
Solutions Of Some Non-Linear Programming Problems A PROJECT REPORT submitted by BIJAN KUMAR PATEL for the partial fulfilment for the award of the degree of Master of Science in Mathematics under the supervision
Parameter identification of a linear single track vehicle model
Parameter identification of a linear single track vehicle model Edouard Davin D&C 2011.004 Traineeship report Coach: dr. Ir. I.J.M. Besselink Supervisors: prof. dr. H. Nijmeijer Eindhoven University of
2004 Networks UK Publishers. Reprinted with permission.
Riikka Susitaival and Samuli Aalto. Adaptive load balancing with OSPF. In Proceedings of the Second International Working Conference on Performance Modelling and Evaluation of Heterogeneous Networks (HET
Multivariate normal distribution and testing for means (see MKB Ch 3)
Multivariate normal distribution and testing for means (see MKB Ch 3) Where are we going? 2 One-sample t-test (univariate).................................................. 3 Two-sample t-test (univariate).................................................
Least Squares Estimation
Least Squares Estimation SARA A VAN DE GEER Volume 2, pp 1041 1045 in Encyclopedia of Statistics in Behavioral Science ISBN-13: 978-0-470-86080-9 ISBN-10: 0-470-86080-4 Editors Brian S Everitt & David
PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 4: LINEAR MODELS FOR CLASSIFICATION
PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 4: LINEAR MODELS FOR CLASSIFICATION Introduction In the previous chapter, we explored a class of regression models having particularly simple analytical
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
Using MATLAB in a Graduate Electrical Engineering Optimal Control Course
Using MATLAB in a Graduate Electrical Engineering Optimal Control Course Asad Azemi Department of Electrical Engineering Penn State University Great Valley Campus Malvern, PA 19355-1443 Abstract - Control
Week 1 Lecture: (1) Course Introduction (2) Data Analysis and Processing
Week 1 Lecture: (1) Course Introduction (2) Data Analysis and Processing January 11, 2016 Welcome, Class! Instructor: C. Thomas Chiou, [email protected] Teaching assistant: Jared Taylor, [email protected]
CALIBRATION OF A ROBUST 2 DOF PATH MONITORING TOOL FOR INDUSTRIAL ROBOTS AND MACHINE TOOLS BASED ON PARALLEL KINEMATICS
CALIBRATION OF A ROBUST 2 DOF PATH MONITORING TOOL FOR INDUSTRIAL ROBOTS AND MACHINE TOOLS BASED ON PARALLEL KINEMATICS E. Batzies 1, M. Kreutzer 1, D. Leucht 2, V. Welker 2, O. Zirn 1 1 Mechatronics Research
Real Time Simulation for Off-Road Vehicle Analysis. Dr. Pasi Korkealaakso Mevea Ltd., May 2015
Real Time Simulation for Off-Road Vehicle Analysis Dr. Pasi Korkealaakso Mevea Ltd., May 2015 Contents Introduction Virtual machine model Machine interaction with environment and realistic environment
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
So which is the best?
Manifold Learning Techniques: So which is the best? Todd Wittman Math 8600: Geometric Data Analysis Instructor: Gilad Lerman Spring 2005 Note: This presentation does not contain information on LTSA, which
Probability Generating Functions
page 39 Chapter 3 Probability Generating Functions 3 Preamble: Generating Functions Generating functions are widely used in mathematics, and play an important role in probability theory Consider a sequence
For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )
Probability Review 15.075 Cynthia Rudin A probability space, defined by Kolmogorov (1903-1987) consists of: A set of outcomes S, e.g., for the roll of a die, S = {1, 2, 3, 4, 5, 6}, 1 1 2 1 6 for the roll
METHODOLOGICAL CONSIDERATIONS OF DRIVE SYSTEM SIMULATION, WHEN COUPLING FINITE ELEMENT MACHINE MODELS WITH THE CIRCUIT SIMULATOR MODELS OF CONVERTERS.
SEDM 24 June 16th - 18th, CPRI (Italy) METHODOLOGICL CONSIDERTIONS OF DRIVE SYSTEM SIMULTION, WHEN COUPLING FINITE ELEMENT MCHINE MODELS WITH THE CIRCUIT SIMULTOR MODELS OF CONVERTERS. Áron Szûcs BB Electrical
Nonlinear Algebraic Equations Example
Nonlinear Algebraic Equations Example Continuous Stirred Tank Reactor (CSTR). Look for steady state concentrations & temperature. s r (in) p,i (in) i In: N spieces with concentrations c, heat capacities
CSCI567 Machine Learning (Fall 2014)
CSCI567 Machine Learning (Fall 2014) Drs. Sha & Liu {feisha,yanliu.cs}@usc.edu September 22, 2014 Drs. Sha & Liu ({feisha,yanliu.cs}@usc.edu) CSCI567 Machine Learning (Fall 2014) September 22, 2014 1 /
Robotics & Automation
Robotics & Automation Levels: Grades 10-12 Units of Credit: 1.0 CIP Code: 21.0117 Core Code: 38-01-00-00-130 Prerequisite: None Skill Test: 612 COURSE DESCRIPTION Robotics & Automation is a lab-based,
Hybrid processing of SCADA and synchronized phasor measurements for tracking network state
IEEE PES General Meeting, Denver, USA, July 2015 1 Hybrid processing of SCADA and synchronized phasor measurements for tracking network state Boris Alcaide-Moreno Claudio Fuerte-Esquivel Universidad Michoacana
Understanding and Applying Kalman Filtering
Understanding and Applying Kalman Filtering Lindsay Kleeman Department of Electrical and Computer Systems Engineering Monash University, Clayton 1 Introduction Objectives: 1. Provide a basic understanding
