Answered step by step
Verified Expert Solution
Question
1 Approved Answer
answers are given below. I just don't understand how to get to the answers. Thanks! LO6. Recall the polynomial-time mapping reduction f : SS +
answers are given below. I just don't understand how to get to the answers. Thanks!
LO6. Recall the polynomial-time mapping reduction f : SS + SP from Subset Sum to Set Partition described in the Reducibility lecture. Answer the following questions. Note: this problem also counts for LO3. - (a) If (S = {14, 22, 29, 37, 48,53}, t 99) is an instance of ss, then provide f(s, t). Solution. f(S,t) = {5, 14, 22, 29, 37, 48, 53} (b) Verify that both (S,t) and f(s, t) are either both positive instances or are both negative instances. Solution. (S,t) is a positive instance since 14+37 + 48 = 99. Also, Letting A = {5, 14, 37, 48} yields 104 as the sum of its members which is exactly one half the sum of the members of f(S,t) = {5, 14, 22, 29, 37, 48, 53). = LO6. Recall the polynomial-time mapping reduction f : SS + SP from Subset Sum to Set Partition described in the Reducibility lecture. Answer the following questions. Note: this problem also counts for LO3. - (a) If (S = {14, 22, 29, 37, 48,53}, t 99) is an instance of ss, then provide f(s, t). Solution. f(S,t) = {5, 14, 22, 29, 37, 48, 53} (b) Verify that both (S,t) and f(s, t) are either both positive instances or are both negative instances. Solution. (S,t) is a positive instance since 14+37 + 48 = 99. Also, Letting A = {5, 14, 37, 48} yields 104 as the sum of its members which is exactly one half the sum of the members of f(S,t) = {5, 14, 22, 29, 37, 48, 53). =Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started