Interactive Problem Solving with Constraint Satisfaction
Scenario: A university must schedule exams for three subjects: Math, Physics, and Computer Science.
Key Constraints:
We'll explore two versions: 2-slot scheduling (impossible) and 3-slot scheduling (solvable).
Available slots: Morning and Afternoon
Q: What are the variables in this CSP?
Q: What are the initial domains for each variable before applying constraints?
Q: List all constraints in this CSP.
Q: After assigning Math = Morning, what are the updated domains for Physics and CS using forward checking?
Q: Does any variable have an empty domain after forward checking with Math = Morning?
Q: After assigning Math = Morning, which variable(s) would the MRV (Minimum Remaining Values) heuristic select next?
Q: Is the LCV (Least Constraining Value) heuristic applicable when choosing a value for Physics or CS after Math = Morning?
Available values: {Afternoon}
Number of choices: 1
Available values: {Afternoon}
Number of choices: 1
Q: Is there a valid exam schedule using only two slots under the given rules?
Q: Explain clearly why no valid schedule exists.
Q: What is the minimum number of exam slots required to schedule all three exams without conflicts?
Available slots: Morning, Afternoon, and Evening
Q: After assigning Math = Morning, what are the domains of Physics and CS?
Q: How many complete valid exam schedules satisfy all constraints?
Q: Explain the key reason why the 2-slot version is unsolvable but the 3-slot version is solvable.