Answered step by step
Verified Expert Solution
Link Copied!

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 >

image text in transcribed

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 D, C = B, A is even Select 2 sets of starting variable values. DO a 1-point crossover in the middle (so one child gets A and B from P1 and C and D from P2, and the other child gets the opposite. Use a chart like in #1. Determine which of the resulting children is the best option to use for future iterations

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago

Question

What are the functions of top management?

Answered: 1 week ago