CSE 3207 Artificial Intelligence: Mohiuddin Ahmed Assistant Professor Department of CSE Ruet
CSE 3207 Artificial Intelligence: Mohiuddin Ahmed Assistant Professor Department of CSE Ruet
Artificial Intelligence
Mohiuddin Ahmed
Assistant Professor
Department of CSE
RUET
Constraint Satisfaction Problems
Constraint satisfaction problems (CSPs)
• 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
Example: Map-Coloring
• Continuous variables
– e.g., start/end times for Hubble Space Telescope observations
Varieties of constraints
• Unary constraints involve a single variable,
– e.g., SA ≠ green
• Variables: F T U W R O X1 X2 X3
• Domains: {0,1,2,3,4,5,6,7,8,9}
• Timetabling problems
– e.g., which class is offered when and where?
• Transportation scheduling
• Factory scheduling