Constraint Satisfaction
作者:Deepak Khemani · 年份:2024 · DOI:10.1017/9781009284349.013 · 被引用次数:346 · 研究领域:Constraint Satisfaction and Optimization
What is common between solving a sudoku or a crossword puzzle and placing eight queens on a chessboard so that none attacks another? They are all problems where each number or word or queen placed on the board is not independent of the others. Each constrains some others. Like a piece in a jigsaw puzzle that must conform to its neighbours. Interestingly, all these puzzles can be posed in a uniform formalism, constraints . The constraints must be respected by the solution – the constraints must be satisfied . And a unified representation admits general purpose solvers. This has given rise to an entire community engaged in constraint processing . Constraint processing goes beyond constraint satisfaction, with variations concerned with optimization. And it is applicable on a vast plethora of problems, some of which have been tackled by specialized algorithms like linear programming and integer programming. In this chapter we confine ourselves to finite domain constraint satisfaction problems (CSPs) and study different approaches to solving them. We highlight the fact that CSP solvers can combine search and logical inferences in a flexible manner. A constraint network R or a CSP is a triple, R = < X, D, C > where X is a set of variable names, D is a set of domains, one for each variable, and C is a set of constraints on some subsets of variables (Dechter, 2003). We will use the names X = ﹛ x 1, x 2, …, xn ﹜ where convenient with the corresponding domains D = ﹛ D 1, D 2, …, Dn ﹜. ...