2-C3OP: An Improved Version of 2-Consistency

Size: px
Start display at page:

Download "2-C3OP: An Improved Version of 2-Consistency"

Transcription

1 -COP: An Improved Version of -Consistency Marlene Arangú, Miguel A. Salido, Federico Barber Instituto de Automática e Informática Industrial Universidad Politécnica de Valencia. Valencia, Spain Abstract Nowadays, many real problems can be modeled as constraint satisfaction problems. Arc consistency algorithms are widely used to prune the search space of Constraint Satisfaction. In this paper we present a new algorithm, called -COP, that achieves in binary and non-normalized CSPs. This algorithm is a reformulation of -C algorithm and it performs the constraint checks bidirectionally using inference. The evaluation section shows that -COP achieve like -C and it is 0 % faster. Furthermore, -COP performs less number of constraint checks than both AC and -C. 1 Introduction Constraint propagation is a process that uses a set of constraints of a problem to reduce domains by pruning values that cannot take part in any solution. It is an essential part of many constraint programming systems due to the fact that the benefit of efficient propagation is immediate. Constraint propagation is also called consistency technics, domain filtering or pruning. Proposing efficient algorithms for enforcing arc-consistency has always been considered as a central question in the constraint reasoning community. Thus, there are many arc-consistency algorithms such as AC1, AC, and AC [1];...; AC []; AC []; AC001, AC.1 []; and more. Algorithms that perform arc-consistency have focused their improvements on time-complexity and spacecomplexity. Main improvements have been achieved by: changing the way of propagation: from arcs (AC [1] ) to values (AC [1] ), (i.e., changing the granularity: from coarse-grained to fine-grained); apping new structures; performing bidirectional searches (AC []); changing the support search: searching for all supports (AC) or searching for only the necessary supports (AC [], AC, AC [] and AC001.1 []); improving the propagation (i.e., it performs propagation only when necessary, AC and AC001); etc. However, little work has been done for developing algorithms to achieve in binary CSPs (binary: all constraints involves only two variables). The concept of consistency was generalized to k- consistency by [] and an optimal algorithm k-consistency for labeling problem was proposed by [] but it is based on normalized CSPs. If the constraints have two variables in k-consistency (k=) then we talking about to. Also, many works on arc-consistency made the simplifying assumptions that CSPs are binary and normalized (two different constraints do not involve exactly the same variables), because of those notations are much simpler and new concepts are easier to present. But in [1] shows a strange effect of associating arc-consistency with binary normalized CSPs. It is the confusion between the notions of arc-consistency and ( guarantees that any instantiation of a value to a variable can be consistently exted to any second variable). On binary CSPs, is at least as strong as arc-consistency. When the CSP is binary and normalized, arc-consistency and perform same pruning. For more detail see [1]. Besides, a non-normalized CSP can be transformed into a normalized one by using the intersection of valid tuples [], but it can be very costly in large domains. Figure 1. Example of Binary CSP. We will focus our attention on binary and nonnormalized CSPs. Figure 1 left shows a binary CSP (pre-

2 sented in [1]) with two variables X 1 and X, D 1 = D = {1,, } and two constraints R 1 : X 1 X, R 1 : X 1 X. It can be observed that this CSP is arc-consistent due to the fact that every value of every variable has a support for constraints R 1 and R 1. In this case, arc-consistency does not prune any value of the domain of variables X 1 and X. However, as it is shown in [1], this CSP is not -consistent because the instantiation X 1 = can not be exted to X and the instantiation X = 1 can not be exted to X 1. Thus, Figure 1 right presents the resultant CSP filtered by arc-consistency and. It can be observed that is at least as strong as arc-consistency. Definitions By following standard notations and definitions in the literature [,, ]; we have summarized the basic definitions that we will use in this rest of the paper. Constraint Satisfaction Problem (CSP) is a triple P = X, D, R where, X is the finite set of variables {X 1, X,..., X n }. D is a set of domains D = D 1, D,..., D n such that for each variable X i X there is a finite set of values that the variable can take. R is a finite set of constraints R = {R 1, R,..., R m } which restrict the values that the variables can simultaneously take. A constraint is binary if it involves only two variables. A CSP is binary iff all constraints are binary. We denote R ij (R ij, 1) (R ij, ) as the direct constraint defined over the variables X i and X j and R ji (R ij, ) as the same constraint in the inverse direction over the variables X i and X j (inverse constraint). A block of constraints C ij is a set of binary constraints that involve the same variables X i and X j. Thus, we denote (C ij, t) : t = {1, } as the block of direct constraints defined over the variables X i and X j and (C ji, ) as the same block of constraints in the inverse direction over the variables X i and X j (block of inverse constraints) A CSP is normalized iff two different constraints do not involve exactly the same variables. Instantiation is a pair X i, a, that represents an assignment of the value a to the variable X i, and a is in the domain of X i. We can use (X i = a) X i, a. A constraint R ij is satisfied if the instantiation of X i, a and X j, b is legal for this constraint ( X i, a, X j, b ) R ij. Constraint Checks is the number of times that it asking whether if the constraint R ij is satisfied. i.e. it is the number of times that a constraint R ij R is checked to reach arc-consistency. Symmetry of the constraint: If the value b D j supports a value a D i, then a supports b as well. A value a D i is arc-consistent relative to X j, iff there exists a value b D j such that (X i, a) and (X j, b) satisfies the constraint R ij ((X i = a, X j = b) R ij ). A variable X i is arc-consistent relative to X j iff all values in D i are arc-consistent. A CSP is arc-consistent iff all the variables are arc-consistent, e.g., all the constraints R ij and R ji are arc-consistent. : A value a D i is -consistent relative to X j, iff there exists a value b D j such that (X i, a) and (X j, b) satisfies all the constraints R k ij ( k : (X i = a, X j = b) R k ij ). A variablex i is -consistent relative to X j iff all values in D i are -consistent. A CSP is -consistent iff all the variables are -consistent, e.g., any instantiation of a value to a variable can be consistently exted to any second variable. -COP -COP is new coarse grained algorithm that achieves in binary and non-normalized CSPs (see Algorithm 1). This algorithm deals with block of constraints as -C [1] but only requires keeps half block of constraints in Q and call two procedures: Revise and AddQ. -COP performs bidirectional checks (as AC) and performs inference to avoid unnecessary checks. However, it is done by using structures that are shared by all the constraints: suppinv: it is a vector whose size is the maximum size of all domains (maxd) and it stores the value X i that supports the value of X j. minsupp: it is an integer variable that stores the first value b D j that supports any a D i. By using minsupport inference is carried out to avoiding unnecessary checks because all b D j < minsupport are pruned without any check once suppinv is evaluated. t: is an integer parameter an it takes values t = {1,, }. This value is used to guide to the Revise procedure to check or not a constraint C ij (direct or inverse order) and to impose bidirectionally or not in the search. Initially -COP procedure stores in queue Q the constraint blocks (C ij, t) : t = 1. Then, a simple loop is performed to select and revise the block of constraints stored in Q, until no change occurs (Q is empty), or the domain of a variable remains empty. The first case ensures that every value of every domain is -consistent and the second case returns that the problem is not consistent. The Revise procedure (see Algorithm ) requires two internal variables change i and change j. They are initialized to zero and are used to remember which domains were pruned. For instance, if D i was pruned then change i = 1 and if D j was pruned then change j =. However, if both D i and D j were pruned then change = (because change = change i + change j ). During the loop of steps

3 -, each value in D i is checked 1. If the value b D j supports the value a D i then suppinv[b] = a, due to the fact that it is based on symmetry of the constraint (the support is bidirectional). Furthermore the first value b D j (which supports a value in D i ) is stored in minsupp. The second part of Algorithm is carried out in function of values t and change i. If t = or t =, and change i = 0 then C ij is not needed to be checked due to the fact that the constraint, in the previous loop, has not generated any prune. However, if t = 1 then C ij requires full bidirectional evaluation. If t = or t =, and change i = 1 then C ij also requires full bidirectional evaluation. In both cases, the processing of suppinv can be done in three different ways: 1) the values b D j : b < minsupp are pruned without performs any checking. Furthermore, variable change j is updated to change j = to indicate that a change in the second loop occurs. ) the values of b with suppinv[b] > 0 will not be checked due to the fact that they are supported in D i. Thus, they are initialized to 0 for further use of this vector. ) the values of b with b > minsupp and suppinv[b] = 0 will be checked until a support a is founded or they will be removed in other case. In this last case change j = in order to indicate that a change in the second loop occurs. 1 Algorithm : Procedure AddQ Data: Integer variable change, tuple (C ij, t) and queue Q. Result: Queue Q updated if ((change = 1 t = ) (change = t = 1)) then c = j if ((change = t = ) (change = 1 t = 1)) then c = i if (change = ) then c = j and o = j for each C kl with C kl C ij do if change = then Q Q {(C kl, 1) (c = l o = k) (c = k o l) (c k o = l)} if ((t = c = k) (t = 1 c = l)) then Q Q {(C kl, ) [(C kl, 1) (C kl, )] / Q} if ((t = c = l) (t = 1 c = k)) then Q Q {(C kl, ) [(C kl, 1) (C kl, ) (C kl, )] / Q} Algorithm 1: Procedure -COP Data: A CSP, P = X, D, R Result: true and P (which is -consistent) or false and P (which is -inconsistent because some domain remains empty) 1 for every i, j do C ij = for every arc R ij R do C ij C ij R ij for every set C ij do Q Q {(C ij, t) : t = 1} for each d D max do suppinv[d] = 0 while Q do select and delete (C ij, t) from queue Q with t = {1,, } change = Revise((C ij, t)) if change > 0 then if change 1 change then Q Q AddQ(change, (C ij, t)) return false /*empty domain*/ 1 return true The AddQ procedure (see Algorithm ) would add tuples to be evaluated again. The added tuples will dep on the tuples stored in Q and the variable change. Deping on the value t, generated by AddQ, the Revise procedure will guide the search. If t = 1 the search is full bidirectional (directed and inverse); if t = the search is inverse and the search is also directed if and only if some pruning is carried Algorithm : Procedure Revise Data: A CSP P defined by two variables X = (X i, X j ), domains D i and D j, and tuple (C ij, t) and vector suppinv. Result: D i, such that X i is -consistent relative X j and D j, such that X j is -consistent relative X i and integer variable change change i = 0; change j = 0 minsupp =dummyvalue for each a D i do if b D j such that (X i = a, X j = b) (C ij, t) then remove a from D i change i = 1 suppinv[b] = 1 if minsupp =dummyvalue then minsupp = b if ([(t = t = ) change i = 1] t = 1) then for each b D j do if b < minsupp then remove b from D j change j = if suppinv[b] > 0 then suppinv[b] = 0 change = change i + change j return change if a D i such that (X i = a, X j = b) (C ij, t) then remove b from D j change j = 1 if t= the inverse operator is used

4 Table 1. Number of pruning and constraint COP in problems 0% non-normalized < n, 0, 00, >. Table. Number of pruning and constraint COP in problems 0% non-normalized < n, 0, 00, >. n prune time checks prune time checks time checks n prune time checks prune time checks time checks Table. Number of pruning and constraint COP in problems 0% non-normalized < 0, 0, m, >. m prune time checks prune time checks time checks out; finally if t = the search is directed and the search is also inverse if and only if some pruning is carried out. Experimental Results In this section, we compare the behavior of arcconsistency algorithm AC and algorithms - C and -COP. The experiments were performed on random instances. A random CSP instance is characterized by the -tuple < n, d, m, c >, where n was the number of variables, d the domain size, m the total number of binary constraints and c the number of constraints in each block. The constraints were in the form ±X i op ± k ± X j, where X i, X j X, op {<,, =,, >, } and k N. We randomly generated binary non-normalized problems. All the variables maintained the same domain size. The problems were randomly generated by modifying these parameters. We evaluated 0 test cases for each type of problem. Thus, we set three of the parameters and varied the other one in order to evaluate the algorithm performance when this parameter increased. Performance was measured in terms of number of values pruned, constraint checks and time compute. All algorithms were written in C. The experiments were conducted on a PC Pentium IV (.0 GHz processor and 1 GB RAM). Table 1 shows the number of constraint checks and propagations in consistent instances 0% non-normalized, where the number of variables was increased from 0 to 10; the domain size was set to 0; the number of constraints and the number of non-normalized constraints were set at 00 and respectively (< n, 0, 00, >). Results show that the number of prunes was lower in all cases using AC than using both -C or -COP (AC: % less pruning). This is due to the fact that all problems started with same domain size and they had constraints with operators (=,,, or ), so that AC could not prune any value by analyzing the constraints individually. However, -C and -COP analyzed the blocks of constraints which had a mix of these operators and they were able to prune more search space. Furthermore, -COP performed 0 % and 1% less constraints checks than both AC and -C respectively. Finally, -COP was 0% faster than -C. Table shows the number of constraint checks and propagations in consistent instances 0% non-normalized. The number of variables was set to 0. The domain size was set to 0. The number of constraints was increased from 0 to 00 and the number of non-normalized constraints was set to (< 0, 0, m, >). Again, results show how the number of constraints checks was % lower using -C-OP than using AC. Also, the number of constraints checks was an % lower using -COP than - C. Both -COP and -C performed the same pruning (0% more than AC). AC performs slightly faster than -COP, although -COP carries out more pruning. -C performs 0% slower than -COP, despite performing the same pruning. It can also be observed that the number of constraint checks increases with the number of constraints increases. This is because, as the number of constraints increased, also increases the tightness of the problems. Tables and show results for 0% non-normalized consistent instances, increasing the number of variables (n) and the constraints (m) respectively. Results show that - COP and -C performed % more pruning than AC. - COP was 0% faster than -C but while it was slower than AC. However, despite being slower, -COP performs % more pruning and % less constraints checks than AC. Finally, -COP performed 0% faster and car-

5 Table. Number of pruning and constraint COP in problems 0% non-normalized < 0, 0, m, >. m prune time checks prune time checks time checks Table. Number of pruning and constraint checks by using AC, AC and -C in inconsistent problems < n, 0, 100, >. n prune time checks prune time checks prune time checks ried out % less constraint checks than -C. Tables and show the number of pruned, time and number of constraint checks in inconsistent instances 0% non-normalized, increasing the number of variables (n) and the constraints (m) respectively. -COP was faster and performed less pruning and less constraint checks than both AC and -C, showing that -COP is more efficient when detecting inconsistencies. Conclusions and Further Works Filtering techniques are widely used to prune the search space of CSPs. Many researchers associate Arc Consistency with binary normalized CSPs, so that there is a confusion between the notion of arc consistency and. In Table. Number of pruning and constraint checks by using AC, AC and -C in inconsistent problems < 0, 0, m, >. m prune time checks prune time checks prune time checks this paper, we have presented -COP algorithm a reformulation of -C algorithm to achieve in binary and non-normalized CSPs. -COP uses bidirectionally and inference to avoid performs ineffective checks. The evaluation section shows that -COP achieves and it is able to prune more search space than AC. Furthermore -COP performs less constraints checks than both AC and -C and its time-compute is close to AC and better than -C by 0%. This filtering algorithm could be very appropriate in search tools to manage non-normalized problems. In further works, we will focus our attention to an improved version of -COP to avoid redundant checks by using the Last value support (like was done in AC-001 []). Acknowledgment This work is partially supported by the research projects TIN00--C0-01 (Min. de Educación y Ciencia, Spain-FEDER), P1/0 (Min. de Fomento, Spain- FEDER), ACOMP/00/1 Generalitat Valenciana, and by the Technical University of Valencia. References [1] M. Arangú, M. Salido, and F. Barber. -c: From arcconsistency to. In SARA 00, 00. [] M. Arangú, M. Salido, and F. Barber. Exting arcconsistency algorithms for non-normalized csps. Technical Report, AI. 00. [] R. Barták. Theory and practice of constraint propagation. In J. Figwer, editor, Proc. of the rd WCPDC, 001. [] C. Bessiere. Constraint propagation. Technical report, CNRS/University of Montpellier, 00. [] C. Bessiere and M. Cordier. and arcconsistency again. In Proc. of the AAAI, pages, Washington, USA, July 1. [] C. Bessiere, E. Freuder, and J. C. Régin. Using constraint metaknowledge to reduce arc consistency computation. AI, :1 1, 1. [] C. Bessiere, J. C. Régin, R. Yap, and Y. Zhang. An optimal coarse-grained arc-consistency algorithm. AI, 1:1 1, 00. [] A. Chmeiss and P. Jegou. Efficient path-consistency propagation. IJAIT, :11 1, 1. [] M. Cooper. An optimal k-consistency algorithm. AI, 1:, 1. [] R. Dechter. Constraint Processing. MK, 00. [] E. Freuder. Synthesizing constraint expressions. Commun ACM, 1:, 1. [1] A. K. Mackworth. Consistency in networks of relations. AI, :, 1. [1] R. Mohr and T. Herson. Arc and path consistency revised. AI, :, 1. [1] F. Rossi, P. Van Beek, and T. Walsh. Handbook of constraint programming. Elsevier, 00.

A FILTERING TECHNIQUE TO ACHIEVE 2-CONSISTENCY IN CONSTRAINT SATISFACTION PROBLEMS. Marlene Arangú, Miguel A. Salido and Federico Barber

A FILTERING TECHNIQUE TO ACHIEVE 2-CONSISTENCY IN CONSTRAINT SATISFACTION PROBLEMS. Marlene Arangú, Miguel A. Salido and Federico Barber International Journal of Innovative Computing, Information and Control ICIC International c 2012 ISSN 1349-4198 Volume 8, Number 6, June 2012 pp. 3891 3906 A FILTERING TECHNIQUE TO ACHIEVE 2-CONSISTENCY

More information

Making AC-3 an Optimal Algorithm

Making AC-3 an Optimal Algorithm Making AC-3 an Optimal Algorithm Yuanlin Zhang and Roland H.C. Yap School of Computing, National University of Singapore Lower Kent Ridge Road, 119260, Singapore {zhangyl, ryap}@comp.nus.edu.sg Abstract

More information

Optimal and Suboptimal Singleton Arc Consistency Algorithms

Optimal and Suboptimal Singleton Arc Consistency Algorithms Optimal and Suboptimal Singleton Arc Consistency Algorithms Christian Bessiere LIRMM (CNRS / University of Montpellier) 161 rue Ada, Montpellier, France bessiere@lirmm.fr Romuald Debruyne École des Mines

More information

Unifying and extending hybrid tractable classes of CSPs

Unifying and extending hybrid tractable classes of CSPs Journal of Experimental & Theoretical Artificial Intelligence Vol. 00, No. 00, Month-Month 200x, 1 16 Unifying and extending hybrid tractable classes of CSPs Wady Naanaa Faculty of sciences, University

More information

Arc Consistency for Dynamic CSPs

Arc Consistency for Dynamic CSPs Arc Consistency for Dynamic CSPs Malek Mouhoub mouhoubm@cs.uregina.ca Department of Computer Science, University of Regina 3737 Waskana Parkway, Regina SK, Canada, S4S 0A2 ABSTRACT Constraint Satisfaction

More information

A New Algorithm for Singleton Arc Consistency

A New Algorithm for Singleton Arc Consistency A New Algorithm for Singleton Arc Consistency Roman Barták, Radek Erben Charles University, Institute for Theoretical Computer Science Malostranské nám. 2/25, 118 Praha 1, Czech Republic bartak@kti.mff.cuni.cz,

More information

A strong local consistency for constraint satisfaction

A strong local consistency for constraint satisfaction A strong local consistency for constraint satisfaction Romuald Debruyne Ecole des Mines de Nantes 4, rue Alfred Kastler, La Chantrerie 4437 Nantes cedex 3 - France Email: debruyne@lirmm.fr Abstract Filtering

More information

Path Consistency on Triangulated Constraint Graphs*

Path Consistency on Triangulated Constraint Graphs* Path Consistency on Triangulated Constraint Graphs* Christian Bliek ILOG 1681 Route des Dolines 06560 Valbonne, France bliekqilog.fr Djamila Sam-Haroud Artificial Intelligence Laboratory Swiss Federal

More information

A Fast Arc Consistency Algorithm for n-ary Constraints

A Fast Arc Consistency Algorithm for n-ary Constraints A Fast Arc Consistency Algorithm for n-ary Constraints Olivier Lhomme 1 and Jean-Charles Régin 2 1 ILOG, 1681, route des Dolines, 06560 Valbonne, FRANCE 2 Computing and Information Science, Cornell University,

More information

Nogood-FC for Solving Partitionable Constraint Satisfaction Problems

Nogood-FC for Solving Partitionable Constraint Satisfaction Problems Nogood-FC for Solving Partitionable Constraint Satisfaction Problems Montserrat Abril, Miguel A. Salido, Federico Barber Dpt. of Information Systems and Computation, Technical University of Valencia Camino

More information

Propagate the Right Thing: How Preferences Can Speed-Up Constraint Solving

Propagate the Right Thing: How Preferences Can Speed-Up Constraint Solving Propagate the Right Thing: How Preferences Can Speed-Up Constraint Solving Christian Bessiere Anais Fabre* LIRMM-CNRS (UMR 5506) 161, rue Ada F-34392 Montpellier Cedex 5 (bessiere,fabre}@lirmm.fr Ulrich

More information

Binary Encodings of Non-binary Constraint Satisfaction Problems: Algorithms and Experimental Results

Binary Encodings of Non-binary Constraint Satisfaction Problems: Algorithms and Experimental Results Journal of Artificial Intelligence Research 24 (2005) 641-684 Submitted 04/05; published 11/05 Binary Encodings of Non-binary Constraint Satisfaction Problems: Algorithms and Experimental Results Nikolaos

More information

ROBUSTNESS IN DYNAMIC CONSTRAINT SATISFACTION PROBLEMS. Laura Climent, Miguel A. Salido and Federico Barber. Received January 2011; revised May 2011

ROBUSTNESS IN DYNAMIC CONSTRAINT SATISFACTION PROBLEMS. Laura Climent, Miguel A. Salido and Federico Barber. Received January 2011; revised May 2011 International Journal of Innovative Computing, Information and Control ICIC International c 2012 ISSN 1349-4198 Volume 8, Number 4, April 2012 pp. 2513 2532 ROBUSTNESS IN DYNAMIC CONSTRAINT SATISFACTION

More information

Consistency and Set Intersection

Consistency and Set Intersection Consistency and Set Intersection Yuanlin Zhang and Roland H.C. Yap National University of Singapore 3 Science Drive 2, Singapore {zhangyl,ryap}@comp.nus.edu.sg Abstract We propose a new framework to study

More information

Constrainedness and Redundancy by Constraint Ordering

Constrainedness and Redundancy by Constraint Ordering Constrainedness and Redundancy by Constraint Ordering Miguel A. Salido 1 and Federico Barber 2 1 Dpto. Ciencias de la Computación e Inteligencia Artificial, Universidad de Alicante Campus de San Vicente,

More information

Decomposable Constraints

Decomposable Constraints Decomposable Constraints Ian Gent 1, Kostas Stergiou 2, and Toby Walsh 3 1 University of St Andrews, St Andrews, Scotland. ipg@dcs.st-and.ac.uk 2 University of Strathclyde, Glasgow, Scotland. ks@cs.strath.ac.uk

More information

Path Consistency by Dual Consistency

Path Consistency by Dual Consistency Path Consistency by Dual Consistency Christophe Lecoutre, Stéphane Cardon, and Julien Vion CRIL CNRS FRE 2499, rue de l université, SP 16 62307 Lens cedex, France {lecoutre, cardon, vion}@cril.univ-artois.fr

More information

Constraint (Logic) Programming

Constraint (Logic) Programming Constraint (Logic) Programming Roman Barták Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic bartak@ktiml.mff.cuni.cz Sudoku Combinatorial puzzle, whose goal is to enter

More information

VALCSP solver : a combination of Multi-Level Dynamic Variable Ordering with Constraint Weighting

VALCSP solver : a combination of Multi-Level Dynamic Variable Ordering with Constraint Weighting VALCS solver : a combination of Multi-Level Dynamic Variable Ordering with Constraint Weighting Assef Chmeiss, Lakdar Saïs, Vincent Krawczyk CRIL - University of Artois - IUT de Lens Rue Jean Souvraz -

More information

A Greedy Approach to Establish Singleton Arc Consistency

A Greedy Approach to Establish Singleton Arc Consistency A Greedy Approach to Establish Singleton Arc Consistency Christophe Lecoutre and Stéphane Cardon CRIL-CNRS FRE 2499, Université d Artois Lens, France {lecoutre, cardon}@cril.univ-artois.fr Abstract In

More information

1 Inference for Boolean theories

1 Inference for Boolean theories Scribe notes on the class discussion on consistency methods for boolean theories, row convex constraints and linear inequalities (Section 8.3 to 8.6) Speaker: Eric Moss Scribe: Anagh Lal Corrector: Chen

More information

Efficient Algorithms for Functional Constraints

Efficient Algorithms for Functional Constraints Efficient Algorithms for Functional Constraints Yuanlin Zhang 1, Roland HC Yap 2, Chendong Li 1, and Satyanarayana Marisetti 1 1 Texas Tech University, USA 2 National University of Singapore, Singapore

More information

A Generic Scheme for Integrating Strong Local Consistencies into Constraint Solvers

A Generic Scheme for Integrating Strong Local Consistencies into Constraint Solvers A Generic Scheme for Integrating Strong Local Consistencies into Constraint Solvers Julien Vion, Thierry Petit, and Narendra Jussien École des Mines de Nantes, LINA UMR CNRS 6241, 4, rue Alfred Kastler,

More information

Local Consistency in Weighted CSPs and Inference in Max-SAT

Local Consistency in Weighted CSPs and Inference in Max-SAT Local Consistency in Weighted CSPs and Inference in Max-SAT Student name: Federico Heras Supervisor name: Javier Larrosa Universitat Politecnica de Catalunya, Barcelona, Spain fheras@lsi.upc.edu,larrosa@lsi.upc.edu

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence 172 (2008) 1605 1612 Contents lists available at ScienceDirect Artificial Intelligence www.elsevier.com/locate/artint Properties of tree convex constraints, Yuanlin Zhang a,, Eugene

More information

is a kind of generalization of AC-3 to non-binary constraints. As AC-3, that algorithm has a bad worst-case time complexity (O(er 2 d r+1 ), with e th

is a kind of generalization of AC-3 to non-binary constraints. As AC-3, that algorithm has a bad worst-case time complexity (O(er 2 d r+1 ), with e th Arc consistency for general constraint networks: preliminary results Christian Bessiere LIRMM{CNRS (UMR 5506) 161 rue Ada 34392 Montpellier cedex 5, France Email: bessiere@lirmm.fr Jean-Charles Regin ILOG

More information

Robustness, Stability, Recoverability and Reliability in Dynamic Constraint Satisfaction Problems

Robustness, Stability, Recoverability and Reliability in Dynamic Constraint Satisfaction Problems Robustness, Stability, Recoverability and Reliability in Dynamic Constraint Satisfaction Problems Federico Barber and Miguel A. Salido Instituto de Automática e Informática Industrial Universidad Politecnica

More information

An Efficient Arc Consistency Algorithm for a Class of CSP Problems

An Efficient Arc Consistency Algorithm for a Class of CSP Problems An Efficient Arc Consistency Algorithm for a Class of CSP Problems Yves Deville* University of Namur, 21 rue Grandgagnage B-5000 Namur (Belgium) Email: yde@infoiundp.ac.be Pascal Van Hentenryck Brown University,

More information

An efficient consistency algorithm for the Temporal Constraint Satisfaction Problem

An efficient consistency algorithm for the Temporal Constraint Satisfaction Problem AI Communications 17 (2004) 213 221 213 IOS Press An efficient consistency algorithm for the Temporal Constraint Satisfaction Problem Berthe Y. Choueiry and Lin Xu Constraint Systems Laboratory, Department

More information

Path Consistency Revisited. Moninder Singh. University of Pennsylvania. Philadelphia, PA

Path Consistency Revisited. Moninder Singh. University of Pennsylvania. Philadelphia, PA Proceedings of the 7th IEEE International Conference on Tools with Articial Intelligence, 318-325, 1995. c Institute of Electrical and Electronics Engineers, Inc. (IEEE). Path Consistency Revisited Moninder

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 5. Constraint Satisfaction Problems CSPs as Search Problems, Solving CSPs, Problem Structure Wolfram Burgard, Bernhard Nebel, and Martin Riedmiller Albert-Ludwigs-Universität

More information

The Tractability of Global Constraints

The Tractability of Global Constraints The Tractability of Global Constraints Christian Bessiere ½, Emmanuel Hebrard ¾, Brahim Hnich ¾, and Toby Walsh ¾ ¾ ½ LIRMM-CNRS, Montpelier, France. bessiere@lirmm.fr Cork Constraint Computation Center,

More information

10/11/2017. Constraint Satisfaction Problems II. Review: CSP Representations. Heuristic 1: Most constrained variable

10/11/2017. Constraint Satisfaction Problems II. Review: CSP Representations. Heuristic 1: Most constrained variable //7 Review: Constraint Satisfaction Problems Constraint Satisfaction Problems II AIMA: Chapter 6 A CSP consists of: Finite set of X, X,, X n Nonempty domain of possible values for each variable D, D, D

More information

New algorithms for max restricted path consistency

New algorithms for max restricted path consistency Constraints (2011) 16:372 406 DOI 10.1007/s10601-011-9110-y New algorithms for max restricted path consistency Thanasis Balafoutis Anastasia Paparrizou Kostas Stergiou Toby Walsh Published online: 29 June

More information

An Optimal Coarse-grained Arc Consistency Algorithm

An Optimal Coarse-grained Arc Consistency Algorithm An Optimal Coarse-grained Arc Consistency Algorithm Christian Bessiere LIRMM-CNRS (UMR 5506) 161 rue Ada, 34392 Montpellier Cedex 5, France Roland H.C. Yap School of Computing, Natl. Univ. of Singapore,

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems Constraint Optimization Bernhard Nebel, Julien Hué, and Stefan Wölfl Albert-Ludwigs-Universität Freiburg July 17, 2012 Nebel, Hué and Wölfl (Universität Freiburg) Constraint

More information

Unrestricted Nogood Recording in CSP search

Unrestricted Nogood Recording in CSP search Unrestricted Nogood Recording in CSP search George Katsirelos and Fahiem Bacchus Department of Computer Science, University Of Toronto, Toronto, Ontario, Canada [gkatsi,fbacchus]@cs.toronto.edu Abstract.

More information

Constraint Satisfaction Problems. Chapter 6

Constraint Satisfaction Problems. Chapter 6 Constraint Satisfaction Problems Chapter 6 Constraint Satisfaction Problems A constraint satisfaction problem consists of three components, X, D, and C: X is a set of variables, {X 1,..., X n }. D is a

More information

A CSP Search Algorithm with Reduced Branching Factor

A CSP Search Algorithm with Reduced Branching Factor A CSP Search Algorithm with Reduced Branching Factor Igor Razgon and Amnon Meisels Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, 84-105, Israel {irazgon,am}@cs.bgu.ac.il

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

Constraint Propagation: The Heart of Constraint Programming

Constraint Propagation: The Heart of Constraint Programming Constraint Propagation: The Heart of Constraint Programming Zeynep KIZILTAN Department of Computer Science University of Bologna Email: zeynep@cs.unibo.it URL: http://zeynep.web.cs.unibo.it/ What is it

More information

The Dierence All-Dierence Makes. Kostas Stergiou and Toby Walsh. Glasgow, Scotland. 2 Formal background

The Dierence All-Dierence Makes. Kostas Stergiou and Toby Walsh. Glasgow, Scotland. 2 Formal background The Dierence All-Dierence Makes Kostas Stergiou and Toby Walsh Department of Computer Science University of Strathclyde Glasgow, Scotland fks,twg@cs.strath.ac.uk Abstract We perform a comprehensive theoretical

More information

The log-support encoding of CSP into SAT

The log-support encoding of CSP into SAT The log-support encoding of CSP into SAT Marco Gavanelli 1 Dept. of Engineering, Ferrara University, WWW home page: http://www.ing.unife.it/docenti/marcogavanelli/ Abstract. Various encodings have been

More information

Conflict Directed Backjumping for Max-CSPs

Conflict Directed Backjumping for Max-CSPs Conflict Directed Backjumping for Max-CSPs Roie Zivan and Amnon Meisels, Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, 84-105, Israel Abstract Max-CSPs are Constraint

More information

Revisiting Neighborhood Inverse Consistency on Binary CSPs

Revisiting Neighborhood Inverse Consistency on Binary CSPs Revisiting Neighborhood Inverse Consistency on Binary CSPs Robert J. Woodward 1, Shant Karakashian 1,BertheY.Choueiry 1,and Christian Bessiere 2 1 Constraint Systems Laboratory, University of Nebraska-Lincoln,

More information

On Path Consistency for Binary Constraint Satisfaction Problems

On Path Consistency for Binary Constraint Satisfaction Problems University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Computer Science and Engineering: Theses, Dissertations, and Student Research Computer Science and Engineering, Department

More information

Binary vs. Non-Binary Constraints

Binary vs. Non-Binary Constraints Binary vs. Non-Binary Constraints Fahiem Bacchus Department of Computer Science University of Toronto Toronto, Canada fbacchus@cs.toronto.edu Xinguang Chen Department of Computing Science University of

More information

Solving Difficult CSPs with Relational Neighborhood Inverse Consistency

Solving Difficult CSPs with Relational Neighborhood Inverse Consistency Solving Difficult CSPs with Relational Neighborhood Inverse Consistency Robert J. Woodward 1 Shant Karakashian 1 Berthe Y. Choueiry 1 Christian Bessiere 2 1 Constraint Systems Laboratory, University of

More information

Semi-Independent Partitioning: A Method for Bounding the Solution to COP s

Semi-Independent Partitioning: A Method for Bounding the Solution to COP s Semi-Independent Partitioning: A Method for Bounding the Solution to COP s David Larkin University of California, Irvine Abstract. In this paper we introduce a new method for bounding the solution to constraint

More information

CMU-Q Lecture 7: Searching in solution space Constraint Satisfaction Problems (CSPs) Teacher: Gianni A. Di Caro

CMU-Q Lecture 7: Searching in solution space Constraint Satisfaction Problems (CSPs) Teacher: Gianni A. Di Caro CMU-Q 15-381 Lecture 7: Searching in solution space Constraint Satisfaction Problems (CSPs) Teacher: Gianni A. Di Caro AI PLANNING APPROACHES SO FAR Goal: Find the (best) sequence of actions that take

More information

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 30 January, 2018

DIT411/TIN175, Artificial Intelligence. Peter Ljunglöf. 30 January, 2018 DIT411/TIN175, Artificial Intelligence Chapter 7: Constraint satisfaction problems CHAPTER 7: CONSTRAINT SATISFACTION PROBLEMS DIT411/TIN175, Artificial Intelligence Peter Ljunglöf 30 January, 2018 1 TABLE

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2013 Soleymani Course material: Artificial Intelligence: A Modern Approach, 3 rd Edition,

More information

Handbook of Constraint Programming

Handbook of Constraint Programming Handbook of Constraint Programming Francesca Rossi, Peter van Beek, Toby Walsh Elsevier Contents Contents v I First part 1 1 Modelling 3 Barbara M. Smith 1.1 Preliminaries... 4 1.2 Representing a Problem.....

More information

Conflict based Backjumping for Constraints Optimization Problems

Conflict based Backjumping for Constraints Optimization Problems Conflict based Backjumping for Constraints Optimization Problems Roie Zivan and Amnon Meisels {zivanr,am}@cs.bgu.ac.il Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, 84-105,

More information

Implementation of Arc Consistency

Implementation of Arc Consistency Fall Semester, 2012 CSCE 421/821: Foundations of Constraint Processing B.Y. Choueiry Homework 2 Implementation of Arc Consistency Assigned: Friday, Sep 7, 2012 Due: Monday, Sep 17, 2012 Total value: 100

More information

Adaptive Singleton-Based Consistencies

Adaptive Singleton-Based Consistencies Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence Adaptive Singleton-Based Consistencies Amine Balafrej CNRS, U. Montpellier, France U. Mohammed V Agdal, Morocco Christian Bessiere

More information

Distributed constraint satisfaction problems to model railway scheduling problems

Distributed constraint satisfaction problems to model railway scheduling problems Computers in Railways X 289 Distributed constraint satisfaction problems to model railway scheduling problems P. Tormos 2,M.Abril 1,M.A.Salido 1,F.Barber 1, L. Ingolotti 1 &A.Lova 2 1 DSIC, Universidad

More information

A Parameterized Local Consistency for Redundant Modeling in Weighted CSPs

A Parameterized Local Consistency for Redundant Modeling in Weighted CSPs A Parameterized Local Consistency for Redundant Modeling in Weighted CSPs Y.C. Law, J.H.M. Lee, and M.H.C. Woo Department of Computer Science and Engineering The Chinese University of Hong Kong, Shatin,

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems Search and Lookahead Bernhard Nebel, Julien Hué, and Stefan Wölfl Albert-Ludwigs-Universität Freiburg June 4/6, 2012 Nebel, Hué and Wölfl (Universität Freiburg) Constraint

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems Tuomas Sandholm Carnegie Mellon University Computer Science Department [Read Chapter 6 of Russell & Norvig] Constraint satisfaction problems (CSPs) Standard search problem:

More information

Inconsistency and Redundancy Do Not Imply Irrelevance

Inconsistency and Redundancy Do Not Imply Irrelevance From: AAAI Technical Report FS-94-02. Compilation copyright 1994, AAAI (www.aaai.org). All rights reserved. Inconsistency and Redundancy Do Not Imply Irrelevance Eugene C. Freuder Paul D. Hubbe Daniel

More information

Example: Bioinformatics. Soft Constraint Processing. From Optimal CSP to Soft CSP. Overview. From Optimal CSP to Soft CSP.

Example: Bioinformatics. Soft Constraint Processing. From Optimal CSP to Soft CSP. Overview. From Optimal CSP to Soft CSP. Example: Bioinformatics Soft Constraint Processing 16.412J/6.834J Cognitive Robotics Martin Sachenbacher (Using material from Thomas Schiex) RNA is single-strand molecule, composed of A,U,G,C Function

More information

Constraint Optimization Techniques for MultiObjective Branch and Bound Search

Constraint Optimization Techniques for MultiObjective Branch and Bound Search Constraint Optimization Techniques for MultiObjective Branch and Bound Search Emma Rollon 1 and Javier Larrosa 1 Universitat Politècnica de Catalunya Jordi Girona 1-3, Edificio Omega 08034 Barcelona, Spain

More information

Constraint Satisfaction. AI Slides (5e) c Lin

Constraint Satisfaction. AI Slides (5e) c Lin Constraint Satisfaction 4 AI Slides (5e) c Lin Zuoquan@PKU 2003-2018 4 1 4 Constraint Satisfaction 4.1 Constraint satisfaction problems 4.2 Backtracking search 4.3 Constraint propagation 4.4 Local search

More information

Modelling for Constraint Programming

Modelling for Constraint Programming Modelling for Constraint Programming Barbara M. Smith Cork Constraint Computation Centre, University College Cork, Ireland September 2005 1 Introduction Constraint programming can be a successful technology

More information

Propagating separable equalities in an MDD store

Propagating separable equalities in an MDD store Propagating separable equalities in an MDD store T. Hadzic 1, J. N. Hooker 2, and P. Tiedemann 3 1 University College Cork t.hadzic@4c.ucc.ie 2 Carnegie Mellon University john@hooker.tepper.cmu.edu 3 IT

More information

Constraint Satisfaction Problems Part 2

Constraint Satisfaction Problems Part 2 Constraint Satisfaction Problems Part 2 Deepak Kumar October 2017 CSP Formulation (as a special case of search) State is defined by n variables x 1, x 2,, x n Variables can take on values from a domain

More information

Distributing Constraints by Sampling in Non-binary CSPs

Distributing Constraints by Sampling in Non-binary CSPs Distributing Constraints by Sampling in Non-binary CSPs Miguel A. Salido, Adriana Giret, Federico Barber Dpto. Ciencias de la Computación e I.A. Universidad de Alicante Alicante, Spain Dpto. Sistemas Informáticos

More information

Arc Consistency in MAC: A New Perspective

Arc Consistency in MAC: A New Perspective Arc Consistency in MAC: A New Perspective Chavalit Likitvivatanavong, Yuanlin Zhang, James Bowen, and Eugene C. Freuder Cork Constraint Computation Centre, University College Cork, Ireland {chavalit, yzhang,

More information

Artificial Intelligence Constraint Satisfaction Problems

Artificial Intelligence Constraint Satisfaction Problems Artificial Intelligence Constraint Satisfaction Problems Recall Search problems: Find the sequence of actions that leads to the goal. Sequence of actions means a path in the search space. Paths come with

More information

GSAT and Local Consistency

GSAT and Local Consistency GSAT and Local Consistency Kalev Kask Computer Science Department University of California at Irvine Irvine, CA 92717 USA Rina Dechter Computer Science Department University of California at Irvine Irvine,

More information

n-ary constraints are provided by many constraint programming languages and libraries. There are two main approaches to deal with n-ary CSPs. The rst

n-ary constraints are provided by many constraint programming languages and libraries. There are two main approaches to deal with n-ary CSPs. The rst Arc Consistency on n-ary Monotonic and Linear Constraints Zhang Yuanlin and Roland H.C. Yap School of Computing National University of Singapore 3 Science Drive 2 Republic of Singapore 119260 fzhangyl,ryapg@comp.nus.edu.sg

More information

A Soft Constraint-Based Approach to QoS-Aware Service Selection

A Soft Constraint-Based Approach to QoS-Aware Service Selection A Soft Constraint-Based Approach to QoS-Aware Service Selection Mohamed Anis Zemni 1, Salima Benbernou 1, Manuel Carro 2 1 LIPADE, Université Paris Descartes, France 2 Facultad de Informática, Universidad

More information

Mapping CSP into Many-Valued SAT

Mapping CSP into Many-Valued SAT Mapping CSP into Many-Valued SAT Carlos Ansótegui 1,María Luisa Bonet 2,JordiLevy 3, and Felip Manyà 1 1 Universitat de Lleida (DIEI, UdL) 2 Universitat Politècnica de Catalunya (LSI, UPC) 3 Artificial

More information

Constraint Networks. Constraint networks. Definition. Normalized. Constraint Networks. Deduction. Constraint. Networks and Graphs. Solving.

Constraint Networks. Constraint networks. Definition. Normalized. Constraint Networks. Deduction. Constraint. Networks and Graphs. Solving. 1 Satisfaction Problems Albert-Ludwigs-Universität Freiburg networks networks and Stefan Wölfl, Christian Becker-Asano, and Bernhard Nebel October 27, 2014 October 27, 2014 Wölfl, Nebel and Becker-Asano

More information

Domain k-wise Consistency Made as Simple as Generalized Arc Consistency

Domain k-wise Consistency Made as Simple as Generalized Arc Consistency Domain k-wise Consistency Made as Simple as Generalized Arc Consistency Jean-Baptiste Mairy 1, Yves Deville 1, and Christophe Lecoutre 2 1 ICTEAM, Université catholique de Louvain, Belgium {jean-baptiste.mairy,

More information

An Alldifferent Constraint Solver in SMT

An Alldifferent Constraint Solver in SMT An Alldifferent Constraint Solver in SMT Milan Banković and Filip Marić Faculty of Mathematics, University of Belgrade (milan filip)@matf.bg.ac.rs May 16, 2010 Abstract The finite domain alldifferent constraint,

More information

Distributed Search in Railway Scheduling Problems

Distributed Search in Railway Scheduling Problems Distributed Search in Railway Scheduling Problems Montserrat Abril, Miguel A. Salido, Federico Barber Dpto. Sistemas Informáticos y Computación, Universidad Politécnica de Valencia Camino de Vera s/n,

More information

Constraint Programming. Marco Kuhlmann & Guido Tack Lecture 1

Constraint Programming. Marco Kuhlmann & Guido Tack Lecture 1 Constraint Programming Marco Kuhlmann & Guido Tack Lecture 1 Welcome! Where am I? Constraint Programming advanced course in Computer Science 6 credit points lecture (2 hours) + lab (2 hours) http://www.ps.uni-sb.de/courses/cp-ss07/

More information

Exact Max-SAT solvers for over-constrained problems

Exact Max-SAT solvers for over-constrained problems J Heuristics (2006) 12: 375 392 DOI 10.1007/s10732-006-7234-9 Exact Max-SAT solvers for over-constrained problems Josep Argelich Felip Manyà C Science + Business Media, LLC 2006 Abstract We present a new

More information

Conflict-based Statistics

Conflict-based Statistics Conflict-based Statistics Tomáš Müller 1, Roman Barták 1 and Hana Rudová 2 1 Faculty of Mathematics and Physics, Charles University Malostranské nám. 2/25, Prague, Czech Republic {muller bartak}@ktiml.mff.cuni.cz

More information

A Game-Theoretic Approach to Constraint Satisfaction

A Game-Theoretic Approach to Constraint Satisfaction A Game-Theoretic Approach to Constraint Satisfaction Phokion G. Kolaitis Computer Science Department University of California, Santa Cruz Santa Cruz, CA 95064 kolaitis@cse.ucsc.edu www.cse.ucsc.edu/ kolaitis

More information

use Golomb rulers to study the effect on performance of alternative models, algorithms and heuristics. Finally, avariety of studies have shown how the

use Golomb rulers to study the effect on performance of alternative models, algorithms and heuristics. Finally, avariety of studies have shown how the Constraint Programming Lessons Learned from Crossword Puzzles Adam Beacham, Xinguang Chen, Jonathan Sillito, and Peter van Beek Department of Computing Science University of Alberta Edmonton, Alberta,

More information

Constraint Programming

Constraint Programming Constraint In Pursuit of The Holly Grail Roman Barták Charles University in Prague Constraint programming represents one of the closest approaches computer science has yet made to the Holy Grail of programming:

More information

Binary vs. non-binary constraints

Binary vs. non-binary constraints Artificial Intelligence 140 (2002) 1 37 www.elsevier.com/locate/artint Binary vs. non-binary constraints Fahiem Bacchus a, Xinguang Chen b, Peter van Beek c,, Toby Walsh d a Department of Computer Science,

More information

CS 4100/5100: Foundations of AI

CS 4100/5100: Foundations of AI CS 4100/5100: Foundations of AI Constraint satisfaction problems 1 Instructor: Rob Platt r.platt@neu.edu College of Computer and information Science Northeastern University September 5, 2013 1 These notes

More information

Crossword Puzzles as a Constraint Problem

Crossword Puzzles as a Constraint Problem Crossword Puzzles as a Constraint Problem Anbulagan and Adi Botea NICTA and Australian National University, Canberra, Australia {anbulagan,adi.botea}@nicta.com.au Abstract. We present new results in crossword

More information

Constraint Satisfaction Problems. slides from: Padhraic Smyth, Bryan Low, S. Russell and P. Norvig, Jean-Claude Latombe

Constraint Satisfaction Problems. slides from: Padhraic Smyth, Bryan Low, S. Russell and P. Norvig, Jean-Claude Latombe Constraint Satisfaction Problems slides from: Padhraic Smyth, Bryan Low, S. Russell and P. Norvig, Jean-Claude Latombe Standard search problems: State is a black box : arbitrary data structure Goal test

More information

Optimizing STR Algorithms with Tuple Compression

Optimizing STR Algorithms with Tuple Compression Optimizing STR Algorithms with Tuple Compression Wei Xia and Roland H.C. Yap School of Computing National University of Singapore {xiawei, ryap}@comp.nus.edu.sg Abstract. Table constraints define an arbitrary

More information

Consistency Enforcing and Constraint. Propagation: Path consistency and. i-consistency. i-consistency. Path. Consistency.

Consistency Enforcing and Constraint. Propagation: Path consistency and. i-consistency. i-consistency. Path. Consistency. Summary Basic Concepts x, y, z,r x,y, R y,z, R x,z Arc : every consistent value of x can be extended to y every consistent couple of values for x, y can be extended to z : Example Example ( ) x, y, z,

More information

Two Set-Constraints for Modeling and Efficiency

Two Set-Constraints for Modeling and Efficiency Two Set-Constraints for Modeling and Efficiency Willem-Jan van Hoeve 1 and Ashish Sabharwal 2 1 Tepper School of Business, Carnegie Mellon University 5000 Forbes Avenue, Pittsburgh, PA 15213, U.S.A. vanhoeve@andrew.cmu.edu

More information

What is Search For? CS 188: Artificial Intelligence. Constraint Satisfaction Problems

What is Search For? CS 188: Artificial Intelligence. Constraint Satisfaction Problems CS 188: Artificial Intelligence Constraint Satisfaction Problems What is Search For? Assumptions about the world: a single agent, deterministic actions, fully observed state, discrete state space Planning:

More information

Lecture 6: Constraint Satisfaction Problems (CSPs)

Lecture 6: Constraint Satisfaction Problems (CSPs) Lecture 6: Constraint Satisfaction Problems (CSPs) CS 580 (001) - Spring 2018 Amarda Shehu Department of Computer Science George Mason University, Fairfax, VA, USA February 28, 2018 Amarda Shehu (580)

More information

Constraint Optimization Literature Review

Constraint Optimization Literature Review ARL-CR-0787 NOV 2015 US Army Research Laboratory Constraint Optimization Literature Review prepared by Peter J Schwartz ORSA Corporation 1003 Old Philadelphia Road, #103 Aberdeen, MD under contract W91CRB-11D-0007

More information

Artificial Intelligence

Artificial Intelligence Contents Artificial Intelligence 5. Constraint Satisfaction Problems CSPs as Search Problems, Solving CSPs, Problem Structure Wolfram Burgard, Andreas Karwath, Bernhard Nebel, and Martin Riedmiller What

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence 5. Constraint Satisfaction Problems CSPs as Search Problems, Solving CSPs, Problem Structure Wolfram Burgard, Andreas Karwath, Bernhard Nebel, and Martin Riedmiller SA-1 Contents

More information

Application of Meta-Tree-Based Distributed Search to the Railway Scheduling Problem

Application of Meta-Tree-Based Distributed Search to the Railway Scheduling Problem Application of Meta-Tree-Based Distributed Search to the Railway Scheduling Problem Montserrat Abril, Miguel A. Salido, Federico Barber Dpto. Sistemas Informáticos y Computación, Universidad Politécnica

More information

Outline. Best-first search

Outline. Best-first search Outline Best-first search Greedy best-first search A* search Heuristics Local search algorithms Hill-climbing search Beam search Simulated annealing search Genetic algorithms Constraint Satisfaction Problems

More information

Exploring Parameterized Relational Consistency

Exploring Parameterized Relational Consistency University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln CSE Technical reports Computer Science and Engineering, Department of 2009 Exploring Parameterized Relational Consistency

More information

CS 188: Artificial Intelligence Fall 2008

CS 188: Artificial Intelligence Fall 2008 CS 188: Artificial Intelligence Fall 2008 Lecture 4: CSPs 9/9/2008 Dan Klein UC Berkeley Many slides over the course adapted from either Stuart Russell or Andrew Moore 1 1 Announcements Grading questions:

More information