Abstract Acceleration of General Linear Loops
|
|
- Moses Lane
- 5 years ago
- Views:
Transcription
1 Abstract Acceleration of General Linear Loops Bertrand Jeannet, Peter Schrammel, Sriram Sankaranarayanan Principles of Programming Languages, POPL 14 San Diego, CA
2 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs).
3 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories.
4 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories. while(3*y+x<=10){ x = x+1; y = y+x; }
5 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories. while(y<=3){ x = 1.5*x; y = y+1; }
6 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories. while(y<=10){ } x = 1.1*x *y; y = 0.05*x + 1.1*y;
7 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories.
8 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories.
9 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories.
10 Motivation and Challenge Motivation Inferring polyhedral invariants on programs containing non-trivial numerical loops (e.g. control programs). Challenge Linear loops generate non-linear trajectories. Goal Compute convex polyhedra containing all such trajectories.
11 Existing Techniques Standard polyhedral analysis (Cousot&Halbwachs 1978) Compute iteratively (α τ γ) (X) Interproc,... Not precise Thresholds, landmarks, abstract acceleration,... improve precision for linear behavior
12 Existing Techniques Standard polyhedral analysis (Cousot&Halbwachs 1978) Compute iteratively (α τ γ) (X) Interproc,... Not precise Thresholds, landmarks, abstract acceleration,... improve precision for linear behavior Non-linear constraint solving (Colon et al 2003, Sankaranarayanan et al 2004) Solving directly X = τ(x) over convex polyhedra X Relaxation and reduction to non-linear constraint solving problem Sting
13 Existing Techniques Standard polyhedral analysis (Cousot&Halbwachs 1978) Compute iteratively (α τ γ) (X) Interproc,... Not precise Thresholds, landmarks, abstract acceleration,... improve precision for linear behavior Non-linear constraint solving (Colon et al 2003, Sankaranarayanan et al 2004) Solving directly X = τ(x) over convex polyhedra X Relaxation and reduction to non-linear constraint solving problem Sting Ellipsoid methods (Kurzhanski&Varaiya 2000, Feret 2004,...) Restricted to stable loops Astrée
14 Existing Techniques Standard polyhedral analysis (Cousot&Halbwachs 1978) Compute iteratively (α τ γ) (X) Interproc,... Not precise Thresholds, landmarks, abstract acceleration,... improve precision for linear behavior Non-linear constraint solving (Colon et al 2003, Sankaranarayanan et al 2004) Solving directly X = τ(x) over convex polyhedra X Relaxation and reduction to non-linear constraint solving problem Sting Ellipsoid methods (Kurzhanski&Varaiya 2000, Feret 2004,...) Restricted to stable loops Astrée...
15 Thermostat assume(temp ext =14 && 16 temp 17); while(1) { time = 0; while(temp 22.0) { temp = (15.0*temp - temp ext )/16.0; time++; } time = 0; while(temp 18.0) { temp = (15.0*temp - temp ext )/16.0; time++; } } heater on heater off
16 Thermostat temp Interproc time
17 Thermostat temp Astrée Interproc time
18 Thermostat temp Sting Astrée 14 Interproc time
19 Thermostat temp Sting our approach Astrée Interproc time
20 Existing Techniques Standard polyhedral analysis (Cousot&Halbwachs 1978) Compute iteratively (α τ γ) (X) Not precise Interproc,... Thresholds, landmarks, abstract acceleration,... improve precision for linear behavior Non-linear constraint All these solving methods (Colon alcompute 2003, Sankaranarayanan et al 2004) Solving directly X = τ(x) inductive overinvariants convex polyhedra X Relaxation and reduction in abstractodomains non-linear tooconstraint weak solving problemto express precise invariants of linear systems. Sting Ellipsoid methods (Kurzhanski&Varaiya 2000, Feret 2004,...) Restricted to stable loops Astrée...
21 Abstract Acceleration of Linear Loops (Gonnord&Halbwachs 2006) Approach Given a linear loop τ = ( G x h x = A x + b ) provide an operator s.t. τ α τ γ in the convex polyhedra domain.
22 Abstract Acceleration of Linear Loops (Gonnord&Halbwachs 2006) Approach Given a linear loop τ = ( G x h x = A x + b ) provide an operator s.t. τ α τ γ (vs. Kleene: (α τ γ) ) in the convex polyhedra domain.
23 Abstract Acceleration of Linear Loops (Gonnord&Halbwachs 2006) Approach Given a linear loop τ = ( G x h x = A x + b ) provide an operator s.t. τ α τ γ (vs. Kleene: (α τ γ) ) in the convex polyhedra domain. Then, given a polyhedron X τ (X) is a precise over-approximation of τ (X)
24 Contribution Abstract acceleration of any linear loop τ Integrates smoothly into a static analyzer
25 Contribution Abstract acceleration of any linear loop τ Integrates smoothly into a static analyzer
26 Our Approach Loops without guard convex polyhedron X true x = A x template polyhedron A A = {A k k 0} AX }{{} A X = {A k x k 0, x X} convex polyhedron
27 Loop without Guard: Example Example x=x0; y=y0; while true do x=1.5*x; y=y+1; done
28 Loop without Guard: Example Example x=x0; y=y0; while true do x=1.5*x; y=y+1; done Homogeneization: we introduce ξ for constant coefficient x=x0; y=y0; ξ=1; while true do x=1.5*x; y=y+ξ; done
29 Loop without Guard: Example Example x=x0; y=y0; while true do x=1.5*x; y=y+1; done Homogeneization: we introduce ξ for constant coefficient x=x0; y=y0; ξ=1; while true do x=1.5*x; y=y+ξ; done x x Loop: true y = A y with A = ξ ξ 0 0 1
30 Loop without Guard: Example Approximating A 1.5 k 0 0 A k = 0 1 k 0 0 1
31 Loop without Guard: Example Approximating A 1.5 k 0 0 A k = 0 1 k We look for a template polyhedron ϕ A (m 1, m 2 ) such that m A = 0 1 m 2 ϕ A (m 1, m 2 ) A
32 Loop without Guard: Example Approximating A 1.5 k 0 0 A k = 0 1 k We look for a template polyhedron ϕ A (m 1, m 2 ) such that m A = 0 1 m 2 ϕ A (m 1, m 2 ) A Let s consider octagonal templates over m 1 and m 2 : m m ϕ A = m 2 0 ϕ A 1 m 1 m m
33 Loop without Guard: Example Approximating AX with a convex polyhedron Properly multiplying generators (vertices & rays) of A by generators of X
34 Loop without Guard: Example Approximating AX with a convex polyhedron Properly multiplying generators (vertices & rays) of A by generators of X Result on our example: y X x
35 Loop Without Guard: General Case convex polyhedron X true x = A x template polyhedron A A = {A k k 0} AX }{{} A X = {A k x k 0, x X} convex polyhedron
36 Loop Without Guard: General Case convex polyhedron X true x = A x template polyhedron (1) A A = {A k k 0} (2) AX }{{} A X = {A k x k 0, x X} convex polyhedron
37 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form A = Q 1 JQ
38 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form A k = Q 1 J k Q
39 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form A k = Q 1 J k Q coefficients of the form ( k ) p λ k p cos((k p)θ r π 2 )
40 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form at most n distinct coefficients A k = Q 1 J k Q coefficients of the form ) λ k p cos((k p)θ r π 2 ) ( k p
41 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form at most n distinct coefficients A k = Q 1 J k Q coefficients of the form ) λ k p cos((k p)θ r π 2 ) ( k p (b) Over-approximation of J by a template polyhedron J vector of coefficients of J k { m l i e i ( m) u i }
42 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form at most n distinct coefficients A k = Q 1 J k Q coefficients of the form ) λ k p cos((k p)θ r π 2 ) ( k p (b) Over-approximation of J by a template polyhedron J vector of template expressions coefficients of J k (e.g. logahedra) { m l i e i ( m) u i }
43 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form at most n distinct coefficients A k = Q 1 J k Q coefficients of the form ) λ k p cos((k p)θ r π 2 ) ( k p (b) Over-approximation of J by a template polyhedron J vector of coefficients of J k { m l i e i ( m) u i } template expressions (e.g. logahedra) lower and upper bounds computed by asymptotic analysis techniques
44 (1) Over-approximation of A by A (a) Closed-Form Expression of A k real Jordan normal form at most n distinct coefficients A k = Q 1 J k Q coefficients of the form ) λ k p cos((k p)θ r π 2 ) ( k p (b) Over-approximation of J by a template polyhedron J vector of coefficients of J k (c) A = Q 1 J Q { m l i e i ( m) u i } template expressions (e.g. logahedra) lower and upper bounds computed by asymptotic analysis techniques
45 (2) Computing AX AX = {A x A A x X}
46 (2) Computing AX AX = {A x A A x X} 1 In general: neither convex nor a polyhedron! 0 0 1
47 (2) Computing AX AX = {A x A A x X} 1 In general: neither convex nor a polyhedron! Over-approximate AX AX ConvexSpan(V 1 V }{{ 2, V } 1 R 2 R 1 V 2 R 1 R 2 ) }{{} vertices rays
48 (2) Computing AX AX = {A x A A x X} 1 In general: neither convex nor a polyhedron! Over-approximate AX AX ConvexSpan(V 1 V }{{ 2, V } 1 R 2 R 1 V 2 R 1 R 2 ) }{{} vertices rays Best convex over-approximation if R 1 = R 2 =
49 Loop without Guard: Example 2 τ = true x 0.8 cos π sin π 6 0 = 0.8 sin π cos π 6 0 x m 1 m 2 0 A A = m 2 m 1 0 ϕ A (m 1, m 2 ) τ (X) = AX With octagonal template: 1 m 2 3 y m 1 1 X x
50 Loop with Guard convex polyhedron X G x 0 x = A x maximum number of iterations template polyhedron with N = argmin k 0 GA k x > 0 A [0,N] A [0,N] = {A k 0 k N} A [0,N] X A [0,N] X }{{} convex polyhedron
51 Loop with Guard: Example Program We want to compute a loop invariant of x=x0; y=y0; while y<=3 do x = 1.5*x; y = y+1; done with X(x 0, y 0 ) = x 0 [1, 3] y 0 [0, 2] Computing the maximum number of iterations y 0 [0, 2] y =y+1 y 3 = max nb. of iterations N = 4
52 Loop with Guard: Example Exploiting the maximum number of iterations We compute X τ ( A [0,3] (X G) ) }{{} y m x A [0,3] A [0, ] m 1 y 3
53 Influence of Template for Approximating A Program x=x0; y=y0; while x+2*y <= 100 do x = 1.5*x; y = y+1; done with X(x 0, y 0 ) = x 0 [1, 3] y 0 [0, 2] Result y X x+2y template expressions 8 template expressions N = x
54 Implementation and Experiments Implementation Based on Apron for polyhedral computations Sage for computation of Jordan normal form Loops with conditionals transformed into multiple self-loops Acceleration of inner loops, widening for outer loops Benchmarks Small filters (single loops) Forced oscillator with stable and unstable switching modes (nested loops) Thermostat system (nested loops) Car convoy car2 car1 car0 x 2 x 1 x 0 for all i [1, N 1] : ẍ i = c(ẋ i 1 ẋ i )+d(x i 1 x i 50)
55 Experimental Results: Inferred Bounds Percentage of inferred bounds that are finite 100% 80% 60% 40% * * * * * * * INTERPROC STING Our Approach 20% * * * * * 0% * * * Benchmarks *
56 Experimental Results: Analysis Time Analysis time 10 5 timed out * * * * * * * * * * * INTERPROC STING Our Approach * * * * * Benchmarks
57 Summary and Prospects Contribution Precise polyhedral overapproximation of general linear loops Matrix abstract domain Precise loop bound estimation Integrates smoothly into static analyzer
58 Summary and Prospects Contribution Precise polyhedral overapproximation of general linear loops Matrix abstract domain Precise loop bound estimation Integrates smoothly into static analyzer Rationale of the Approach Use non-linear deductions within polyhedra analysis
59 Summary and Prospects Contribution Precise polyhedral overapproximation of general linear loops Matrix abstract domain Precise loop bound estimation Integrates smoothly into static analyzer Rationale of the Approach Use non-linear deductions within polyhedra analysis Ongoing Work Open systems (with inputs) Applications Hybrid systems with linear differential equations Stability/termination analysis
The Apron Library. Bertrand Jeannet and Antoine Miné. CAV 09 conference 02/07/2009 INRIA, CNRS/ENS
The Apron Library Bertrand Jeannet and Antoine Miné INRIA, CNRS/ENS CAV 09 conference 02/07/2009 Context : Static Analysis What is it about? Discover properties of a program statically and automatically.
More informationRanking Functions. Linear-Constraint Loops
for Linear-Constraint Loops Amir Ben-Amram 1 for Loops Example 1 (GCD program): while (x > 1, y > 1) if x
More informationInterprocedurally Analysing Linear Inequality Relations
Interprocedurally Analysing Linear Inequality Relations Helmut Seidl, Andrea Flexeder and Michael Petter Technische Universität München, Boltzmannstrasse 3, 85748 Garching, Germany, {seidl, flexeder, petter}@cs.tum.edu,
More informationAVERIST: An Algorithmic Verifier for Stability
Available online at www.sciencedirect.com Electronic Notes in Theoretical Computer Science 317 (2015) 133 139 www.elsevier.com/locate/entcs AVERIST: An Algorithmic Verifier for Stability Pavithra Prabhakar
More informationRelational Abstract Domains for the Detection of Floating-Point Run-Time Errors
ESOP 2004 Relational Abstract Domains for the Detection of Floating-Point Run-Time Errors Antoine Miné École Normale Supérieure Paris FRANCE This work was partially supported by the ASTRÉE RNTL project
More informationAutomatic synthesis of switching controllers for linear hybrid systems: Reachability control
Automatic synthesis of switching controllers for linear hybrid systems: Reachability control Massimo Benerecetti and Marco Faella Università di Napoli Federico II, Italy Abstract. We consider the problem
More informationThe Apron Library. Antoine Miné. CEA Seminar December the 10th, CNRS, École normale supérieure
Antoine Miné CNRS, École normale supérieure CEA Seminar December the 10th, 2007 CEA December the 10th, 2007 Antoine Miné p. 1 / 64 Outline Introduction Introduction Main goals Theoretical background The
More informationInterval Polyhedra: An Abstract Domain to Infer Interval Linear Relationships
Interval Polyhedra: An Abstract Domain to Infer Interval Linear Relationships Liqian Chen 1,2 Antoine Miné 3,2 Ji Wang 1 Patrick Cousot 2,4 1 National Lab. for Parallel and Distributed Processing, Changsha,
More information60 2 Convex sets. {x a T x b} {x ã T x b}
60 2 Convex sets Exercises Definition of convexity 21 Let C R n be a convex set, with x 1,, x k C, and let θ 1,, θ k R satisfy θ i 0, θ 1 + + θ k = 1 Show that θ 1x 1 + + θ k x k C (The definition of convexity
More informationLinear programming and duality theory
Linear programming and duality theory Complements of Operations Research Giovanni Righini Linear Programming (LP) A linear program is defined by linear constraints, a linear objective function. Its variables
More informationMath 113 Calculus III Final Exam Practice Problems Spring 2003
Math 113 Calculus III Final Exam Practice Problems Spring 23 1. Let g(x, y, z) = 2x 2 + y 2 + 4z 2. (a) Describe the shapes of the level surfaces of g. (b) In three different graphs, sketch the three cross
More informationPolicy Iteration within Logico-Numerical Abstract Domains
Policy Iteration within Logico-Numerical Abstract Domains Pascal Sotin 1, Bertrand Jeannet 1, Franck Védrine 2, and Eric Goubault 2 1 INRIA, {Pascal.Sotin,Bertrand.Jeannet}@inria.fr 2 CEA-LIST LMeASI,
More informationFast Algorithms for Octagon Abstract Domain
Research Collection Master Thesis Fast Algorithms for Octagon Abstract Domain Author(s): Singh, Gagandeep Publication Date: 2014 Permanent Link: https://doi.org/10.3929/ethz-a-010154448 Rights / License:
More informationLinear Optimization. Andongwisye John. November 17, Linkoping University. Andongwisye John (Linkoping University) November 17, / 25
Linear Optimization Andongwisye John Linkoping University November 17, 2016 Andongwisye John (Linkoping University) November 17, 2016 1 / 25 Overview 1 Egdes, One-Dimensional Faces, Adjacency of Extreme
More informationExperimental Evaluation of Numerical Domains for Inferring Ranges
Available online at www.sciencedirect.com Electronic Notes in Theoretical Computer Science 334 (2018) 3 16 www.elsevier.com/locate/entcs Experimental Evaluation of Numerical Domains for Inferring Ranges
More informationDiscrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity
Discrete Optimization 2010 Lecture 5 Min-Cost Flows & Total Unimodularity Marc Uetz University of Twente m.uetz@utwente.nl Lecture 5: sheet 1 / 26 Marc Uetz Discrete Optimization Outline 1 Min-Cost Flows
More informationSimplifying Loop Invariant Generation Using Splitter Predicates. Rahul Sharma Işil Dillig, Thomas Dillig, and Alex Aiken Stanford University
Simplifying Loop Invariant Generation Using Splitter Predicates Rahul Sharma Işil Dillig, Thomas Dillig, and Alex Aiken Stanford University Loops and Loop Invariants Loop Head x = 0; while( x
More informationTopic 6: Calculus Integration Volume of Revolution Paper 2
Topic 6: Calculus Integration Standard Level 6.1 Volume of Revolution Paper 1. Let f(x) = x ln(4 x ), for < x
More informationSubmodularity Reading Group. Matroid Polytopes, Polymatroid. M. Pawan Kumar
Submodularity Reading Group Matroid Polytopes, Polymatroid M. Pawan Kumar http://www.robots.ox.ac.uk/~oval/ Outline Linear Programming Matroid Polytopes Polymatroid Polyhedron Ax b A : m x n matrix b:
More informationLesson 17. Geometry and Algebra of Corner Points
SA305 Linear Programming Spring 2016 Asst. Prof. Nelson Uhan 0 Warm up Lesson 17. Geometry and Algebra of Corner Points Example 1. Consider the system of equations 3 + 7x 3 = 17 + 5 = 1 2 + 11x 3 = 24
More information(1) Given the following system of linear equations, which depends on a parameter a R, 3x y + 5z = 2 4x + y + (a 2 14)z = a + 2
(1 Given the following system of linear equations, which depends on a parameter a R, x + 2y 3z = 4 3x y + 5z = 2 4x + y + (a 2 14z = a + 2 (a Classify the system of equations depending on the values of
More information4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1
4 LINEAR PROGRAMMING (LP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 Mathematical programming (optimization) problem: min f (x) s.t. x X R n set of feasible solutions with linear objective function
More informationConvex Optimization. 2. Convex Sets. Prof. Ying Cui. Department of Electrical Engineering Shanghai Jiao Tong University. SJTU Ying Cui 1 / 33
Convex Optimization 2. Convex Sets Prof. Ying Cui Department of Electrical Engineering Shanghai Jiao Tong University 2018 SJTU Ying Cui 1 / 33 Outline Affine and convex sets Some important examples Operations
More informationIntroduction to Optimization Problems and Methods
Introduction to Optimization Problems and Methods wjch@umich.edu December 10, 2009 Outline 1 Linear Optimization Problem Simplex Method 2 3 Cutting Plane Method 4 Discrete Dynamic Programming Problem Simplex
More informationREVIEW I MATH 254 Calculus IV. Exam I (Friday, April 29) will cover sections
REVIEW I MATH 254 Calculus IV Exam I (Friday, April 29 will cover sections 14.1-8. 1. Functions of multivariables The definition of multivariable functions is similar to that of functions of one variable.
More informationIterative Optimization in the Polyhedral Model: Part I, One-Dimensional Time
Iterative Optimization in the Polyhedral Model: Part I, One-Dimensional Time Louis-Noël Pouchet, Cédric Bastoul, Albert Cohen and Nicolas Vasilache ALCHEMY, INRIA Futurs / University of Paris-Sud XI March
More informationTheoretical Background for OpenLSTO v0.1: Open Source Level Set Topology Optimization. M2DO Lab 1,2. 1 Cardiff University
Theoretical Background for OpenLSTO v0.1: Open Source Level Set Topology Optimization M2DO Lab 1,2 1 Cardiff University 2 University of California, San Diego November 2017 A brief description of theory
More informationApplied Integer Programming
Applied Integer Programming D.S. Chen; R.G. Batson; Y. Dang Fahimeh 8.2 8.7 April 21, 2015 Context 8.2. Convex sets 8.3. Describing a bounded polyhedron 8.4. Describing unbounded polyhedron 8.5. Faces,
More informationLegal and impossible dependences
Transformations and Dependences 1 operations, column Fourier-Motzkin elimination us use these tools to determine (i) legality of permutation and Let generation of transformed code. (ii) Recall: Polyhedral
More informationDynamic Collision Detection
Distance Computation Between Non-Convex Polyhedra June 17, 2002 Applications Dynamic Collision Detection Applications Dynamic Collision Detection Evaluating Safety Tolerances Applications Dynamic Collision
More informationMath 213 Exam 2. Each question is followed by a space to write your answer. Please write your answer neatly in the space provided.
Math 213 Exam 2 Name: Section: Do not remove this answer page you will return the whole exam. You will be allowed two hours to complete this test. No books or notes may be used other than a onepage cheat
More information2. Convex sets. x 1. x 2. affine set: contains the line through any two distinct points in the set
2. Convex sets Convex Optimization Boyd & Vandenberghe affine and convex sets some important examples operations that preserve convexity generalized inequalities separating and supporting hyperplanes dual
More informationDonut Domains: Efficient Non-Convex Domains for Abstract Interpretation
Donut Domains: Efficient Non-Convex Domains for Abstract Interpretation Khalil Ghorbal 1, Franjo Ivančić 1, Gogul Balakrishnan 1, Naoto Maeda 2, and Aarti Gupta 1 1 NEC Laboratories America, Inc. 2 NEC
More information11 Linear Programming
11 Linear Programming 11.1 Definition and Importance The final topic in this course is Linear Programming. We say that a problem is an instance of linear programming when it can be effectively expressed
More informationSpline Curves. Spline Curves. Prof. Dr. Hans Hagen Algorithmic Geometry WS 2013/2014 1
Spline Curves Prof. Dr. Hans Hagen Algorithmic Geometry WS 2013/2014 1 Problem: In the previous chapter, we have seen that interpolating polynomials, especially those of high degree, tend to produce strong
More informationInteger Programming Theory
Integer Programming Theory Laura Galli October 24, 2016 In the following we assume all functions are linear, hence we often drop the term linear. In discrete optimization, we seek to find a solution x
More informationConvex Optimization. Convex Sets. ENSAE: Optimisation 1/24
Convex Optimization Convex Sets ENSAE: Optimisation 1/24 Today affine and convex sets some important examples operations that preserve convexity generalized inequalities separating and supporting hyperplanes
More informationAbstract Interpretation of Floating-Point. Computations. Interaction, CEA-LIST/X/CNRS. February 20, Presentation at the University of Verona
1 Laboratory for ModElling and Analysis of Systems in Interaction, Laboratory for ModElling and Analysis of Systems in Interaction, Presentation at the University of Verona February 20, 2007 2 Outline
More informationMATH. 2153, Spring 16, MWF 12:40 p.m. QUIZ 1 January 25, 2016 PRINT NAME A. Derdzinski Show all work. No calculators. The problem is worth 10 points.
MATH. 2153, Spring 16, MWF 12:40 p.m. QUIZ 1 January 25, 2016 PRINT NAME A. Derdzinski Show all work. No calculators. The problem is worth 10 points. 1. Evaluate the area A of the triangle with the vertices
More information3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers
3.3 Optimizing Functions of Several Variables 3.4 Lagrange Multipliers Prof. Tesler Math 20C Fall 2018 Prof. Tesler 3.3 3.4 Optimization Math 20C / Fall 2018 1 / 56 Optimizing y = f (x) In Math 20A, we
More informationMATH 890 HOMEWORK 2 DAVID MEREDITH
MATH 890 HOMEWORK 2 DAVID MEREDITH (1) Suppose P and Q are polyhedra. Then P Q is a polyhedron. Moreover if P and Q are polytopes then P Q is a polytope. The facets of P Q are either F Q where F is a facet
More informationCS 450 Numerical Analysis. Chapter 7: Interpolation
Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80
More informationReview Initial Value Problems Euler s Method Summary
THE EULER METHOD P.V. Johnson School of Mathematics Semester 1 2008 OUTLINE 1 REVIEW 2 INITIAL VALUE PROBLEMS The Problem Posing a Problem 3 EULER S METHOD Method Errors 4 SUMMARY OUTLINE 1 REVIEW 2 INITIAL
More informationReducing Clocks in Timed Automata while Preserving Bisimulation
Reducing Clocks in Timed Automata while Preserving Bisimulation Shibashis Guha Chinmay Narayan S. Arun-Kumar Indian Institute of Technology Delhi {shibashis, chinmay, sak}@cse.iitd.ac.in arxiv:1404.6613v2
More information2. Convex sets. affine and convex sets. some important examples. operations that preserve convexity. generalized inequalities
2. Convex sets Convex Optimization Boyd & Vandenberghe affine and convex sets some important examples operations that preserve convexity generalized inequalities separating and supporting hyperplanes dual
More informationSystems of Inequalities
Systems of Inequalities 1 Goals: Given system of inequalities of the form Ax b determine if system has an integer solution enumerate all integer solutions 2 Running example: Upper bounds for x: (2)and
More informationA reduced polytopic LPV synthesis for a sampling varying controller : experimentation with a T inverted pendulum
A reduced polytopic LPV synthesis for a sampling varying controller : experimentation with a T inverted pendulum ECC 7@Kos Saf en ECS invited session David Robert, Olivier Sename and Daniel Simon Daniel.Simon@inrialpes.fr
More information15.082J and 6.855J. Lagrangian Relaxation 2 Algorithms Application to LPs
15.082J and 6.855J Lagrangian Relaxation 2 Algorithms Application to LPs 1 The Constrained Shortest Path Problem (1,10) 2 (1,1) 4 (2,3) (1,7) 1 (10,3) (1,2) (10,1) (5,7) 3 (12,3) 5 (2,2) 6 Find the shortest
More informationLecture 15: The subspace topology, Closed sets
Lecture 15: The subspace topology, Closed sets 1 The Subspace Topology Definition 1.1. Let (X, T) be a topological space with topology T. subset of X, the collection If Y is a T Y = {Y U U T} is a topology
More informationExam in Calculus. Wednesday June 1st First Year at The TEK-NAT Faculty and Health Faculty
Exam in Calculus Wednesday June 1st 211 First Year at The TEK-NAT Faculty and Health Faculty The present exam consists of 7 numbered pages with a total of 12 exercises. It is allowed to use books, notes,
More informationA New Abstraction Framework for Affine Transformers
A New Abstraction Framework for Affine Transformers Tushar Sharma and Thomas Reps SAS 17 Motivations Prove Program Assertions Function and loop summaries Sound with respect to bitvectors A NEW ABSTRACTION
More informationReachability of Hybrid Systems using Support Functions over Continuous Time
Reachability of Hybrid Systems using Support Functions over Continuous Time Goran Frehse, Alexandre Donzé, Scott Cotton, Rajarshi Ray, Olivier Lebeltel, Rajat Kateja, Manish Goyal, Rodolfo Ripado, Thao
More informationThe Chvátal-Gomory Closure of a Strictly Convex Body is a Rational Polyhedron
The Chvátal-Gomory Closure of a Strictly Convex Body is a Rational Polyhedron Juan Pablo Vielma Joint work with Daniel Dadush and Santanu S. Dey July, Atlanta, GA Outline Introduction Proof: Step Step
More informationMathematical Programming and Research Methods (Part II)
Mathematical Programming and Research Methods (Part II) 4. Convexity and Optimization Massimiliano Pontil (based on previous lecture by Andreas Argyriou) 1 Today s Plan Convex sets and functions Types
More informationLecture 12: Feasible direction methods
Lecture 12 Lecture 12: Feasible direction methods Kin Cheong Sou December 2, 2013 TMA947 Lecture 12 Lecture 12: Feasible direction methods 1 / 1 Feasible-direction methods, I Intro Consider the problem
More informationInterprocStack analyzer for recursive programs with finite-type and numerical variables
InterprocStack analyzer for recursive programs with finite-type and numerical variables Bertrand Jeannet Contents 1 Invoking InterprocStack 1 2 The Simple language 2 2.1 Syntax and informal semantics.........................
More informationSection 4.2 selected answers Math 131 Multivariate Calculus D Joyce, Spring 2014
4. Determine the nature of the critical points of Section 4. selected answers Math 11 Multivariate Calculus D Joyce, Spring 014 Exercises from section 4.: 6, 1 16.. Determine the nature of the critical
More informationPrinciples of Program Analysis: A Sampler of Approaches
Principles of Program Analysis: A Sampler of Approaches Transparencies based on Chapter 1 of the book: Flemming Nielson, Hanne Riis Nielson and Chris Hankin: Principles of Program Analysis Springer Verlag
More informationA fast algorithm for sparse reconstruction based on shrinkage, subspace optimization and continuation [Wen,Yin,Goldfarb,Zhang 2009]
A fast algorithm for sparse reconstruction based on shrinkage, subspace optimization and continuation [Wen,Yin,Goldfarb,Zhang 2009] Yongjia Song University of Wisconsin-Madison April 22, 2010 Yongjia Song
More informationLogico-Numerical Max-Strategy Iteration
Logico-Numerical Max-Strategy Iteration Peter Schrammel, Pavle Subotic To cite this version: Peter Schrammel, Pavle Subotic. Logico-Numerical Max-Strategy Iteration. Giacobazzi, R. and Berdine, J. and
More informationProgram Analysis using Symbolic Ranges
Program Analysis using Symbolic Ranges Sriram Sankaranarayanan, Franjo Ivančić, Aarti Gupta NEC Laboratories America, {srirams,ivancic,agupta}@nec-labs.com Abstract. Interval analysis seeks static lower
More informationThe Polyhedral Model (Transformations)
The Polyhedral Model (Transformations) Announcements HW4 is due Wednesday February 22 th Project proposal is due NEXT Friday, extension so that example with tool is possible (see resources website for
More informationFactoring. Factor: Change an addition expression into a multiplication expression.
Factoring Factor: Change an addition expression into a multiplication expression. 1. Always look for a common factor a. immediately take it out to the front of the expression, take out all common factors
More information7/28/2011 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2011
7/28/2011 SECOND HOURLY PRACTICE V Maths 21a, O.Knill, Summer 2011 Name: Start by printing your name in the above box. Try to answer each question on the same page as the question is asked. If needed,
More informationAbstract Interpretation of Floating-Point Computations
Abstract Interpretation of Floating-Point Computations Sylvie Putot Laboratory for ModElling and Analysis of Systems in Interaction, CEA-LIST/X/CNRS Session: Static Analysis for Safety and Performance
More informationReferences. Additional lecture notes for 2/18/02.
References Additional lecture notes for 2/18/02. I-COLLIDE: Interactive and Exact Collision Detection for Large-Scale Environments, by Cohen, Lin, Manocha & Ponamgi, Proc. of ACM Symposium on Interactive
More informationMAC2313 Test 3 A E g(x, y, z) dy dx dz
MAC2313 Test 3 A (5 pts) 1. If the function g(x, y, z) is integrated over the cylindrical solid bounded by x 2 + y 2 = 3, z = 1, and z = 7, the correct integral in Cartesian coordinates is given by: A.
More informationNumerical integration of polynomials and discontinuous functions on irregular convex polygons and polyhedrons
Comput Mech (2011) 47:535 554 DOI 10.1007/s00466-010-0562-5 ORIGINAL PAPER Numerical integration of polynomials and discontinuous functions on irregular convex polygons and polyhedrons S. E. Mousavi N.
More informationWidening Operator. Fixpoint Approximation with Widening. A widening operator 2 L ˆ L 7``! L is such that: Correctness: - 8x; y 2 L : (y) v (x y)
EXPERIENCE AN INTRODUCTION WITH THE DESIGN TOF A SPECIAL PURPOSE STATIC ANALYZER ABSTRACT INTERPRETATION P. Cousot Patrick.Cousot@ens.fr http://www.di.ens.fr/~cousot Biarritz IFIP-WG 2.3 2.4 meeting (1)
More information521493S Computer Graphics Exercise 2 Solution (Chapters 4-5)
5493S Computer Graphics Exercise Solution (Chapters 4-5). Given two nonparallel, three-dimensional vectors u and v, how can we form an orthogonal coordinate system in which u is one of the basis vectors?
More information(c) 0 (d) (a) 27 (b) (e) x 2 3x2
1. Sarah the architect is designing a modern building. The base of the building is the region in the xy-plane bounded by x =, y =, and y = 3 x. The building itself has a height bounded between z = and
More informationMA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:
MA4254: Discrete Optimization Defeng Sun Department of Mathematics National University of Singapore Office: S14-04-25 Telephone: 6516 3343 Aims/Objectives: Discrete optimization deals with problems of
More informationInteractive Computer Graphics. Hearn & Baker, chapter D transforms Hearn & Baker, chapter 5. Aliasing and Anti-Aliasing
Interactive Computer Graphics Aliasing and Anti-Aliasing Hearn & Baker, chapter 4-7 D transforms Hearn & Baker, chapter 5 Aliasing and Anti-Aliasing Problem: jaggies Also known as aliasing. It results
More informationPOLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if
POLYHEDRAL GEOMETRY Mathematical Programming Niels Lauritzen 7.9.2007 Convex functions and sets Recall that a subset C R n is convex if {λx + (1 λ)y 0 λ 1} C for every x, y C and 0 λ 1. A function f :
More informationCS671 Parallel Programming in the Many-Core Era
1 CS671 Parallel Programming in the Many-Core Era Polyhedral Framework for Compilation: Polyhedral Model Representation, Data Dependence Analysis, Scheduling and Data Locality Optimizations December 3,
More informationExam 3 SCORE. MA 114 Exam 3 Spring Section and/or TA:
MA 114 Exam 3 Spring 217 Exam 3 Name: Section and/or TA: Last Four Digits of Student ID: Do not remove this answer page you will return the whole exam. You will be allowed two hours to complete this test.
More informationZonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis
Zonotope/Hyperplane Intersection for Hybrid Systems Reachability Analysis Antoine Girard 1 and Colas Le Guernic 2 1 Laboratoire Jean Kuntzmann, Université Joseph Fourier Antoine.Girard@imag.fr, 2 VERIMAG,
More informationOutline. Alternative Benders Decomposition Explanation explaining Benders without projections. Primal-Dual relations
Alternative Benders Decomposition Explanation explaining Benders without projections Outline Comments on Benders Feasibility? Optimality? thst@man..dtu.dk DTU-Management Technical University of Denmark
More informationLECTURE 18 - OPTIMIZATION
LECTURE 18 - OPTIMIZATION CHRIS JOHNSON Abstract. In this lecture we ll describe extend the optimization techniques you learned in your first semester calculus class to optimize functions of multiple variables.
More information1 Linear programming relaxation
Cornell University, Fall 2010 CS 6820: Algorithms Lecture notes: Primal-dual min-cost bipartite matching August 27 30 1 Linear programming relaxation Recall that in the bipartite minimum-cost perfect matching
More informationCS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I. Instructor: Shaddin Dughmi
CS599: Convex and Combinatorial Optimization Fall 2013 Lecture 14: Combinatorial Problems as Linear Programs I Instructor: Shaddin Dughmi Announcements Posted solutions to HW1 Today: Combinatorial problems
More informationBearing only visual servo control of a non-holonomic mobile robot. Robert Mahony
Bearing only visual servo control of a non-holonomic mobile robot. Robert Mahony Department of Engineering, Australian National University, Australia. email: Robert.Mahony@anu.edu.au url: http://engnet.anu.edu.au/depeople/robert.mahony/
More informationContents. MATH 32B-2 (18W) (L) G. Liu / (TA) A. Zhou Calculus of Several Variables. 1 Homework 1 - Solutions 3. 2 Homework 2 - Solutions 13
MATH 32B-2 (8) (L) G. Liu / (TA) A. Zhou Calculus of Several Variables Contents Homework - Solutions 3 2 Homework 2 - Solutions 3 3 Homework 3 - Solutions 9 MATH 32B-2 (8) (L) G. Liu / (TA) A. Zhou Calculus
More informationRelaxing Goodness is Still Good
Relaxing Goodness is Still Good Gordon Pace 1 Gerardo Schneider 2 1 Dept. of Computer Science and AI University of Malta 2 Dept. of Informatics University of Oslo ICTAC 08 September 1-3, 2008 - Istanbul,
More informationHyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems
HyLAA: A Tool for Computing Simulation-Equivalent Reachability for Linear Systems Stanley Bak and Parasara Sridhar Duggirala DISTRIBUTION A: Approved for public release; distribution unlimited (#88ABW-2016-2897).
More informationOn-Line Computer Graphics Notes CLIPPING
On-Line Computer Graphics Notes CLIPPING Kenneth I. Joy Visualization and Graphics Research Group Department of Computer Science University of California, Davis 1 Overview The primary use of clipping in
More informationBilinear Programming
Bilinear Programming Artyom G. Nahapetyan Center for Applied Optimization Industrial and Systems Engineering Department University of Florida Gainesville, Florida 32611-6595 Email address: artyom@ufl.edu
More informationThree Dimensional Geometry. Linear Programming
Three Dimensional Geometry Linear Programming A plane is determined uniquely if any one of the following is known: The normal to the plane and its distance from the origin is given, i.e. equation of a
More informationSparse Optimization Lecture: Proximal Operator/Algorithm and Lagrange Dual
Sparse Optimization Lecture: Proximal Operator/Algorithm and Lagrange Dual Instructor: Wotao Yin July 2013 online discussions on piazza.com Those who complete this lecture will know learn the proximal
More informationSection Notes 5. Review of Linear Programming. Applied Math / Engineering Sciences 121. Week of October 15, 2017
Section Notes 5 Review of Linear Programming Applied Math / Engineering Sciences 121 Week of October 15, 2017 The following list of topics is an overview of the material that was covered in the lectures
More informationUsing Subspace Constraints to Improve Feature Tracking Presented by Bryan Poling. Based on work by Bryan Poling, Gilad Lerman, and Arthur Szlam
Presented by Based on work by, Gilad Lerman, and Arthur Szlam What is Tracking? Broad Definition Tracking, or Object tracking, is a general term for following some thing through multiple frames of a video
More informationDesign Improvement and Implementation of 3D Gauss-Markov Mobility Model
Design Improvement and Implementation of 3D Gauss-Markov Mobility Model Mohammed J.F. Alenazi, Cenk Sahin, and James P.G. Sterbenz Department of Electrical Engineering & Computer Science Information &
More informationPlate Buckling ref. Hughes Chapter 12
Plate Buckling ref. Hughes Chapter 1 Buckling of a plate simply supported on loaded edges treated as a wide column results in similar Euler stress, with EI replaced byd*(b): dividing by area (b*t): π Db
More informationMathematics for chemical engineers
Mathematics for chemical engineers Drahoslava Janovská Department of mathematics Winter semester 2013-2014 Numerical solution of ordinary differential equations Initial value problem Outline 1 Introduction
More informationLecture 3. Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets. Tepper School of Business Carnegie Mellon University, Pittsburgh
Lecture 3 Corner Polyhedron, Intersection Cuts, Maximal Lattice-Free Convex Sets Gérard Cornuéjols Tepper School of Business Carnegie Mellon University, Pittsburgh January 2016 Mixed Integer Linear Programming
More informationConvexization in Markov Chain Monte Carlo
in Markov Chain Monte Carlo 1 IBM T. J. Watson Yorktown Heights, NY 2 Department of Aerospace Engineering Technion, Israel August 23, 2011 Problem Statement MCMC processes in general are governed by non
More informationOptic Flow and Basics Towards Horn-Schunck 1
Optic Flow and Basics Towards Horn-Schunck 1 Lecture 7 See Section 4.1 and Beginning of 4.2 in Reinhard Klette: Concise Computer Vision Springer-Verlag, London, 2014 1 See last slide for copyright information.
More informationPolyhedra inscribed in a hyperboloid & AdS geometry. anti-de Sitter geometry.
Polyhedra inscribed in a hyperboloid and anti-de Sitter geometry. Jeffrey Danciger 1 Sara Maloni 2 Jean-Marc Schlenker 3 1 University of Texas at Austin 2 Brown University 3 University of Luxembourg AMS
More informationProgramming, numerics and optimization
Programming, numerics and optimization Lecture C-4: Constrained optimization Łukasz Jankowski ljank@ippt.pan.pl Institute of Fundamental Technological Research Room 4.32, Phone +22.8261281 ext. 428 June
More informationNumerical integration of polynomials and discontinuous functions on irregular convex polygons and polyhedrons
Noname manuscript No. (will be inserted by the editor) Numerical integration of polynomials and discontinuous functions on irregular convex polygons and polyhedrons S. E. Mousavi N. Sukumar Received: date
More information