Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . 4 . Do you agree that Greedy can achieve an approximation ratio of 2 ? If yes, please add your proof; otherwise, offer

1.4. Do you agree that Greedy can achieve an approximation ratio of 2? If yes, please add your
proof; otherwise, offer a specific example of vertex cover to disapprove it.(5 Points)
You run a small business out of New York and Boston. You are a small operation and need to
be close to where the most customer demand is in a month: so, in each month, you either work
from New York or from Boston (exactly one of these two options). Based on forecasted demand,
you know that in month i, you will incur an operating cost of Ni>0 if you work from New York in
that month, and Bi if you work from Boston that month. You need to plan ahead for your locations
for the next n months: if you change locations from month i to i+1(where 1in-1), you
incur a fixed moving cost of M.
2.1 Given n,M, and the Ni and Bi values, develop an algorithm running in time polynomial in n
that finds a plan of least total cost for the next n months - a plan of where to operate from for each
of these n months. Please write down the pseudo codes formally following the style you see in the
homework. (15 points)
2.2. Apply your algorithm in 2.1 to this instance: n=5,M=8,N=(Ni)=(10,9,20,8,15), and
B =(Bi)=(5,25,7,17,9), and output the results. Note that the final output should specify clearly
in each month 1i5, you should stay at which of the two locations, New York or Boston, and
the total resulting cost. (15 points)
In the class, we have discussed in detail Greedy for Coverage Maximization Problem (COV-
MAX).
3.1. Consider such an instance as follows: n=6,m=4, and k=2, where the groundset
is G=[n]={1,2,dots,6}, the collection of subsets is C={Sj|jin[m]} with S1={1,2,3,4},
S2={2,3,5},S3={1,4,6},S4={1,3,6}. Please compute the following: (1) The collection of
subsets output by Greedy and the corresponding coverage; (2) An optimal solution and the related
coverage, and the resulting approximation ratio of Greedy on the specific instance. (15 Points)
3.2. Can you create another instance of MAX-COV such that the approximation ratio achieved
by Greedy on the instance is strictly less than what is shown above (i.e., on the instance given in
3.1)? Please state clearly your instance and related analysis to support your claim. (10 Points)
3.3. Recall that in class, it was demonstrated that the Greedy algorithm achieves an approximation
ratio of 1-1e~~0.632 for MAX-COV. This implies that for any instance of MAX-COV, the coverage
of the solution produced by Greedy is at least a fraction of 1-1e of the optimal solution's coverage.
Can you construct an instance illustrating that the approximation ratio of 1-1e is indeed tight?
In simpler terms, can you create an example where the ratio between the coverage achieved by
Greedy and the optimal coverage approaches, or can be made arbitrarily close to,1-1e?(5
Points)
image text in transcribed

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 Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions

Question

What abilities are possible because humans use symbols?

Answered: 1 week ago