Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (10 pts) Consider a problem with four variables, {A,B,C,D}. Each variable has domain {1,2,3,4}. The constraints on the problem are that AB, B >
1. (10 pts) Consider a problem with four variables, {A,B,C,D}. Each variable has domain {1,2,3,4}. The constraints on the problem are that AB, B > C, AED, C>D. Suppose that we want to solve this problem with local search using Iterative Best Improvement Assume we start with the following "random assignment of values to variables shown in the first line. Use a two-stage choice algorithm to find a satisfying assignment of the variables. That is, first choose one of the) variable(s) that participates in the most conflicts. Then choose a value of that variable that minimizes the number of conflicts for that variable. Then repeat so long as there are conflicts. To determine if there are conflicts, fill out the "evaluation" column with the number of constraints that are not satisfied with the given assignment. Keep going until you have no conflicts. (You may not need all the lines.) A B D Evaluation Conflicts participated in A B B D 1 4 1 6 II 2. (10 points) Consider the same variables and domains as above. The constraints are as follows: A > C, D
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started