Question: Given the vectors r = [ 1 0 , 1 3 , 1 9 , 8 ] , w = [ 5 , 7 ,
Given the vectors r w and B we consider a
knapsack problem
max
x in Sa
i
rixi Formuation a
where
Sa x in
i
Now, we consider an alterative formulation as follows,
wixi B
max
x in Sb
i
rixi Formulation b
where
Sb x in Sa
i in S
xs SS S such that
i in S
wi B
a Explicitly write down all the subset linear constraints in Formulation b
Hint: Find all the set S S such that i in S wi B first.
b Show that Sa Sb
c Which formulation is stronger? Why?
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
