Question: The input is a set S = { 1 , 2 , . . . , n } of n items with weights s 1
The input is a set S n of n items with weights s s sn Assume, without loss of generality, that the items are ordered such that s s sn The problem is to partition S into sets A and B such that maxwA wB is minimized, where wA X i in A si and wB X j in B sj Prove the following: The Partition Problem is NPcomplete. Find a PTAS for the above problem, ie a approximation for Remark: Note that a approximation for the problem is easy; Define L Xn i si wS Then, the optimal solution will have cost Copt L
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
