Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 : ( 5 0 pts ) Consider the Differentiated Set Coverage Problem: Input: n items, U = ( 1 , 2 . .

Question 1: (50 pts) Consider the Differentiated Set Coverage Problem: Input: n items, U =(1,2.....n), coverage requirements of the items f =(1.12.... S.), m sets, S., Sz..... S.m. price of the sets p =( PP... Pm) Let x =(11,12,... Im) be the selection decisions of the sets, 11(0,1). Output: A minimum price selection x of the sets Si, Sa,..., S.m that can cover the items in U at least f times. Ex: Let n =5 and U =(1.2.3.4.5) having coverage requirements f =(1,2,1,2,1). Let m =5 and S ={1,2}, S2={2,3,4), S.={2,5), Ss ={3,4}, Ss ={1,4} with prices p=(5,6,10,2.4). For instance, item ; =2 U should be covered by at least 12=2 different sets S. We note that item 2 can be covered by S, with price pi =5, by S, with price p=6 and by S3 with priceps =10.1.(20 pts) Determine a greedy selection rule for the sets. Design a greedy algorithm for the Differentiated Set Coverage Problem and report the pseudocode. 2.(10 pts) Discuss the time complexity of your greedy algorithm. Is it efficient? Can your algorithm find the optimum solution?

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

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

More Books

Students also viewed these Databases questions

Question

1.2 Describe who performs HRM.

Answered: 1 week ago