Valued Constraints Islands of Tractability. Agenda The soft constraint formalism (5 minutes) Valued Constraint Languages (5 minutes) Hard and Easy Languages.

Slides:



Advertisements
Similar presentations
Problems and Their Classes
Advertisements

NP-Hard Nattee Niparnan.
Time Complexity P vs NP.
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Introduction to Algorithms
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Semi-Definite Algorithm for Max-CUT Ran Berenfeld May 10,2005.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
The Theory of NP-Completeness
130 September 2003 Tractability by Approximating Constraint Languages Martin Green and David Cohen CP 2003 Ninth International Conference on Principles.
1 Backdoors To Typical Case Complexity Ryan Williams Carnegie Mellon University Joint work with: Carla Gomes and Bart Selman Cornell University.
CSP, Algebras, Varieties Andrei A. Bulatov Simon Fraser University.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Chapter 11: Limitations of Algorithmic Power
Linear Programming – Max Flow – Min Cut Orgad Keller.
Extensions of submodularity and their application in computer vision
NP-complete and NP-hard problems. Decision problems vs. optimization problems The problems we are trying to solve are basically of two kinds. In decision.
1 Relational Algebra and Calculus Yanlei Diao UMass Amherst Feb 1, 2007 Slides Courtesy of R. Ramakrishnan and J. Gehrke.
CSP, Algebras, Varieties Andrei A. Bulatov Simon Fraser University.
1 Slides by Asaf Shapira & Michael Lewin & Boaz Klartag & Oded Schwartz. Adapted from things beyond us.
An Investigation of the Multimorphisms of Tractable and Intractable Classes of Valued Constraints Mathematics of Constraint Satisfaction: Algebra, Logic.
Linear Systems The definition of a linear equation given in Chapter 1 can be extended to more variables; any equation of the form for real numbers.
1 First order theories. 2 Satisfiability The classic SAT problem: given a propositional formula , is  satisfiable ? Example:  Let x 1,x 2 be propositional.
Dana Moshkovitz, MIT Joint work with Subhash Khot, NYU.
T Ball (1 Relation) What Your Robots Do Karl Lieberherr CSU 670 Spring 2009.
1 Constraint Programming: An Introduction Adapted by Cristian OLIVA from Peter Stuckey (1998) Ho Chi Minh City.
MCS312: NP-completeness and Approximation Algorithms
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Rendezvous of Logic, Complexity and Algebra by Hubie Chen SIGACT News Logic Column 17.
1 Relational Algebra and Calculas Chapter 4, Part A.
MATERI I FUNGSI. Preliminaries REAL NUMBERS A real number may be either rational or irrational; either algebraic or transcendental; and either positive,
Practical Considerations When t , the supp, then there will be a value of t when supp folds, it becomes multi-w-to-one-x mapping.
CompSci 102 Discrete Math for Computer Science
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
1 Constraint Symmetry and Solution Symmetry Presented by Beau M. Christ Symmetry in CSP’s Spring 2010 Presented by Beau M. Christ Symmetry in CSP’s Spring.
Performance prediction for real world optimisation problems Tommy Messelis Stefaan Haspeslagh Burak Bilgin Patrick De Causmaecker Greet Vanden Berghe.
CSP: Algorithms and Dichotomy Conjecture Andrei A. Bulatov Simon Fraser University.
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
1 First order theories (Chapter 1, Sections 1.4 – 1.5) From the slides for the book “Decision procedures” by D.Kroening and O.Strichman.
Fuzzy Optimization D Nagesh Kumar, IISc Water Resources Planning and Management: M9L1 Advanced Topics.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
G51IAI Introduction to Artificial Intelligence
Introduction to Optimization
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Negotiating Socially Optimal Allocations of Resources U. Endriss, N. Maudet, F. Sadri, and F. Toni Presented by: Marcus Shea.
University of Calabria, Italy Gianluigi Greco and Francesco Scarcello 17th Int. Conf. on Principles and Practice of Constraint Programming Perugia, Italy,
Computational Intelligence Winter Term 2015/16 Prof. Dr. Günter Rudolph Lehrstuhl für Algorithm Engineering (LS 11) Fakultät für Informatik TU Dortmund.
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
Chapter 10 NP-Complete Problems.
Computable Functions.
Computational Intelligence
Time Complexity Costas Busch - LSU.
Implications of the ETH
Computability and Complexity
Computational Intelligence
Linear Programming Objectives: Set up a Linear Programming Problem
Testing Assignments of Boolean CSP’s
CS 583 Fall 2006 Analysis of Algorithms
Computational Intelligence
Presentation transcript:

Valued Constraints Islands of Tractability

Agenda The soft constraint formalism (5 minutes) Valued Constraint Languages (5 minutes) Hard and Easy Languages (10 minutes) Reasoning about Tractability (10 min) Languages and multimorphisms (15 min) Open Questions (5 minutes)

Soft Constraints Classical constraint satisfaction problems answer questions about feasibility. We can give costs to tuples in constraint relations – crisp case just 0 and 1. This allows us to compare complete assignments by aggregating costs for individual constraints …and so to answer optimization questions

Soft Constraint Problem Instance A set of problem variables; A domain of values; A set of constraints; A set of costs (valuation structure) Each constraint has a: –Scope: list of concerned variables; –Cost Function: cost of each assignment.

Assignment Costs: Axioms ? is the best value. > is the worst value. ­ models projection and is a commutative, associative and idempotent. © models aggregation and is commutative and associative; 8 a : (a ­ > = a) Æ (a © ? ) = a; 8 a : (a ­ ? = ? ) Æ (a © > ) = > ; © distributes over ­ : 8 a,b,c : (a © (b ­ c) = (a © b) ­ (a © c)). We then define: (a · b), (a ­ b = b). With respect to · we can show ­ and © are monotonic.

VCSP framework Here we insist · is totally ordered. Then the costs are a valuation structure. We write: –0 to mean ? (the best value); – 1 to mean > (the worst value); –Projection ( ­ ) becomes minimum; If © is strictly monotonic then we can also subtract costs (we get ª ).

Valued CSP Instance A set of problem variables; A domain of values; A set of constraints; A set of costs (valuation structure) Each constraint has a: –Scope: list of concerned variables; –Cost Function: cost of each assignment. A totally ordered set with a strictly monotonic aggregation operator

Soft Constraint Languages

A voyage of Discovery In general the VCSP is NP-hard. It generalizes CSP.

Possible Islands The constraint scopes form a hypergraph. The cost functions are a set of functions from the domain to a valuation structure. We could restrict the hypergraph structure or the types of cost functions of a set of instances to find an island of tractability. …

Valued Constraint Languages For any domain D, and valuation structure  a k-ary cost function is a mapping  from D k to . A valued constraint language (for D and  ) is any set  of cost functions.

Example: Relations A relation can be seen as a cost function that only takes the values 0 and 1. …So the VCSP obtained by restricting to functions with values 0 and 1 is the classical CSP. This gives the first few islands of tractability.

Example: MAX-CSP The corresponding MAX-CSP instance for a CSP instance can be obtained replacing each constraint where: The VCSP problem for the language of 0/1 cost functions is just MAX-CSP.

Hard and Easy Languages

Boolean Not Equals Two NP-hard Languages Ternary Equality, and all Unary Cost functions Variable: Cost 1Cost 0 Legend

Submodular Set Functions Let S be any set and  a real valued function. We say that  is submodular if –  (X) +  (Y) ¸  (X [ Y) +  (X Å Y) We can use these functions to express optimization problems. We know that this optimization (minimization) problem is tractable (seventh power of problem size). For example:  (X) = |X| For example:  (X) = 5

Submodular Cost Functions We can represent a submodular function on a set as a cost function on a list of Boolean (0/1) variables (valued constraint): –Union becomes MAX; –Intersection becomes MIN. We can extend the definition to non- Boolean ordered domains. This (finite cost) language is still tractable.

Submodular Cost Functions This cost function is submodular And this one is not.

Binary Submodular If we restrict our attention to submodular functions that are binary then we obtain: This result is obtained by decomposing binary submodular functions into so called generalized interval functions. The complexity of solving an optimisation problem whose constraints are binary submodular is cubic.

Generalized Interval Functions We solve a VCSP whose cost functions are GI functions by finding the minimal cut in a particular weighted digraph. The weighted graph has O(nd) vertexes and hence this takes O(n 3 d 3 ) steps.

Reasoning about Tractability

Tractability? We have a complete characterization of tractable Boolean MAX-SAT languages. –There are just three maximal tractable languages: 0-valid, 1-valid or 2-monotone [Creignou 1995] We have a characterization of the tractability of crisp constraint languages. –They have a non-trivial polymorphism [Jeavons, Cohen, Gyssens 1996]

Tractability? We generalise the notion of a polymorphism to a multimorphism. The maximal tractable MAX-SAT languages are characterised by single multimorphisms. So this is a good place to search for islands of tractability.

A Multimorphism 1: Technical

A Multimorphism 2: Definition

A Multimorphism 3: Example

A Multimorphism 4: Example

Expressibility If multimorphisms are to be able to capture complexity then it has to be the case that those cost functions expressed by  have the multimorphisms of . Since valued languages extend crisp languages it had better be the case that polymorphisms lead to analogous multimorphisms (and vice-versa).

Languages Characterised by Multimorphisms

Characterisation It means much to say that every known example of a tractable language indeed has a multimorphism. It means more still to observe that they are all characterised by single multimorphisms. It means even more to observe that the intractable languages have no multimorphisms.

Boolean Not Equals Two NP-hard Languages Ternary Equality, and all Unary Cost functions Variable: Cost 1Cost 0 Legend These two languages have no multimorphisms (to speak of)

Majority/Minority Functions Completely characterised by a multimorphism.

Max,Max Functions Completely characterised by a multimorphism.

Constant Completely characterised by a multimorphism.

Min,Max Functions Nearly characterised by a multimorphism.

Open Questions

Expressibility and Multimorphisms Do multimorphisms capture expressibility? –We have done some work on this and cannot show that it is not true! Do multimorphisms capture complexity? (or are we just lucky?) –In the submodular case we have no proof for non-binary that allowing infinite costs is tractable.

Algebra of Multimorphisms If multimorphisms are the right thing to study then have they been studied before? We achieved a great deal by discovering the (known) work on clones and polymorphisms.