Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Problem Encoding and Local Search (20 points) Recall that the Pigeonhole problem concerns putting n + 1 pigeons into n holes. The con- straints

image text in transcribed

2. Problem Encoding and Local Search (20 points) Recall that the Pigeonhole problem concerns putting n + 1 pigeons into n holes. The con- straints on this problem are: (1) each pigeon is assigned a hole and (2) each hole can acco- modate at most one pigeon. (a) (9 pts) Assuming that the binary variable Xij is True if and only if pigeon i is in hole j, give the clauses that encode the constraints of the problem. Make sure that each set of clauses is accompanied by an English description. (b) (4 pts) How many clauses do you need? Express your answer in big-O notation. (c) (7 pts) Describe how local search can be applied to the Pigeonhole problem, using a direct formulation (i.e., not using the Boolean encoding of part (a)). Discuss a way of improving the local search strategy. (Note: Since there is no solution to the Pigeonhole problem, any local search strategy will not return a solution, but that doesn't mean we cannot apply local search to it.) 2. Problem Encoding and Local Search (20 points) Recall that the Pigeonhole problem concerns putting n + 1 pigeons into n holes. The con- straints on this problem are: (1) each pigeon is assigned a hole and (2) each hole can acco- modate at most one pigeon. (a) (9 pts) Assuming that the binary variable Xij is True if and only if pigeon i is in hole j, give the clauses that encode the constraints of the problem. Make sure that each set of clauses is accompanied by an English description. (b) (4 pts) How many clauses do you need? Express your answer in big-O notation. (c) (7 pts) Describe how local search can be applied to the Pigeonhole problem, using a direct formulation (i.e., not using the Boolean encoding of part (a)). Discuss a way of improving the local search strategy. (Note: Since there is no solution to the Pigeonhole problem, any local search strategy will not return a solution, but that doesn't mean we cannot apply local search to it.)

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

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions

Question

=+ What are the information and consultation requirements?

Answered: 1 week ago

Question

=+ Should the MNE belong (why, why not)?

Answered: 1 week ago