Constraint Relaxation may be Perfect

Abstract Networks of constraints are a simple knowledge representation method, useful for describing those problems whose solution is required to satisfy several simultaneous constraints. The problem of solving a network of constraints with finite domains is NP-complete. The standard solution technique for such networks of constraints is the backtrack search, but many relaxation algorithms, to be applied before backtracking, have been developed: they transform a network in an equivalent but more explicit one. The idea is to make the backtrack search have a better average time complexity. In fact, if the network elaborated by the backtrack algorithm is more explicit, the algorithm backtracks less. In this paper we describe relaxation algorithms as sequences of applications of relaxation rules. Moreover, we define perfect relaxation algorithms as relaxation algorithms which not only return a more explicit network, but also exactly solve the given network of constraints by applying every relaxation rule only once. Finally, we characterize a family of classes of networks on which certain perfect relaxation algorithms are very efficient: the exact solution of each network in a class is found in linear time.

[1]  Eugene C. Freuder,et al.  The Complexity of Some Polynomial Network Consistency Algorithms for Constraint Satisfaction Problems , 1985, Artif. Intell..

[2]  Francesca Rossi,et al.  Fundamental properties of networks of constraints: A new formulation , 1988 .

[3]  Ugo Montanari,et al.  Networks of constraints: Fundamental properties and applications to picture processing , 1974, Inf. Sci..

[4]  U. Montanari,et al.  Nonserial Dynamic Programming: On the Optimal Strategy of Variable Elimination for the Rectangular Lattice , 1972 .

[5]  Annegret Habel,et al.  Some Structural Aspects of Hypergraph Languages Generated by Hyperedge Replacement , 1987, STACS.

[6]  Francesca Rossi,et al.  Hypergraph Grammars and Networks of Constraints versus Logic Programming and Metaprogramming , 1989, META.

[7]  Thomas C. Henderson,et al.  Arc and Path Consistency Revisited , 1986, Artif. Intell..

[8]  Francesca Rossi,et al.  Exact Solution in Linear Time of Networks of Constraints Using Perfect Relaxation , 1989, KR.

[9]  Rina Dechter,et al.  Network-based heuristics for constraint satisfaction problems , 1988 .

[10]  Raimund Seidel,et al.  A New Method for Solving Constraint Satisfaction Problems , 1981, IJCAI.

[11]  Francesca Rossi,et al.  An Efficient Algorithm for the Solution of Hierarchical Networks of Constraints , 1986, Graph-Grammars and Their Application to Computer Science.

[12]  Eugene C. Freuder Synthesizing constraint expressions , 1978, CACM.

[13]  Eugene C. Freuder A Sufficient Condition for Backtrack-Free Search , 1982, JACM.

[14]  Alan K. Mackworth Consistency in Networks of Relations , 1977, Artif. Intell..