Octagonal Domains for Continuous Constraints

Size: px
Start display at page:

Download "Octagonal Domains for Continuous Constraints"

Transcription

1 Octagonal Domains for Continuous Constraints Marie Pelleau Charlotte Truchet Frédéric Benhamou TASC, University of Nantes CP 2011 September 13, 2011 September 13, / 22

2 Outline Table of contents 1 Context 2 Computer Representation Octagonal Consistency Octagonal Solving 3 Results 4 Conclusion September 13, / 22

3 Context Context Continuous Constraint Satisfaction Problem: CSP < V, D, C > V = (v 1... v n ) real variables D = (D 1... D n ) interval domains C = (C 1... C p ) continuous constraints Solving process in CP relies on Cartesian product of intervals September 13, / 22

4 Context Context Continuous Constraint Satisfaction Problem: CSP < V, D, C > V = (v 1... v n ) real variables D = (D 1... D n ) interval domains C = (C 1... C p ) continuous constraints Solving process in CP relies on Cartesian product of intervals September 13, / 22

5 Context Context Continuous Constraint Satisfaction Problem: CSP < V, D, C > V = (v 1... v n ) real variables D = (D 1... D n ) interval domains C = (C 1... C p ) continuous constraints Solving process in CP relies on Cartesian product of intervals September 13, / 22

6 Context Context Continuous Constraint Satisfaction Problem: CSP < V, D, C > V = (v 1... v n ) real variables D = (D 1... D n ) interval domains C = (C 1... C p ) continuous constraints Solving process in CP relies on Cartesian product of intervals September 13, / 22

7 Context Context Continuous Constraint Satisfaction Problem: CSP < V, D, C > V = (v 1... v n ) real variables D = (D 1... D n ) interval domains C = (C 1... C p ) continuous constraints Solving process in CP relies on Cartesian product of intervals September 13, / 22

8 Context Context Our goal Continuous Constraint Solving We don t live in a Cartesian world! Can we use other domain representations? There exist several domain representations in other fields (e.g. ellipsoids, zonotopes in Abstract Interpretation) Our Contribution Show that the basic tools of CP can be defined for non-cartesian domain representations September 13, / 22

9 Computer Representation The Octagon Abstract Domain Definition (Octagon [Miné, 2006]) Set of points satisfying a conjunction of constraints of the form ±v i ± v j c, called octagonal constraints v 2 v 2 v 1 2 v 1 + v 2 3 v 1 1 v 2 5 In dimension n, an octagon has at most 2n 2 faces v 2 1 v 1 5 An octagon can be unbounded v 1 v 1 v September 13, / 22

10 Computer Representation The Octagon Abstract Domain A Difference Bound Matrix (DBM) to represent an octagon v i v j. c v j v i c September 13, / 22

11 Computer Representation The Octagon Abstract Domain A Difference Bound Matrix (DBM) to represent an octagon v i v j. c v j v i c v 1 + v 2 c v 1 ( v 2 ) c and v 2 ( v 1 ) c September 13, / 22

12 Computer Representation The Octagon Abstract Domain A Difference Bound Matrix (DBM) to represent an octagon v i v j. c v j v i c v 1 + v 2 c v 1 ( v 2 ) c and v 2 ( v 1 ) c Need of two rows and columns for each variable (v i, v i ) September 13, / 22

13 Computer Representation The Octagon Abstract Domain v 2 v 2 v 1 2 v 1 + v 2 3 v 2 1 v 1 1 v 1 5 v 2 5 v 1 v 1 v 1 v 2 v 2 v 1 v 1 v 2 v v 1 v September 13, / 22

14 Computer Representation Canonical Representation Different DBMs can correspond to the same octagon need for a canonical form It has been proved that a modified version of Floyd-Warshall shortest path algorithm computes in O(n 3 ) the smallest DBM representing an octagon of dimension n [Miné, 2006] This canonical form corresponds to the consistency of the difference constraints [Dechter et al., 1991] September 13, / 22

15 Computer Representation Representation for CP v 2 v 2 v 1 2 v 1 1 v 2 5 v 1 + v 2 3 v 2 1 v 1 v v 1 5 v 1 September 13, / 22

16 Computer Representation Representation for CP v 2 v 1 1 v 2 v 1 2 v 2 5 v 1 = v 1 cos ( ) π 4 + v 2 sin ( ) π 4 v 2 = v 2 cos ( ) π 4 v 1 sin ( ) π 4 v 2 v 1 v 1 + v 2 3 v 2 v 2 1 v 1 5 v 1 π 4 v 1 v 1 v September 13, / 22

17 Computer Representation Representation for CP Rotation v 1 = v 1 cos ( ) π 4 + v 2 sin ( ) π 4 v 2 = v 2 cos ( ) π 4 v 1 sin ( ) π 4 Constraint Translation 2v 1 v 2 4 September 13, / 22

18 Computer Representation Representation for CP Rotation v 1 = v 1 cos ( ) π 4 + v 2 sin ( ) π 4 v 2 = v 2 cos ( ) π 4 v 1 sin ( ) π 4 Constraint Translation 2v 1 v 2 4 2(v 1 cos ( π 4 ) + v 2 sin ( π 4 ) ) v 2 cos ( ) π 4 + v 1 sin ( ) π 4 4 September 13, / 22

19 Computer Representation Representation for CP Rotation v 1 = v 1 cos ( ) π 4 + v 2 sin ( ) π 4 v 2 = v 2 cos ( ) π 4 v 1 sin ( ) π 4 Constraint Translation 2v 1 v 2 4 2(v 1 cos ( π 4 ) + v 2 sin ( π v v 2 4 ) ) v 2 cos ( ) π 4 + v 1 sin ( ) π 4 4 September 13, / 22

20 Computer Representation Representation for CP Representation in O(n 2 ) for a CSP with n variables and p constraints n 2 variables p(n(n 1) + 2)/2 constraints Back to the boxes Direct definition of the needed tools for the resolution September 13, / 22

21 Octagonal Consistency Octagonal HC4 Octagonal Consistency v 2 v 1 September 13, / 22

22 Octagonal Consistency Octagonal HC4 Octagonal Consistency v 2 v 1 HC4 September 13, / 22

23 Octagonal Consistency Octagonal HC4 Octagonal Consistency v 2 v 1 v 2 HC4 v 1 September 13, / 22

24 Octagonal Consistency Octagonal HC4 Octagonal Consistency v 2 v 1 v 2 v 1 September 13, / 22

25 Octagonal Consistency Octagonal HC4 Octagonal Consistency September 13, / 22

26 Octagonal Consistency Octagonal HC4 Octagonal Consistency September 13, / 22

27 Octagonal Consistency Octagonal HC4 Octagonal Consistency Use the DBM and apply the consistency September 13, / 22

28 Octagonal Consistency Octagonal HC4 Octagonal Consistency Use the DBM and apply the consistency The canonical DBM corresponds to the smallest octagon September 13, / 22

29 Octagonal Exploration Splitting Process Octagonal Solving A splitting operator, splits a variable domain v 2 v 2 v 2 v 1 v 1 v 1 September 13, / 22

30 Octagonal Exploration Splitting Process Octagonal Solving A splitting operator, splits a variable domain v 2 v 1 v 2 v 1 v 2 v 1 v 2 v 2 v 2 v 1 v 1 v 1 September 13, / 22

31 Octagonal Exploration Choice Heuristic Octagonal Solving September 13, / 22

32 Octagonal Exploration Choice Heuristic Octagonal Solving September 13, / 22

33 Octagonal Exploration Choice Heuristic Octagonal Solving Take the "best" basis, the box with the minimum of the maximum width Split the largest domain in this basis, the domain with the maximum width September 13, / 22

34 Octagonal Solving Octagonal Solving What we got We defined: an octagonal consistency Correctness Assume that, for all constraint C there exists a propagator ρ C, such that ρ C reaches Hull consistency, that is, ρ C (D 1... D n ) is the Hull consistent box for C. Then the propagation scheme as defined computes the Oct-consistent octagon for the constraints September 13, / 22

35 Octagonal Solving What we got Octagonal Solving We defined: an octagonal consistency a splitting operator Completeness The union of the two octagonal subdomains is the original octagon, thus the split does not lose solutions September 13, / 22

36 Octagonal Solving Octagonal Solving What we got We defined: an octagonal consistency a splitting operator a choice heuristic a precision (see paper) We obtain an Octagonal Solver which is correct and complete September 13, / 22

37 Results Octagonal Exploration Experiments Protocol Prototype in Ibex [Chabert and Jaulin, 2009] Different type of problems from the COCONUT benchmark Same configuration Timeout of 3 hours September 13, / 22

38 Results Octagonal Exploration Results Octagonal Exploration First solution All the solutions name nbvar ctrs I n Oct I n Oct h hs h KinematicPair pramanik 3 = trigo1 10 = brent = h74 5 = fredtest 6 = CPU time in seconds September 13, / 22

39 Results Octagonal Exploration Results Octagonal Exploration First solution All the solutions name nbvar ctrs I n Oct I n Oct h hs h KinematicPair pramanik 3 = trigo1 10 = brent = h74 5 = fredtest 6 = Number of created nodes during the search September 13, / 22

40 Conclusion and Perspectives Conclusion and Perspectives Conclusion No need to be Cartesian Paradox: New representation in O(n 2 ) but efficient Efficient Octagonal-consistency thanks to the modified version of Floyd-Warshall algorithm Good choice heuristic Use existent consistencies to define the Octagonal-consistency Future work Improvement of the implementation Constraints rewriting Improvement of the octagonal constraints Other numerical abstract domains September 13, / 22

41 CPAIOR 2012 C for CPAIOR 2012 Remember, Remember the 5th of December 2011 (Deadline) M. Pelleau, C. Truchet, F. Benhamou (TASC, University TASC, of Nantes) Nantes September 13, / 22

42 Questions Questions? September 13, / 22

A Constraint Solver based on Abstract Domains

A Constraint Solver based on Abstract Domains A Constraint Solver based on Abstract Domains Marie Pelleau, Antoine Miné, Charlotte Truchet, Frédéric Benhamou To cite this version: Marie Pelleau, Antoine Miné, Charlotte Truchet, Frédéric Benhamou.

More information

AAA616: Program Analysis. Lecture 7 The Octagon Abstract Domain

AAA616: Program Analysis. Lecture 7 The Octagon Abstract Domain AAA616: Program Analysis Lecture 7 The Octagon Abstract Domain Hakjoo Oh 2016 Fall Hakjoo Oh AAA616 2016 Fall, Lecture 7 November 3, 2016 1 / 30 Reference Antoine Miné. The Octagon Abstract Domain. Higher-Order

More information

A New Monotonicity-Based Interval Extension Using Occurrence Grouping

A New Monotonicity-Based Interval Extension Using Occurrence Grouping A New Monotonicity-Based Interval Extension Using Occurrence Grouping Ignacio Araya, Bertrand Neveu, Gilles Trombettoni INRIA, University of Nice-Sophia, ENPC Firstname.Name@sophia.inria.fr Abstract. When

More information

A New Monotonicity-Based Interval Extension Using Occurrence Grouping

A New Monotonicity-Based Interval Extension Using Occurrence Grouping A New Monotonicity-Based Interval Extension Using Occurrence Grouping Ignacio Araya, Bertrand Neveu, Gilles Trombettoni INRIA, Université de Nice-Sophia, ENPC {Ignacio.Araya,Gilles.Trombettoni,Bertrand.Neveu}@sophia.inria.fr

More information

An Interval Extension Based on Occurrence Grouping

An Interval Extension Based on Occurrence Grouping Computing manuscript No. (will be inserted by the editor) An Interval Extension Based on Occurrence Grouping Ignacio Araya Bertrand Neveu Gilles Trombettoni Accepted: 12 October 2011 Abstract In interval

More information

Computational tools for reliable global optimization. Charlie Vanaret, Institut de Recherche en Informatique de Toulouse

Computational tools for reliable global optimization. Charlie Vanaret, Institut de Recherche en Informatique de Toulouse Computational tools for reliable global optimization Charlie Vanaret, Institut de Recherche en Informatique de Toulouse INRA, 10 March 2017 Short bio Toulouse, France Sept 2015 - March 2017: postdoctoral

More information

Modelling for Constraint Programming

Modelling for Constraint Programming Modelling for Constraint Programming Barbara Smith 3. Symmetry, Viewpoints Symmetry in CSPs A symmetry transforms any solution into another Sometimes symmetry is inherent in the problem (e.g. chessboard

More information

CS360 Homework 12 Solution

CS360 Homework 12 Solution CS360 Homework 12 Solution Constraint Satisfaction 1) Consider the following constraint satisfaction problem with variables x, y and z, each with domain {1, 2, 3}, and constraints C 1 and C 2, defined

More information

Interleaved Alldifferent Constraints: CSP vs. SAT Approaches

Interleaved Alldifferent Constraints: CSP vs. SAT Approaches Interleaved Alldifferent Constraints: CSP vs. SAT Approaches Frédéric Lardeux 3, Eric Monfroy 1,2, and Frédéric Saubion 3 1 Universidad Técnica Federico Santa María, Valparaíso, Chile 2 LINA, Université

More information

Solving the Kirkman s Schoolgirl Problem in a Few Seconds

Solving the Kirkman s Schoolgirl Problem in a Few Seconds Solving the Kirkman s Schoolgirl Problem in a Few Seconds Nicolas Barnier & Pascal Brisset CENA/ENAC, Toulouse, France September 9th, 2002 Solving the Kirkman s Schoolgirl Problem in a Few Seconds Nicolas

More information

CSC 1700 Analysis of Algorithms: Warshall s and Floyd s algorithms

CSC 1700 Analysis of Algorithms: Warshall s and Floyd s algorithms CSC 1700 Analysis of Algorithms: Warshall s and Floyd s algorithms Professor Henry Carter Fall 2016 Recap Space-time tradeoffs allow for faster algorithms at the cost of space complexity overhead Dynamic

More information

Decision Diagrams: Tutorial

Decision Diagrams: Tutorial Decision Diagrams: Tutorial John Hooker Carnegie Mellon University CP Summer School Cork, Ireland, June 2016 Decision Diagrams Used in computer science and AI for decades Logic circuit design Product configuration

More information

Temporal Constraint Networks

Temporal Constraint Networks Ch. 5b p.1/49 Temporal Constraint Networks Addition to Chapter 5 Ch. 5b p.2/49 Outline Temporal reasoning Qualitative networks The interval algebra The point algebra Quantitative temporal networks Reference:

More information

This theorem guarantees solutions to many problems you will encounter. exists, then f ( c)

This theorem guarantees solutions to many problems you will encounter. exists, then f ( c) Maimum and Minimum Values Etreme Value Theorem If f () is continuous on the closed interval [a, b], then f () achieves both a global (absolute) maimum and global minimum at some numbers c and d in [a,

More information

Temporal Constraint Networks

Temporal Constraint Networks Ch. 6b p.1/49 Temporal Constraint Networks Addition to Chapter 6 Ch. 6b p.2/49 Outline Temporal reasoning Qualitative networks The interval algebra The point algebra Quantitative temporal networks Reference:

More information

An Algorithm Inspired by Constraint Solvers to Infer Inductive Invariants in Numeric Programs

An Algorithm Inspired by Constraint Solvers to Infer Inductive Invariants in Numeric Programs An Algorithm Inspired by Constraint Solvers to Infer Inductive Invariants in Numeric Programs Antoine Miné 1, Jason Breck 2, and Thomas Reps 2,3 1 LIP6, Paris, France 2 University of Wisconsin; Madison,

More information

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010 Lecture 9: Search 8 Victor R. Lesser CMPSCI 683 Fall 2010 ANNOUNCEMENTS REMEMBER LECTURE ON TUESDAY! EXAM ON OCTOBER 18 OPEN BOOK ALL MATERIAL COVERED IN LECTURES REQUIRED READINGS WILL MOST PROBABLY NOT

More information

Making Bound Consistency as Effective as Arc Consistency

Making Bound Consistency as Effective as Arc Consistency Proceedings of the Twenty-First International Joint Conference on Artificial Intelligence (IJCAI-09) Making Bound Consistency as Effective as Arc Consistency Christian Bessiere LIRMM-CNRS U. Montpellier,

More information

A New Framework for Solving En-Route Conflicts

A New Framework for Solving En-Route Conflicts A New Framework for Solving En-Route Conflicts Cyril Allignol, Nicolas Barnier, Nicolas Durand and Jean-Marc Alliot allignol,barnier,durand@recherche.enac.fr jean-marc.alliot@irit.fr ATM 2013 Chicago June

More information

An Analysis of Arithmetic Constraints on Integer Intervals

An Analysis of Arithmetic Constraints on Integer Intervals An Analysis of Arithmetic Constraints on Integer Intervals Krzysztof R. Apt CWI, P.O. Box 94079, 1090 GB Amsterdam, the Netherlands and University of Amsterdam, the Netherlands Peter Zoeteweij Faculty

More information

Boosting Set Constraint Propagation for Network Design

Boosting Set Constraint Propagation for Network Design Boosting Set Constraint Propagation for Network Design Justin Yip 1, Pascal Van Hentenryck 1, and Carmen Gervet 2 1 Brown University, Box 1910, Providence, RI 02912, USA 2 German University in Cairo, New

More information

The Octagon Abstract Domain

The Octagon Abstract Domain The Octagon Abstract Domain Antoine Miné (mine@di.ens.fr) Département d Informatique, École Normale Supérieure Abstract. This article presents the octagon abstract domain, a relational numerical abstract

More information

Geometric Series and the Ratio and Root Test

Geometric Series and the Ratio and Root Test Geometric Series and the Ratio and Root Test James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University September 5, 2018 Outline 1 Geometric Series

More information

CS173 Lecture B, November 3, 2015

CS173 Lecture B, November 3, 2015 CS173 Lecture B, November 3, 2015 Tandy Warnow November 3, 2015 CS 173, Lecture B November 3, 2015 Tandy Warnow Announcements Examlet 7 is a take-home exam, and is due November 10, 11:05 AM, in class.

More information

Optimization Bounds from Binary Decision Diagrams

Optimization Bounds from Binary Decision Diagrams Optimization Bounds from Binary Decision Diagrams J. N. Hooker Joint work with David Bergman, André Ciré, Willem van Hoeve Carnegie Mellon University ICS 203 Binary Decision Diagrams BDDs historically

More information

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang

Timed Automata. Semantics, Algorithms and Tools. Zhou Huaiyang Timed Automata Semantics, Algorithms and Tools Zhou Huaiyang Agenda } Introduction } Timed Automata } Formal Syntax } Operational Semantics } Verification Problems } Symbolic Semantics & Verification }

More information

The core of solving constraint problems using Constraint Programming (CP), with emphasis on:

The core of solving constraint problems using Constraint Programming (CP), with emphasis on: What is it about? l Theory The core of solving constraint problems using Constraint Programming (CP), with emphasis on: l Modeling l Solving: Local consistency and propagation; Backtracking search + heuristics.

More information

Integrating Simplex with DPLL(T )

Integrating Simplex with DPLL(T ) CSL Technical Report SRI-CSL-06-01 May 23, 2006 Integrating Simplex with DPLL(T ) Bruno Dutertre and Leonardo de Moura This report is based upon work supported by the Defense Advanced Research Projects

More information

All-Pairs Shortest Paths

All-Pairs Shortest Paths All-Pairs Shortest Paths Version of October 28, 2016 Version of October 28, 2016 All-Pairs Shortest Paths 1 / 26 Outline Another example of dynamic programming Will see two different dynamic programming

More information

Decision Diagrams for Discrete Optimization

Decision Diagrams for Discrete Optimization Decision Diagrams for Discrete Optimization Willem Jan van Hoeve Tepper School of Business Carnegie Mellon University www.andrew.cmu.edu/user/vanhoeve/mdd/ Acknowledgments: David Bergman, Andre Cire, Samid

More information

Breaking Local Symmetries in Quasigroup Completion Problems

Breaking Local Symmetries in Quasigroup Completion Problems Breaking Local Symmetries in Quasigroup Completion Problems Ruben Martins and Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal {ruben,ines}@sat.inesc-id.pt Abstract. Symmetry breaking

More information

Assertions and Measurements for Mixed-Signal Simulation

Assertions and Measurements for Mixed-Signal Simulation Assertions and Measurements for Mixed-Signal Simulation PhD Thesis Thomas Ferrère VERIMAG, University of Grenoble (directeur: Oded Maler) Mentor Graphics Corporation (co-encadrant: Ernst Christen) October

More information

TCTL model-checking of Time Petri Nets

TCTL model-checking of Time Petri Nets 1 TCTL model-checking of Time Petri Nets Hanifa Boucheneb 1, Guillaume Gardey 2,3 and Olivier H. Roux 2 Affiliations : 1 : École polytechnique de Montréal, C.P. 6079, succ. Centre-ville Montréal H3C3A7

More information

Alternative Methods for Obtaining. Optimization Bounds. AFOSR Program Review, April Carnegie Mellon University. Grant FA

Alternative Methods for Obtaining. Optimization Bounds. AFOSR Program Review, April Carnegie Mellon University. Grant FA Alternative Methods for Obtaining Optimization Bounds J. N. Hooker Carnegie Mellon University AFOSR Program Review, April 2012 Grant FA9550-11-1-0180 Integrating OR and CP/AI Early support by AFOSR First

More information

Absolute Value Equations and Inequalities. Use the distance definition of absolute value.

Absolute Value Equations and Inequalities. Use the distance definition of absolute value. Chapter 2 Section 7 2.7 Absolute Value Equations and Inequalities Objectives 1 2 3 4 5 6 Use the distance definition of absolute value. Solve equations of the form ax + b = k, for k > 0. Solve inequalities

More information

Math 1 Variable Manipulation Part 5 Absolute Value & Inequalities

Math 1 Variable Manipulation Part 5 Absolute Value & Inequalities Math 1 Variable Manipulation Part 5 Absolute Value & Inequalities 1 ABSOLUTE VALUE REVIEW Absolute value is a measure of distance; how far a number is from zero: 6 is 6 away from zero, and " 6" is also

More information

Ch 5.7: Series Solutions Near a Regular Singular Point, Part II

Ch 5.7: Series Solutions Near a Regular Singular Point, Part II Ch 5.7: Series Solutions Near a Regular Singular Point, Part II! Recall from Section 5.6 (Part I): The point x 0 = 0 is a regular singular point of with and corresponding Euler Equation! We assume solutions

More information

How to Relax. CP 2008 Slide 1. John Hooker Carnegie Mellon University September 2008

How to Relax. CP 2008 Slide 1. John Hooker Carnegie Mellon University September 2008 How to Relax Slide 1 John Hooker Carnegie Mellon University September 2008 Two ways to relax Relax your mind and body. Relax your problem formulations. Slide 2 Relaxing a problem Feasible set of original

More information

Geometric Series and the Ratio and Root Test

Geometric Series and the Ratio and Root Test Geometric Series and the Ratio and Root Test James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University September 5, 2017 Outline Geometric Series The

More information

arxiv: v1 [cs.cc] 5 Dec 2018

arxiv: v1 [cs.cc] 5 Dec 2018 Consistency for 0 1 Programming Danial Davarnia 1 and J. N. Hooker 2 1 Iowa state University davarnia@iastate.edu 2 Carnegie Mellon University jh38@andrew.cmu.edu arxiv:1812.02215v1 [cs.cc] 5 Dec 2018

More information

23. Cutting planes and branch & bound

23. Cutting planes and branch & bound CS/ECE/ISyE 524 Introduction to Optimization Spring 207 8 23. Cutting planes and branch & bound ˆ Algorithms for solving MIPs ˆ Cutting plane methods ˆ Branch and bound methods Laurent Lessard (www.laurentlessard.com)

More information

The Ellipsoid Algorithm

The Ellipsoid Algorithm The Ellipsoid Algorithm John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 12180 USA 9 February 2018 Mitchell The Ellipsoid Algorithm 1 / 28 Introduction Outline 1 Introduction 2 Assumptions

More information

The Promise of Polynomialbased Local Search to Boost. Boolean MAX-CSP Solvers

The Promise of Polynomialbased Local Search to Boost. Boolean MAX-CSP Solvers The Promise of Polynomialbased Local Search to Boost Boolean MAX-CSP Solvers Christine D. Hang Northeastern University Boston, MA Joint work with Ahmed Abdelmeged, Daniel Rinehart and Karl J. Lieberherr

More information

Scheduling with Constraint Programming. Job Shop Cumulative Job Shop

Scheduling with Constraint Programming. Job Shop Cumulative Job Shop Scheduling with Constraint Programming Job Shop Cumulative Job Shop CP vs MIP: Task Sequencing We need to sequence a set of tasks on a machine Each task i has a specific fixed processing time p i Each

More information

AUTOMATED REASONING. Agostino Dovier. Udine, October 2, Università di Udine CLPLAB

AUTOMATED REASONING. Agostino Dovier. Udine, October 2, Università di Udine CLPLAB AUTOMATED REASONING Agostino Dovier Università di Udine CLPLAB Udine, October 2, 2017 AGOSTINO DOVIER (CLPLAB) AUTOMATED REASONING UDINE, OCTOBER 2, 2017 1 / 28 COURSE PLACEMENT International Master Degree

More information

A Pseudo-Boolean Set Covering Machine

A Pseudo-Boolean Set Covering Machine A Pseudo-Boolean Set Covering Machine Pascal Germain, Sébastien Giguère, Jean-Francis Roy, Brice Zirakiza, François Laviolette, and Claude-Guy Quimper Département d informatique et de génie logiciel, Université

More information

Automatic Generation of Redundant Models for Permutation Constraint Satisfaction Problems

Automatic Generation of Redundant Models for Permutation Constraint Satisfaction Problems Manuscript Latex Source Click here to download Manuscript: article.tex 0 0 0 0 0 0 Automatic Generation of Redundant Models for Permutation Constraint Satisfaction Problems Y.C. Law and J.H.M. Lee Department

More information

Algorithms and Complexity of Constraint Satisfaction Problems (course number 3)

Algorithms and Complexity of Constraint Satisfaction Problems (course number 3) Algorithms and Complexity of Constraint Satisfaction Problems (course number 3) Nicolas (Miki) Hermann LIX, École Polytechnique hermann@lix.polytechnique.fr Miki Hermann Algorithms and Complexity of csp

More information

Decoding Revisited: Easy-Part-First & MERT. February 26, 2015

Decoding Revisited: Easy-Part-First & MERT. February 26, 2015 Decoding Revisited: Easy-Part-First & MERT February 26, 2015 Translating the Easy Part First? the tourism initiative addresses this for the first time the die tm:-0.19,lm:-0.4, d:0, all:-0.65 tourism touristische

More information

Huygens principle-based wavefront tracing in non-uniform media

Huygens principle-based wavefront tracing in non-uniform media Presented at the 2015 Sherwood Fusion Theory Conference March 16-18, 2015, Courant Institute at New York University, NY, USA Huygens principle-based wavefront tracing in non-uniform media A. Zhao, P.-D.

More information

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2)

Algorithms and Theory of Computation. Lecture 13: Linear Programming (2) Algorithms and Theory of Computation Lecture 13: Linear Programming (2) Xiaohui Bei MAS 714 September 25, 2018 Nanyang Technological University MAS 714 September 25, 2018 1 / 15 LP Duality Primal problem

More information

3D Coordinate Transformations. Tuesday September 8 th 2015

3D Coordinate Transformations. Tuesday September 8 th 2015 3D Coordinate Transformations Tuesday September 8 th 25 CS 4 Ross Beveridge & Bruce Draper Questions / Practice (from last week I messed up!) Write a matrix to rotate a set of 2D points about the origin

More information

Global Constraints for the Mean Aboslute Deviation and the Variance: Application to the Vertical Line Balancing

Global Constraints for the Mean Aboslute Deviation and the Variance: Application to the Vertical Line Balancing 1/51 Global Constraints for the Mean Aboslute Deviation and the Variance: Application to the Vertical Line Balancing Pierre Schaus and Yves Deville, Jean-Charles Régin also collaborated Belgian Constraints

More information

The exam is closed book, closed calculator, and closed notes except your one-page crib sheet.

The exam is closed book, closed calculator, and closed notes except your one-page crib sheet. CS 188 Fall 2015 Introduction to Artificial Intelligence Final You have approximately 2 hours and 50 minutes. The exam is closed book, closed calculator, and closed notes except your one-page crib sheet.

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 8. Satisfiability and Model Construction Davis-Putnam-Logemann-Loveland Procedure, Phase Transitions, GSAT Joschka Boedecker and Wolfram Burgard and Bernhard Nebel

More information

Discrete Optimization Lecture 5. M. Pawan Kumar

Discrete Optimization Lecture 5. M. Pawan Kumar Discrete Optimization Lecture 5 M. Pawan Kumar pawan.kumar@ecp.fr Exam Question Type 1 v 1 s v 0 4 2 1 v 4 Q. Find the distance of the shortest path from s=v 0 to all vertices in the graph using Dijkstra

More information

Student Activity: Finding Factors and Prime Factors

Student Activity: Finding Factors and Prime Factors When you have completed this activity, go to Status Check. Pre-Algebra A Unit 2 Student Activity: Finding Factors and Prime Factors Name Date Objective In this activity, you will find the factors and the

More information

Improving Unsatisfiability-based Algorithms for Boolean Optimization

Improving Unsatisfiability-based Algorithms for Boolean Optimization Improving Unsatisfiability-based Algorithms for Boolean Optimization Vasco Manquinho Ruben Martins Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal SAT 2010, Edinburgh 1 / 27 Motivation

More information

ABSOLUTE VALUE EQUATIONS AND INEQUALITIES

ABSOLUTE VALUE EQUATIONS AND INEQUALITIES ABSOLUTE VALUE EQUATIONS AND INEQUALITIES The absolute value of a number is the magnitude of the number without regard to the sign of the number. Absolute value is indicated by vertical lines and is always

More information

Solving LP and MIP Models with Piecewise Linear Objective Functions

Solving LP and MIP Models with Piecewise Linear Objective Functions Solving LP and MIP Models with Piecewise Linear Obective Functions Zonghao Gu Gurobi Optimization Inc. Columbus, July 23, 2014 Overview } Introduction } Piecewise linear (PWL) function Convex and convex

More information

Quadratic Equations 6 QUESTIONS. Relatively Easy: Questions 1 to 2 Moderately Difficult: Questions 3 to 4 Difficult: Questions 5 to 6

Quadratic Equations 6 QUESTIONS. Relatively Easy: Questions 1 to 2 Moderately Difficult: Questions 3 to 4 Difficult: Questions 5 to 6 Quadratic Equations 6 QUESTIONS Relatively Easy: Questions 1 to 2 Moderately Difficult: Questions 3 to 4 Difficult: Questions 5 to 6 Questions www.tutornext.com Page 2 of 11 Q1. The factors of 2x² - 7x

More information

Path Queries under Distortions: Answering and Containment

Path Queries under Distortions: Answering and Containment Path Queries under Distortions: Answering and Containment Gosta Grahne Concordia University Alex Thomo Suffolk University Foundations of Information and Knowledge Systems (FoIKS 04) Postulate 1 The world

More information

Affine and Perspective Warping (Geometric Transforms)

Affine and Perspective Warping (Geometric Transforms) Affine and Perspective Warping (Geometric Transforms) Image Processing Material in this presentation is largely based on/derived from presentation(s) and book: The Digital Image by Dr. Donald House at

More information

GEOMETRY AND VECTORS

GEOMETRY AND VECTORS GEOMETRY AND VECTORS Distinguishing Between Points in Space One Approach Names: ( Fred, Steve, Alice...) Problem: distance & direction must be defined point-by-point More elegant take advantage of geometry

More information

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS The main ideas are covered in AQA Edexcel MEI OCR D2 Before the exam you should know The meaning of the different kinds of node. Be able to construct a

More information

Announcements. Solution to Assignment 3 is posted Assignment 4 is available. c D. Poole and A. Mackworth 2017 CPSC 322 Lecture 8 1 / 25

Announcements. Solution to Assignment 3 is posted Assignment 4 is available. c D. Poole and A. Mackworth 2017 CPSC 322 Lecture 8 1 / 25 Announcements Solution to Assignment 3 is posted Assignment 4 is available c D. Poole and A. Mackworth 2017 CPSC 322 Lecture 8 1 / 25 Review: So far... Constraint satisfaction problems defined in terms

More information

Snake Lex: an Alternative to Double Lex

Snake Lex: an Alternative to Double Lex Snake Lex: an Alternative to Double Lex Andrew Grayland 1, Ian Miguel 1 and Colva M. Roney-Dougal 2 (andyg@cs, ianm@cs, colva@mcs).st-and.ac.uk (1. School of Comp. Sci., 2. School of Maths and Stats),

More information

1.7 Inequalities. Copyright Cengage Learning. All rights reserved.

1.7 Inequalities. Copyright Cengage Learning. All rights reserved. 1.7 Inequalities Copyright Cengage Learning. All rights reserved. Objectives Solving Linear Inequalities Solving Nonlinear Inequalities Absolute Value Inequalities Modeling with Inequalities 2 Inequalities

More information

On solving mixed-integer constraint satisfaction problems with unbounded variables

On solving mixed-integer constraint satisfaction problems with unbounded variables On solving mixed-integer constraint satisfaction problems with unbounded variables Hermann Schichl, Arnold Neumaier, Mihály Csaba Markót, and Ferenc Domes Faculty of Mathematics, University of Vienna,

More information

An Integrated Approach to Truss Structure Design

An Integrated Approach to Truss Structure Design Slide 1 An Integrated Approach to Truss Structure Design J. N. Hooker Tallys Yunes CPAIOR Workshop on Hybrid Methods for Nonlinear Combinatorial Problems Bologna, June 2010 How to Solve Nonlinear Combinatorial

More information

Leveraging Belief Propagation, Backtrack Search, and Statistics for Model Counting

Leveraging Belief Propagation, Backtrack Search, and Statistics for Model Counting Leveraging Belief Propagation, Backtrack Search, and Statistics for Model Counting Lukas Kroc, Ashish Sabharwal, Bart Selman Cornell University May 23, 2008 CPAIOR-08 Conference, Paris Talk Outline Model

More information

Written examination: Solution suggestions TIN175/DIT411, Introduction to Artificial Intelligence

Written examination: Solution suggestions TIN175/DIT411, Introduction to Artificial Intelligence Written examination: Solution suggestions TIN175/DIT411, Introduction to Artificial Intelligence Question 1 had completely wrong alternatives, and cannot be answered! Therefore, the grade limits was lowered

More information

Chapter 6 Constraint Satisfaction Problems

Chapter 6 Constraint Satisfaction Problems Chapter 6 Constraint Satisfaction Problems CS5811 - Artificial Intelligence Nilufer Onder Department of Computer Science Michigan Technological University Outline CSP problem definition Backtracking search

More information

MDD-based Postoptimality Analysis for Mixed-integer Programs

MDD-based Postoptimality Analysis for Mixed-integer Programs MDD-based Postoptimality Analysis for Mixed-integer Programs John Hooker, Ryo Kimura Carnegie Mellon University Thiago Serra Mitsubishi Electric Research Laboratories Symposium on Decision Diagrams for

More information

IE 5531: Engineering Optimization I

IE 5531: Engineering Optimization I IE 5531: Engineering Optimization I Lecture 7: Duality and applications Prof. John Gunnar Carlsson September 29, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 29, 2010 1

More information

Integer Programming, Constraint Programming, and their Combination

Integer Programming, Constraint Programming, and their Combination Integer Programming, Constraint Programming, and their Combination Alexander Bockmayr Freie Universität Berlin & DFG Research Center Matheon Eindhoven, 27 January 2006 Discrete Optimization General framework

More information

Graph Analysis Using Map/Reduce

Graph Analysis Using Map/Reduce Seminar: Massive-Scale Graph Analysis Summer Semester 2015 Graph Analysis Using Map/Reduce Laurent Linden s9lalind@stud.uni-saarland.de May 14, 2015 Introduction Peta-Scale Graph + Graph mining + MapReduce

More information

Constraint Programming Overview based on Examples

Constraint Programming Overview based on Examples DM841 Discrete Optimization Part I Lecture 2 Constraint Programming Overview based on Examples Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. An

More information

MATH 434 Fall 2016 Homework 1, due on Wednesday August 31

MATH 434 Fall 2016 Homework 1, due on Wednesday August 31 Homework 1, due on Wednesday August 31 Problem 1. Let z = 2 i and z = 3 + 4i. Write the product zz and the quotient z z in the form a + ib, with a, b R. Problem 2. Let z C be a complex number, and let

More information

Counting CSP Solutions Using Generalized XOR Constraints

Counting CSP Solutions Using Generalized XOR Constraints Counting CSP Solutions Using Generalized XOR Constraints Carla P. Gomes and Willem-Jan van Hoeve and Ashish Sabharwal and Bart Selman Department of Computer Science Cornell University, Ithaca NY 14853-7501,

More information

SHORT INTRODUCTION TO DYNAMIC PROGRAMMING. 1. Example

SHORT INTRODUCTION TO DYNAMIC PROGRAMMING. 1. Example SHORT INTRODUCTION TO DYNAMIC PROGRAMMING. Example We consider different stages (discrete time events) given by k = 0,..., N. Let x k be the amount of money owned by a consumer at the stage k. At each

More information

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Journal of Artificial Intelligence Research 1 (1993) 1-15 Submitted 6/91; published 9/91 Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Enrico Giunchiglia Massimo

More information

Finding optimal configurations ( combinatorial optimization)

Finding optimal configurations ( combinatorial optimization) CS 1571 Introduction to AI Lecture 10 Finding optimal configurations ( combinatorial optimization) Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Constraint satisfaction problem (CSP) Constraint

More information

AI 2 : Safety and Robustness Certification of Neural Networks with Abstract Interpretation

AI 2 : Safety and Robustness Certification of Neural Networks with Abstract Interpretation AI : Safety and Robustness Certification of Neural Networks with Abstract Interpretation Timon Gehr, Matthew Mirman, Dana Drachsler-Cohen, Petar Tsankov, Swarat Chaudhuri, Martin Vechev Department of Computer

More information

Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods

Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods Unbounded, Fully Symbolic Model Checking of Timed Automata using Boolean Methods Sanjit A. Seshia and Randal E. Bryant Computer Science Department Carnegie Mellon University Verifying Timed Embedded Systems

More information

Engineering Mechanics Statics

Engineering Mechanics Statics Mechanical Systems Engineering -2016 Engineering Mechanics Statics 3. Force Vectors; Position Vector & Dot product Position Vector A position vector is a fixed vector that locates a point in space relative

More information

Approximate Voronoi Diagrams

Approximate Voronoi Diagrams CS468, Mon. Oct. 30 th, 2006 Approximate Voronoi Diagrams Presentation by Maks Ovsjanikov S. Har-Peled s notes, Chapters 6 and 7 1-1 Outline Preliminaries Problem Statement ANN using PLEB } Bounds and

More information

Comparison of the Complex Valued and Real Valued Neural Networks Trained with Gradient Descent and Random Search Algorithms

Comparison of the Complex Valued and Real Valued Neural Networks Trained with Gradient Descent and Random Search Algorithms Comparison of the Complex Valued and Real Valued Neural Networks rained with Gradient Descent and Random Search Algorithms Hans Georg Zimmermann, Alexey Minin 2,3 and Victoria Kusherbaeva 3 - Siemens AG

More information

Problem 2 More Than One Solution

Problem 2 More Than One Solution Problem More Than One Solution 1. Water becomes non-liquid when it is 3 F or below, or when it is at least 1 F. a. Represent this information on a number line. b. Write a compound inequality to represent

More information

Theory and Internet Protocols

Theory and Internet Protocols Game Lecture 2: Linear Programming and Zero Sum Nash Equilibrium Xiaotie Deng AIMS Lab Department of Computer Science Shanghai Jiaotong University September 26, 2016 1 2 3 4 Standard Form (P) Outline

More information

Constraint satisfaction search. Combinatorial optimization search.

Constraint satisfaction search. Combinatorial optimization search. CS 1571 Introduction to AI Lecture 8 Constraint satisfaction search. Combinatorial optimization search. Milos Hauskrecht milos@cs.pitt.edu 539 Sennott Square Constraint satisfaction problem (CSP) Objective:

More information

Nogood Recording from Restarts

Nogood Recording from Restarts Nogood Recording from Restarts Christophe Lecoutre and Lakhdar Sais and Sébastien Tabary and Vincent Vidal CRIL CNRS FRE 2499 Université d Artois Lens, France {lecoutre,sais,tabary,vidal}@cril.univ-artois.fr

More information

Reachability Analysis of Hybrid Systems using Support Functions

Reachability Analysis of Hybrid Systems using Support Functions Reachability Analysis of Hybrid Systems using Support Functions Colas Le Guernic 1 and Antoine Girard 2 1 Verimag, Université de Grenoble 2 Laboratoire Jean Kuntzmann, Université de Grenoble {Colas.Le-Guernic,Antoine.Girard}@imag.fr

More information

Lessons from MIP Search. John Hooker Carnegie Mellon University November 2009

Lessons from MIP Search. John Hooker Carnegie Mellon University November 2009 Lessons from MIP Search John Hooker Carnegie Mellon University November 2009 Outline MIP search The main ideas Duality and nogoods From MIP to AI (and back) Binary decision diagrams From MIP to constraint

More information

Accuracy of Admissible Heuristic Functions in Selected Planning Domains

Accuracy of Admissible Heuristic Functions in Selected Planning Domains Accuracy of Admissible Heuristic Functions in Selected Planning Domains Malte Helmert Robert Mattmüller Albert-Ludwigs-Universität Freiburg, Germany AAAI 2008 Outline 1 Introduction 2 Analyses 3 Summary

More information

Multi-Dimensional Models Facilitate Automatic Reformulation: The Case Study of the SET Game

Multi-Dimensional Models Facilitate Automatic Reformulation: The Case Study of the SET Game University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln CSE Conference and Workshop Papers Computer Science and Engineering, Department of 2011 Multi-Dimensional Models Facilitate

More information

Runge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot. Department U2IS ENSTA ParisTech SCAN Uppsala

Runge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot. Department U2IS ENSTA ParisTech SCAN Uppsala Runge-Kutta Theory and Constraint Programming Julien Alexandre dit Sandretto Alexandre Chapoutot Department U2IS ENSTA ParisTech SCAN 2016 - Uppsala Contents Numerical integration Runge-Kutta with interval

More information

A pattern of dots is shown. At each step, more dots are added to the pattern. The pattern continues infinitely.

A pattern of dots is shown. At each step, more dots are added to the pattern. The pattern continues infinitely. Grade 7 Algebraic Relationships Pattern Of Dots A pattern of dots is shown. At each step, more dots are added to the pattern. The pattern continues infinitely. 2 Algebraic Relationships Pattern of dots

More information

A Constructor-Based Reachability Logic for Rewrite Theories

A Constructor-Based Reachability Logic for Rewrite Theories A Constructor-Based Reachability Logic for Rewrite Theories Stephen Skeirik, Andrei Stefanescu, Jose Meseguer October 10th, 2017 Outline 1 Introduction 2 Reachability Logic Semantics 3 The Invariant Paradox

More information

An Abstract Domain to Infer Octagonal Constraints with Absolute Value

An Abstract Domain to Infer Octagonal Constraints with Absolute Value An Abstract Domain to Infer Octagonal Constraints with Absolute Value Liqian Chen 1, Jiangchao Liu 2, Antoine Miné 2,3, Deepak Kapur 4, and Ji Wang 1 1 National Laboratory for Parallel and Distributed

More information