Constraint Satisfaction Problems by Stuart Russell modified by Jacek Malec for LTH lectures January 26th, 2018
Chapter 6 of AIMA
c Stuart Russell Chapter 6 of AIMA 1
Outline
♦ CSP definition ♦ Backtracking search for CSPs ♦ Constraint propagation ♦ Problem structure and problem decomposition ♦ Local search for CSPs Acknowledgement: slides are based partly on Krzysztof Kuchci´ nski’s lecture notes
c Stuart Russell Chapter 6 of AIMA 2
Constraint satisfaction problems (CSPs)
Standard search problem: state is a “black box”—any “good old” data structure that supports goal test, eval, successor CSP: state is defined by variables Xi with values from domain Di goal test is a set of constraints specifying allowable combinations of values for subsets of variables Simple example of a formal representation language Allows useful general-purpose algorithms with more power than standard search algorithms
c Stuart Russell Chapter 6 of AIMA 3
CSP definition
A Constraint Satisfaction Problem consists of three components: X, D and C: X is a set of variables, {X1, . . . , Xn}, D is a set of domains, {D1, . . . , Dn}, one for each variable, C is a set of constraints that specify allowable combinations of values. Each constraint Ci consists of a pair <scope, rel>. A solution to a CSP is a consistent, complete assignment.
c Stuart Russell Chapter 6 of AIMA 4