subject
Engineering, 27.12.2019 04:31 shaee7335

Given an instance (s, k) of the subset-sum problem, where s is a set of integers and k is another integer, we transform it into an instance s’ = s ∪ { x, y } of the partition problem, where x = sum(s) + k, y = 2sum(s) – k, and sum(s) = σx∈s x. prove that s’ can be constructed from s in polynomial time and there exists a subset x ⊆ s’ such that sum(x) = k iff s’ can be partitioned into x and y such that sum(x) = sum(y), where s’ = x∪y and x∩y = ∅

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, Fahaddie
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
image
Engineering, 04.07.2019 18:10, 0436500
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
image
Engineering, 04.07.2019 18:20, jessie8022
Apiston-cylinder device contains 0.1 m3 of liquid water and 0.9 m3 of water vapor in equilibrium at 800 kpa. heat is transferred at constant pressure until the temperature of water reaches 350 °c. determine (a) the quality of water at the initial state (b) the work associated with this process, (c) the heat associated with this process.
Answers: 2
image
Engineering, 04.07.2019 19:20, ijohnh14
Apure substance is a)-mixture of various chemical elements or compounds b)-substance that has a fixed chemical composition throughout c)-mixture that is homogeneous (such as air) d)-all the answers
Answers: 3
You know the right answer?
Given an instance (s, k) of the subset-sum problem, where s is a set of integers and k is another in...

Questions in other subjects:

Konu
Mathematics, 12.10.2019 21:20