From Local to Global Consistency in Temporal Constraint Networks

Total Page:16

File Type:pdf, Size:1020Kb

From Local to Global Consistency in Temporal Constraint Networks From Lo cal to Global Consistency in Temp oral ? Constraint Networks Manolis Koubarakis Dept of Computation UMIST PO Box Manchester M QD UK manolissnacoumistacuk Abstract We study the problem of global consistency for several classes of quantitative temp oral constraints which include inequalities inequations and disjunctions of in equations In all cases that we consider we identify the level of lo cal consistency that is necessary and sucient for achieving global consistency and present an al gorithm which achieves this level As a bypro duct of our analysis we also develop an interesting minimal network algorithm Intro duction One of the most imp ortant notions found in the constraint satisfaction lit erature is global consistency Fre In a global ly consistent constraint set all interesting constraints are explicitly represented and the pro jection of the solution set on any subset of the variables can b e computed by simply col lecting the constraints involving these variables An imp ortant consequence of this prop erty is that a solution can b e found by backtrackfree search Fre Enforcing global consistency can take an exp onential amount of time in the worst case FreCo o As a result it is very imp ortant to identify cases in which local consistency which presumably can b e enforced in p olynomial time implies global consistency Dec Invited submission to the sp ecial issue of Theoretical Computer Science dedi cated to the st International Conference on Principles and Practice of Constraint Programming CP Editors U Montanari and F Rossi Forthcoming In this pap er we study the problem of enforcing global consistency for sets of quantitative temp oral constraints over the rational or real numb ers The class of constraints that we consider includes equalities of the form x y r inequalities of the form x y r inequations of the form x y r and disjunctions of inequations of the form x y r x y r 1 1 1 n n n where x y x y x y are variables ranging over the rational numb ers 1 1 n n and r r r are rational constants For the representation of equalities 1 n inequalities and inequations we utilize binary temporal constraint networks Disjunctions of inequations are represented separately Disjunctions of inequations have b een intro duced in Kou following the ob servation that in the pro cess of eliminating variables from a set of temp oral 1 constraints an inequation can give rise to a disjunction of inequations In related temp oral reasoning research VKvBaGS GSS have consid ered inequations of the form t t in the context of p oint algebra PA 1 2 networks Also Meia has studied inequations of the form t r r a real constant in the context of p oint networks with almostsingleinte rval domains In a more general context researchers in constraint logic programming orig inally LM and later IvHImbImb have studied disjunctions of arbitrary linear inequations eg x x x x x x 1 2 3 2 3 5 LM IvH concentrate on deciding consistency and computing canonical forms while ImbImb deal mostly with variable elimination It is inter esting to notice that the basic algorithm for variable elimination in this case has b een discovered indep endently in Kou and Imb although Kou has used the result only in the context of temp oral constraints The contributions of this pap er can b e summarized as follows i We show that strong consistency is necessary and sucient for achiev ing global consistency in temp oral constraint networks for inequalities 2 and inequations Corollary This result and all subsequent ones rely heavily on an observation of LM Kou Imb disjunctions of inequations can be treated indep endently of one another for the purposes of deciding consistency or performing variable elimination 4 We give an algorithm which achieves global consistency in O H n 1 Elimination of variables is a very imp ortant op eration in temp oral constraint databases KoucKouaKoub 2 As shown in DMP if only inequalities are considered path consistency is nec essary and sucient for achieving global consistency where n is the numb er of no des in the network and H is the numb er of inequations Theorems and The analysis of this algorithm demonstrates that there are situations where it is impossible to enforce global consistency without intro ducing disjunctions of inequations A detailed analysis of the global consistency algorithm also gives us an algorithm for computing the minimal temp oral constraint network in 2 3 this case The complexity of this algorithm is O maxH n n Theorem ii We also consider global consistency of p oint algebra networks VK In this case strong consistency is also necessary and sucient for achieving global consistency Theorem This result which answers an op en problem of vBa also follows from Kou but the b ounds of the algorithms given there were not the tightest p ossible iii Finally we consider global consistency when disjunctions of inequations are also allowed in the given constraint set This case is mostly of theoret ical interest and is presented here for completeness In this case strong V consistency is necessary and sucient for achieving global con sistency Corollary The parameter V is the maximum numb er of variables in any disjunction of inequations Most of the ab ove results come from the authors PhD thesis Kouc or are renements of ideas presented there The pap er is organized as follows The next section presents denitions and preliminaries Section discusses global consistency of temp oral constraint networks while Section presents an algorithm for computing the minimal network Section considers the case of p oint algebra networks Section considers the case of arbitrary temp oral constraints Finally Section sum marizes our results App endix A contains two long pro ofs Denitions and Preliminaries We consider time to b e linear dense and unb ounded Points will b e our only time entities Points are identied with the rational numb ers but our results still hold if p oints are identied with the reals The set of rational numb ers will b e denoted by Q 0 0 0 Denition A temporal constraint is a formula t t r t t r t t 0 0 0 0 0 are t r where t t t t t r t t r or t t n 1 n 1 n 1 n 1 n 1 variables and r r r are rational constants 1 n The rationale for studying disjunctions of inequations has b een given in Kou Denition Let C b e a set of temp oral constraints in variables t t 1 n The solution set of C denoted by S ol C is n f Q and for every c C satises cg 1 n 1 n 1 n Each memb er of S ol C is called a solution of C A set of temp oral constraints is called consistent if and only if its solution set is nonempty If c is a disjunction of inequations then c denotes the complement of c ie the conjunction of equations obtained by negating c If C is a set of equalities n in n variables the solution set of C is an ane subset of Q If C is a set of inequalities in n variables the solution set of C is a convex p olyhedron n in Q If C is a set of disjunctions of inequations the solution set of C is n Q n S ol f c c C g The interested reader can nd background material on ane spaces and convex p olyhedra in Sch Let C b e a set of temp oral constraints in variables x x which contains 1 n only equations inequalities and inequations but not disjunctions of inequa tions The temporal constraint network TCN asso ciated with C is a lab eled directed graph G V E where V f ng No de i represents variable x and edge i j represents the binary constraints involving x and x As i i j usual unary constraints will b e represented as binary constraints with the in tro duction of a sp ecial variable x The set of constraints asso ciated with 0 a TCN N will b e denoted by C onstr aintsN Denition Let I b e a set of rational numb ers I will b e called an almost convex interval if it is of the form l r r r r r r u 1 1 2 k 1 k k where l r r r u are rational numb ers such that l r r 1 k 1 k 1 k 1 r u and k An almost convex interval is also allowed to b e op en from k the right or left The k values r r will b e called the holes of interval I We dene a 1 k function hol es such that for each almost convex interval I as ab ove hol esI fr r g 1 k Let us assume that the set of constraints c on x x is ij j i h j i 1 x x r g fx x d x x d x x r j i j i ij j i j i j i j i j i x 2 R x 1 [ 1 3 x 1 R x 4 Fig A temp oral constraint network h j i 1 where d r r d Then the corresp onding TCN N will have j i ij j i j i an edge i j lab eled by the almostconvex interval h 1 h h j i j i j i 1 1 2 N d r r r r r r d ij j i ij j i j i j i j i j i j i Example The TCN of Figure represents the constraints x x x x x x 2 1 2 3 4 1 x x x x 4 3 4 2 Given an interval I conv I will denote the convex hul l of I ie the minimal in the settheoretic sense convex interval which includes I Formally conv l r r r r r r u l u 1 1 2 k 1 k k and conv I I if I is convex If N is a TCN then conv N denotes the TCN which is obtained from N by substituting each interval N by conv N ij ij If N is a TCN then its solution set is S ol N S ol C onstr aintsN A TCN is called consistent i its solution set is nonempty Two TCN are called equivalent i their solution sets are equal DMP Meib For the case of TCN the op erations of comp osition and intersection of almost convex intervals are dened as usual Meib Denition
Recommended publications
  • From Local to Global Consistency in Temporal Constraint Networks
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Theoretical Computer Science ELSEVIER Theoretical Computer Science 173 (1997) 89-112 From local to global consistency in temporal constraint networks Manolis Koubarakis * Dept. of Computation, (/MIST, P.O. Box 88, Manchester A460 lQD, UK Abstract We study the problem of global consistency for several classes of quantitative temporal con- straints which include inequalities, inequations and disjunctions of inequations. In all cases that we consider we identify the level of local consistency that is necessary and sufficient for achiev- ing global consistency and present an algorithm which achieves this level. As a byproduct of our analysis, we also develop an interesting minimal network algorithm. 1. Introduction One of the most important notions found in the constraint satisfaction literature is global consistency [S]. In a globally consistent constraint set all interesting constraints are explicitly represented and the projection of the solution set on any subset of the variables can be computed by simply collecting the constraints involving these vari- ables. An important consequence of this property is that a solution can be found by backtrack-free search [6]. Enforcing global consistency can take an exponential amount of time in the worst case [S, 11. As a result it is very important to identify cases in which local consistency, which presumably can be enforced in polynomial time, implies global consistency [2]. In this paper we study the problem of enforcing global consistency for sets of quanti- tative temporal constraints over the rational (or real) numbers.
    [Show full text]
  • Constraint Programming
    Constraint programming Alexander Bockmayr John N. Hooker May 2003 Contents 1 Introduction 2 1.1 ConstraintsasProcedures . ... 2 1.2 ParallelswithBranchandCut . .. 3 1.3 ConstraintSatisfaction. .... 4 1.4 HybridMethods ................................. 6 1.5 PerformanceIssues ............................... 7 2 Constraints 8 2.1 WhatisaConstraint? .............................. 8 2.2 Arithmeticversus SymbolicConstraints . ....... 9 2.3 GlobalConstraints ............................... 9 2.4 LocalConsistency ................................ 10 2.5 ConstraintPropagation . .. 11 2.6 Filtering Algorithms for Global Constraints . ......... 12 2.7 Modeling in Constraint Programming : An Illustrating Example ...... 14 3 Search 17 3.1 VariableandValueOrdering . .. 17 3.2 CompleteSearch ................................. 18 3.3 HeuristicSearch ................................. 19 4 Hybrid Methods 19 4.1 Branch,InferandRelax . .. ... ... ... ... ... .. ... ... .. 20 4.2 BendersDecomposition . .. ... ... ... ... ... .. ... ... .. 22 4.3 MachineSchedulingExample . .. 23 4.4 Continuous Relaxations for Global Constraints . ......... 25 4.5 OtherApplications............................... 26 5 Constraint Programming Languages and Systems 26 5.1 High-levelModelingLanguages . .... 27 5.2 ConstraintProgrammingSystems. .... 27 1 Introduction A discrete optimization problem can be given a declarative or procedural formulation, and both have their advantages. A declarative formulation simply states the constraints and objective function. It allows one to describe
    [Show full text]
  • Constraint Satisfaction Model and Notions of Local Consistency
    DM877 Constraint Programming Notions of Local Consistency Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Resume 2. Local Consitency: Definitions 2 Constraint Programming The domain of a variable x, denoted D(x), is a finite set of elements that can be assigned to x. A constraint C on X is a subset of the Cartesian product of the domains of the variables in X, i.e., C ⊆ D(x1) × · · · × D(xk ). A tuple (d1;:::; dk ) 2 C is called a solution to C. Equivalently, we say that a solution (d1; :::; dk ) 2 C is an assignment of the value di to the variable xi for all1 ≤ i ≤ k, and that this assignment satisfies C. If C = ;, we say that it is inconsistent. 3 Constraint Programming Constraint Satisfaction Problem (CSP) A CSP is a finite set of variables X with domain extension D = D(x1) × · · · × D(xn), together with a finite set of constraints C, each on a subset of X .A solution to a CSP is an assignment of a value d 2 D(x) to each x 2 X , such that all constraints are satisfied simultaneously. Constraint Optimization Problem (COP) A COP is a CSP P defined on the variables x1;:::; xn, together with an objective function f : D(x1) × · · · × D(xn) ! Q that assigns a value to each assignment of values to the variables. An optimal solution to a minimization (maximization) COP is a solution d to P that minimizes (maximizes) the value of f (d). 4 Task: I determine whether the CSP/COP is consistent (has a solution): I find one solution I find all solutions I find one optimal solution I find all optimal solutions 5 Solving CSPs I Systematic search: I choose a variable xi that is not yet assigned I create a choice point, i.e.
    [Show full text]
  • Strong Local Consistency Algorithms for Table Constraints Anastasia Paparrizou, Kostas Stergiou
    Strong Local Consistency Algorithms for Table Constraints Anastasia Paparrizou, Kostas Stergiou To cite this version: Anastasia Paparrizou, Kostas Stergiou. Strong Local Consistency Algorithms for Table Constraints. Constraints, Springer Verlag, 2016, 21 (2), pp.163-197. 10.1007/s10601-014-9179-1. lirmm-01276179 HAL Id: lirmm-01276179 https://hal-lirmm.ccsd.cnrs.fr/lirmm-01276179 Submitted on 20 Mar 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Strong Local Consistency Algorithms for Table Constraints ∗ Anastasia Paparrizouy Kostas Stergiou Abstract Table constraints are important in constraint programming as they are present in many real problems from areas such as configuration and databases. As a result, numerous specialized algorithms that achieve generalized arc consistency (GAC) on table constraints have been proposed. Since these algorithms achieve GAC, they operate on one constraint at a time. In this paper we propose new filtering algo- rithms for positive table constraints that achieve stronger local consistency proper- ties than GAC by exploiting intersections between constraints. The first algorithm, called maxRPWC+, is a domain filtering algorithm that is based on the local con- sistency maxRPWC and extends the GAC algorithm of Lecoutre and Szymanek [23].
    [Show full text]
  • & Introduction
    „Constraint programming represents one of the closest approaches computer science has yet made to Constraint propagation the Holy Grail of programming: the backtracking-&based search user states the problem, the backtracking-based search computer solves it.“ Eugene C. Freuder, Constraints, April 1997 Roman Barták Charles University, Prague (CZ) [email protected] http://ktiml.mff.cuni.cz/~bartak 2 Holly Grail of Programming Tutorial outline > Computer, solve the SEND, MORE, MONEY problem! Introduction history, applications, a constraint satisfaction problem > Here you are. The solution is [9,5,6,7]+[1,0,8,5]=[1,0,6,5,2] Depth-first search a Star Trek view backtracking, backjumping, backmarking incomplete and discrepancy search > Sol=[S,E,N,D,M,O,R,Y], Consistency domain([E,N,D,O,R,Y],0,9), domain([S,M],1,9), node, arc, and path consistencies 1000*S + 100*E + 10*N + D + k-consistency and global constraints 1000*M + 100*O + 10*R + E #= Combining search and consistency 10000*M + 1000*O + 100*N + 10*E + Y, all_different(Sol), look-back and look-ahead schemes labeling([ff],Sol). variable and value ordering Conclusions > Sol = [9,5,6,7,1,0,8,2] constraint solvers, resources today reality 3 4 A bit of history Scene labelling (Waltz 1975) feasible interpretation of 3D lines in a 2D drawing - - + + - + + + + + + - + + IntroductionIntroduction Interactive graphics (Sutherland 1963, Borning 1981) geometrical objects described using constraints Logic programming (Gallaire 1985, Jaffar, Lassez 1987) from unification to constraint satisfaction 6 1 Application areas Constraint technology All types of hard combinatorial problems: molecular biology based on declarative problem description via: DNA sequencing variables with domains (sets of possible values) determining protein structures e.g.
    [Show full text]
  • Min-Max Message Passing and Local Consistency in Constraint Networks
    Min-Max Message Passing and Local Consistency in Constraint Networks Hong Xu, T. K. Satish Kumar, and Sven Koenig University of Southern California, Los Angeles, CA 90089, USA [email protected] [email protected] [email protected] Abstract. In this paper, we uncover some relationships between local consistency in constraint networks and message passing akin to belief propagation in probabilistic reasoning. We develop a new message pass- ing algorithm, called the min-max message passing (MMMP) algorithm, for unifying the different notions of local consistency in constraint net- works. In particular, we study its connection to arc consistency (AC) and path consistency. We show that AC-3 can be expressed more intuitively in the framework of message passing. We also show that the MMMP algorithm can be modified to enforce path consistency. Keywords: Message Passing · Constraint Network · Local Consistency 1 Introduction A constraint network (CN)|i.e., a constraint satisfaction problem instance| can be defined by a tuple hX ; D; Ci, where X = fX1;X2;:::;XN g is the set of variables; D, the domain of the CN, is a function that maps a variable to its discrete domain D(Xi); and C = fC1;C2;:::;CM g is the set of constraints. Each Ci consists of a subset S(Ci) of X and a list of allowed assignments of values to these variables chosen from their domains. The task is to solve the CN, i.e., find an assignment of values to all variables in X such that all constraints are satisfied. A constraint is satisfied iff it allows the assignment.
    [Show full text]
  • Local Consistency and SAT-Solvers
    Local Consistency and SAT-Solvers Justyna Petke and Peter Jeavons Oxford University Computing Laboratory Wolfson Building, Parks Road, Oxford, UK {justyna.petke,Peter.Jeavons}@comlab.ox.ac.uk Abstract. In this paper we show that the power of using k-consistency techniques in a constraint problem is precisely captured by using a partic- ular inference rule, which we call positive-hyper-resolution, on the direct Boolean encoding of the CSP instance. We also show that current clause- learning SAT-solvers will deduce any positive-hyper-resolvent of a fixed size from a given set of clauses in polynomial expected time. We combine these two results to show that, without being explicitly designed to do so, current clause-learning SAT-solvers efficiently simulate k-consistency techniques, for all values of k. We then give some experimental results to show that this feature allows clause-learning SAT-solvers to efficiently solve certain families of CSP instances which are challenging for conven- tional CP solvers. 1 Introduction One of the oldest and most central ideas in constraint programming, going right back to Montanari’s original paper in 1974 [22], is the idea of using local consis- tency techniques to prune the search space [11]. The idea of arc-consistency was introduced in [21], and generalised to k-consistency in [16].Modernconstraint solvers generally employ specialised propagators to prune the domains of vari- ables to achieve some form of generalised arc-consistency, but do not attempt to enforce higher levels of consistency, such as path-conistency. By contrast, the software tools developed to solve propositional satisfiability problems, known as SAT-solvers, generally use logical inference techniques, such as unit propagation and clause-learning, to prune the search space.
    [Show full text]
  • Constraint-Based Inference Using Local Consistency in Junction Graphs
    Constraint-Based Inference Using Local Consistency in Junction Graphs Le Chang and Alan K. Mackworth 1 Abstract. In this paper we take a step beyond the generalized arc consis- The concept of local consistency plays a central role in constraint tency approach and propose a new family of generalized local con- satisfaction and has been extended to handle general constraint-based sistency concepts for the junction graph representation of CBI prob- inference (CBI) problems. We propose a family of novel generalized lems. These concepts are based on a general condition that depends local consistency concepts for the junction graph representation of only on the existence and properties of the multiplicative absorbing CBI problems. These concepts are based on a general condition that element and does not depend on other semiring properties of CBI depends only on the existence and property of the multiplicative ab- problems. We present several local consistency enforcing algorithms sorbing element and does not depend on the other semiring proper- with various levels of enforcement and corresponding theoretic and ties of CBI problems. We present several local consistency enforcing empirical complexity analyses. We show in this paper that some of algorithms and their approximation variants. Theoretical complex- these algorithms can be seen as generalized versions of well-known ity analyses and empirical experimental results for the application local consistency enforcing techniques in CSPs and can be exported of these algorithms to both MaxCSP and probability inference are to other domains. Other abstract local consistency concepts are novel given. We also discuss the relationship between these local consis- to the constraint programming community and provide efficient pre- tency concepts and message passing schemes such as junction tree processing results with a user-specified approximation threshold.
    [Show full text]
  • Constraint Satisfaction
    Title of Publication: Encyclop edia of Cognitive Science. Article title: Constraint Satisfaction. Article co de: 26. Authors: Rina Dechter Department of Computer and Information Science University of California, Irvine Irvine, California, USA 92717 Telephone: 949-824-655 6 Fax: 949-824-40 56 E-mail: [email protected] Francesca Rossi Dipartimento di Matematica Pura ed Applicata Universit adiPadova Via Belzoni 7, 35131 Padova, Italy Telephone: +39-049-8275 982 Fax: +39-049-827 589 2 E-mail: [email protected] d.it 1 Constraint Satisfaction Keywords: Constraints, constraint satisfaction, constraint propagation, con- straint programming. Contents 1 Intro duction 3 2 Constraint propagation 5 3 Constraint satisfaction as search 7 4 Tractable classes 9 5 Constraint optimization and soft constraints 10 6 Constraint programming 11 7 Summary 13 Article de nition: Constraints are a declarative knowledge representation formalism that allows for a compact and expressive mo deling of many real-life problems. Constraint satisfaction and propagation to ols, as well as constraint programming languages, are successfully used to mo del, solve, and reason ab out many classes of problems, such as design, diagnosis, scheduling, spatio- temp oral reasoning, resource allo cation, con guration, network optimization, and graphical interfaces. 2 1 Intro duction Constraint satisfaction problems. A constraint satisfaction problem CSP consists of a nite set of variables, each asso ciated with a domain of values, and a set of constraints . Each of the constraint is a relation, de ned on some subset of the variables, called its scope, denoting their legal combinations of values. As well, constraints can b e describ ed by mathematical expressions or by computable pro cedures.
    [Show full text]
  • Constraint Programming
    Volume title 1 The editors c 2006 Elsevier All rights reserved Chapter 1 Constraint Programming Francesca Rossi, Peter van Beek, Toby Walsh 1.1 Introduction Constraint programming is a powerful paradigm for solving combinatorial search problems that draws on a wide range of techniques from artificial intelligence, operations research, algorithms, graph theory and elsewhere. The basic idea in constraint programming is that the user states the constraints and a general purpose constraint solver is used to solve them. Constraints are just relations, and a constraint satisfaction problem (CSP) states which relations should hold among the given decision variables. More formally, a constraint satisfaction problem consists of a set of variables, each with some domain of values, and a set of relations on subsets of these variables. For example, in scheduling exams at an university, the decision variables might be the times and locations of the different exams, and the constraints might be on the capacity of each examination room (e.g. we cannot schedule more students to sit exams in a given room at any one time than the room’s capacity) and on the exams scheduled at the same time (e.g. we cannot schedule two exams at the same time if they share students in common). Constraint solvers take a real-world problem like this represented in terms of decision variables and constraints, and find an assignment to all the variables that satisfies the constraints. Extensions of this framework may involve, for example, finding optimal solutions according to one or more optimization criterion (e.g. minimizing the number of days over which exams need to be scheduled), finding all solutions, replacing (some or all) constraints with preferences, and considering a distributed setting where constraints are distributed among several agents.
    [Show full text]
  • Constraint Tightness and Looseness Versus Local and Global Consistency
    Constraint Tightness and Looseness versus Local and Global Consistency Peter van Beek Department of Computing Science University of Alberta Edmonton, Alberta, Canada T6G 2H1 [email protected] Rina Dechter Department of Computer and Information Science University of California, Irvine Irvine, California, USA 92717 [email protected] Published in: J. ACM, 44:549–566, 1997. Abstract Constraint networks are a simple representation and reasoning frame- work with diverse applications. In this paper, we identify two new comple- mentary properties on the restrictiveness of the constraints in a network— constraint tightness and constraint looseness—and we show their useful- ness for estimating the level of local consistency needed to ensure global consistency, and for estimating the level of local consistency present in a network. In particular, we present a sufficient condition, based on con- straint tightness and the level of local consistency, that guarantees that a solution can be found in a backtrack-free manner. The condition can be useful in applications where a knowledge base will be queried over and over and the preprocessing costs can be amortized over many queries. We also present a sufficient condition for local consistency, based on constraint looseness, that is straightforward and inexpensive to determine. The con- dition can be used to estimate the level of local consistency of a network. This in turn can be used in deciding whether it would be useful to pre- process the network before a backtracking search, and in deciding which local consistency conditions, if any, still need to be enforced if we want to ensure that a solution can be found in a backtrack-free manner.
    [Show full text]
  • Solving Difficult Csps with Relational Neighborhood Inverse Consistency
    Proceedings of the Twenty-Fifth AAAI Conference on Artificial Intelligence Solving Difficult CSPs with Relational Neighborhood Inverse Consistency Robert J. Woodward1 Shant Karakashian1 Berthe Y. Choueiry1 Christian Bessiere2 1Constraint Systems Laboratory, University of Nebraska-Lincoln, USA {rwoodwar|shantk|choueiry}@cse.unl.edu 2LIRMM-CNRS, University of Montpellier, France [email protected] Abstract 1. Enforcing it is light in terms of space requirements (in- verse consistency is enforced by filtering the variables do- Freuder and Elfe (1996) introduced Neighborhood In- mains), and verse Consistency (NIC) as a strong local consistency property for binary CSPs. While enforcing NIC can 2. It focuses the attention on where a variable’s value most significantly filter the variables domains, the proposed tightly interacts with the problem, namely its neighbor- algorithm is too costly to be used on dense graphs or hood. for lookahead during search. In this paper, we intro- Despite its promise and filtering effectiveness, NIC remains duce and characterize Relational Neighborhood Inverse relatively unexploited because the algorithm for enforcing it Consistency (RNIC) as a local consistency property that operates on the dual graph of a non-binary CSP. We de- is too costly in terms of processing time, which prevented scribe and characterize a practical algorithm for enforc- its use on dense networks or in a lookahead scheme during ing it. We argue that defining RNIC on the dual graph backtrack search. unveils unsuspected opportunities to reduce the compu- In this paper, we revisit NIC and generalize it to Re- tational cost of our algorithm and increase its filtering lational Neighborhood Consistency (RNIC) for non-binary effectiveness.
    [Show full text]