CSCI 4511/6511
Two possibilities:
Tree-structured CSPs:
Linear time solution
Directional arc consistency: \(X_i \rightarrow X_{i+1}\)
Cutsets
Sub-problems
\[\begin{aligned} \max_{x} \quad & \boldsymbol{c}^T\boldsymbol{x}\\ \textrm{s.t.} \quad & A\boldsymbol{x} \leq \boldsymbol{b}\\ &\boldsymbol{x} \geq 0 \\ \end{aligned}\]
\[\begin{aligned} \min_{x} \quad & f(\boldsymbol{x})\\ \textrm{s.t.} \quad & g_i(\boldsymbol{x}) \leq 0\\ & h_i(\boldsymbol{x}) = 0 \\ \end{aligned}\]
\(R_{HK} \Rightarrow \neg R_{SI}\)
\(G_{HK} \Rightarrow \neg G_{SI}\)
\(B_{HK} \Rightarrow \neg B_{SI}\)
\(R_{HK} \lor G_{HK} \lor B_{HK}\)
…
Goal: find assignment of variables that satisfies conditions
Yes.
😌
It is a nice day.
It is warm outside.
The temperature is at least 78°F outside.
The temperature is exactly 78°F outside.

!, not, etc.)&&, and, etc.)
Falsehood:
It is possible to not know things:1
Deliberate typographical error!
Commonly abbreviated “SAT”
\((X_0 \land X_1) \lor X_2\)
\(X_0 \land \neg X_0 \land X_1\)
This is the entire point of the course.
Theory and practice are the same, in theory, but in practice they differ.
pycosatNo cat is a vegetarianFirst cat is a vegetarianSecond cat is a vegetarianThird cat is a vegetarian …First-Order Logic:
Loops 🙂 :
Three outcomes: Heads, Tails, and Edge.
Heads \(\land \neg\) Tails \(\land \neg\) EdgeTails \(\land \neg\) Heads \(\land \neg\) EdgeEdge \(\land \neg\) Heads \(\land \neg\) TailsPropositional logic tells us:
(Heads \(\land \neg\) Tails \(\land \neg\) Edge ) \(\lor\) (Tails \(\land \neg\) Heads \(\land \neg\) Edge) \(\lor\) (Edge \(\land \neg\) Heads \(\land \neg\) Tails)
This is remarkably unsatisfying.
How do you know?
What does it mean to know ?
Stuart J. Russell and Peter Norvig. Artificial Intelligence: A Modern Approach. 4th Edition, 2020.
Stanford CS231
UC Berkeley CS188