Solving CSPs




CS156

Chris Pollett

Sep 27, 2017

Outline

Introduction

More Variations on the CSP Formalism

Preference Constraints

In-Class Exercise

A Latin Square is a `n`x`n` matrix with entries from `1, ..., n` such that no row or column has the same number twice.

Model a matrix being a 4x4 latin square as a CSP and post your solution to the Sep 27 In-Class Exercise Thread.

Inference in CSPs

Node Consistency

Arc Consistency

AC-3 Algorithm

Path Consistency

`k`-consistency

Global Constraints