Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We start by defining the independent set problem. Given a graph G = (V, E), we say a set of nods S V is independent

image text in transcribed
We start by defining the independent set problem. Given a graph G = (V, E), we say a set of nods S V is independent if no two nodes in S are joined by an edge. The Inexpedient Set problem, which we denote Is, answers the question, does there exist a set S G such that |S| greaterthanorequalto k? Then set k as large as possible. For this problem, you may take as given that IS is NP-complete. A store trying to analyze the behaviour of its customers will often maintain a table A where the rows of the table correspond to the customer* and the (or fields) correspond to products sells. The entry specifies quantity of product J that has been purchased by customer i. For example, Table ?? shows one such table. One thing that a store might want to do with this data is the following. Let's say that a subset S of the customers is diverse if no two of the customers in S have every bought the same product (i.e., of reach product, at most one of the customers in S has ever bought it). A diverse set of customers can be useful, for example, as a target pool for market research. We can now define the Diverse Subset problem (DS) as follows: Given an m times n array A as defined above and a number k lessthanorequalto m, is there a subset of at least k customers that is diverse? Prove that DS is NP-complete

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

Students also viewed these Databases questions