Polyhedral Containment Check for a Linear Hybrid Automata Reachability Procedure Industry mentor: Steve Vestal Honeywell, Inc. Team 5: Sonja Petrović (presenter),

Slides:



Advertisements
Similar presentations
The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
Advertisements

Geometric Interpretation of Linear Programs
Solving LP Models Improving Search Special Form of Improving Search
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Introduction to Algorithms
Dragan Jovicic Harvinder Singh
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
5.2 Linear Programming in two dimensions: a geometric approach In this section, we will explore applications which utilize the graph of a system of linear.
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Learning Objectives for Section 5.3
How should we define corner points? Under any reasonable definition, point x should be considered a corner point x What is a corner point?
The Structure of Polyhedra Gabriel Indik March 2006 CAS 746 – Advanced Topics in Combinatorial Optimization.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Operation Research Chapter 3 Simplex Method.
Tirgul 12 Algorithm for Single-Source-Shortest-Paths (s-s-s-p) Problem Application of s-s-s-p for Solving a System of Difference Constraints.
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
Design and Analysis of Algorithms
Approximation Algorithms
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
Optimization Linear Programming and Simplex Method
Linear Programming (LP)
Unconstrained Optimization Problem
Presented by Alp Sardağ Algorithms for POMDP. Monahan Enumeration Phase Generate all vectors: Number of gen. Vectors = |A|M |  | where M vectors of previous.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
Chapter 4 The Simplex Method
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University.
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
EML Spring’08 EML Engineering Design Systems II (Senior Design Project) Optimization Theory and Optimum Design Linear Programming Hyman: Chapter.
Linear Programming Data Structures and Algorithms A.G. Malamos References: Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani Introduction.
Linear Programming – Simplex Method
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
Chapter 3 Linear Programming Methods
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
Foundation of the Simplex Method.  Constraints Boundary Equations  Graphical approach is very limited based on number of variables. The simplex method.
Part 3. Linear Programming 3.2 Algorithm. General Formulation Convex function Convex region.
Linear Programming Short-run decision making model –Optimizing technique –Purely mathematical Product prices and input prices fixed Multi-product production.
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
The minimum cost flow problem. Solving the minimum cost flow problem.
Sullivan Algebra and Trigonometry: Section 12.9 Objectives of this Section Set Up a Linear Programming Problem Solve a Linear Programming Problem.
1 Optimization Linear Programming and Simplex Method.
Approximation Algorithms based on linear programming.
Topics in Computational Sustainability Optimization: Intro to Linear programming.
Computational Geometry
Chapter 4 The Simplex Algorithm and Goal Programming
The Simplex Method. and Maximize Subject to From a geometric viewpoint : CPF solutions (Corner-Point Feasible) : Corner-point infeasible solutions 0.
-- Interior-Point Methods for LP
Linear Programming for Solving the DSS Problems
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Lap Chi Lau we will only use slides 4 to 19
Topics in Algorithms Lap Chi Lau.
The minimum cost flow problem
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
1.3 Modeling with exponentially many constr.
Chap 9. General LP problems: Duality and Infeasibility
Analysis of Algorithms
Chapter 3 The Simplex Method and Sensitivity Analysis
Uri Zwick – Tel Aviv Univ.
Part 3. Linear Programming
1.3 Modeling with exponentially many constr.
Linear Programming Example: Maximize x + y x and y are called
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Linear Constrained Optimization
Presentation transcript:

Polyhedral Containment Check for a Linear Hybrid Automata Reachability Procedure Industry mentor: Steve Vestal Honeywell, Inc. Team 5: Sonja Petrović (presenter), Jessica Conway, Ali Khoujmane, Gary Kilper, Harun Kurkcu, Rochelle Pereira

Presentation Outline Background info: Finite state & Hybrid automatons Motivation for project 3 approaches –LP approach LSPD Redundancy reduction –QP approach –Vertex enumeration & vertex containment

A Finite State Automaton Discrete states and connecting edges Example: a vending machine A hybrid automaton is augmented by continuous variables S1S1 S2S2 e1e1 e2e2

A Linear Hybrid Automaton if x≥7 if x≤5 x x = 7 x = 5 Control Box Faucet State: Faucet OFF, x = 6

MOTIVATION A hybrid state is a region consisting of a discrete state and a polyhedron –Polyhedron  set of possible values for continuous variables –Reachable polyhedron  can be reached from a previously reached polyhedron Reachability problem: decide if a given hybrid state is reachable by any path from the initial state

Reachability Problem Difficulty: new hybrid state may have already been visited before Solution: check against the list of previously visited states –Is the current polyhedron contained in any previously visited one? –Set Outer  {x | Ax  b}, Inner  {x | Cx  d}. Does x  Inner  x  Outer?

Containment Check Initial approach: check inner polyhedron against outer facet by solving LP problem Improved idea: solve one QP problem by checking inner against the whole outer New approach: vertex enumeration and point containment

Solving LP: Simplex Find a feasible basic solution (a vertex of the polyhedron). If there is an “adjacent” feasible basic solution that is more optimal, then move to that vertex along a connecting edge. If not, then stop. y ≤ 1 x + y ≤ 2 x ≥ 0 y ≥ 0 Maximize 2x + y

Problem with Simplex Degeneracy due to redundant constraints! Degeneracy: have more edges at a vertex than there are variables This may result in stalling or cycling around the same vertex when attempting vertex- vertex travel

Why Reduce Redundancies? A positive slope means: More constraints correspond to more stalling.

SOLUTIONS Least squares primal dual algorithm to avoid stalling (LSPD) Redundancy reduction QP formulation New idea: Vertex enumeration & containment

Solution – LSPD LSPD solves the standard LP problem: Find a vector x that minimizes cx such that Ax = b and x ≥ 0. Finishes in finitely many steps Uses Non-Negative Least Squares (NNLS) algorithm to solve a series of least squares sub- problems Guarantees travel in the optimal direction towards the best feasible solution, not along the edges

Solution – Redundancy Reduction Can help diminish the amount of degeneracy in a problem This can be done using the brute force approach – removing one constraint at a time. This is inefficient. Future Research: explore other ways to reduce redundancy in a system of linear inequalities

Solution – QP Formulation Goal: show that there doesn’t exist a point that is both inside the Inner and outside the Outer Objective function is maximized when the largest constraint violation is recognized: max [y T (Ax – b)], where x in I, y  0, and ||y|| =1. Inner  Outer when max [y T (Ax – b)]  0. So there is no containment if the objective function is positive. Future Research: Implement the quadratic programming approach using CPLEX

Solution – NEW IDEA Reformulate the containment problem into two steps: 1. Vertex enumeration –Transform constraint polyhedron P = {Ax  b} into a set of vertices P = {v 1, …, v n } using LRS or DD 2. Vertex containment check –Want Inner fully contained in Outer

Solution – Vertex Enumeration There are known algorithms and codes available !! –Lrs –DD –Even implemented in Mathematica!

Solution – Vertex Containment Check if each vertex of inner polyhedron is within outer polyhedron: –For Outer defined by inequalities, simply test to see if the vertex satisfies them all –Or, also enumerate the outer vertices and solve a feasibility problem using LP (but: how many vertices do we have?)

Future Research Proposal: Containment of Projections Phase I –Project inner vertices onto facets of outer polyhedron –Point-in-polygon test (3x3 determinants & Boolean op.) Phase II –Extend the idea of projectively invariant containment check from three to n dimensions Although vertex enumeration may be expensive, together with a “projected containment test” it may yield a more efficient algorithm.

Many thanks to: Steve Vestal and AFOSR IMA, NSF, U. of Minnesota, U. of Kentucky, Texas Tech, U. of Chicago, Northwestern Whoever else paid for us