For each branch and bound node, relax the unfixed binary variables to . The fractional knapsack problem is solved by decreasing profit-to-weight ratios, hereIts value is an upper bound for the node's integer optimum. At the root, greedy filling gives and upper bound , so branch on .
In the child , the relaxed optimum is with value . Branch on . Taking leaves capacity two, giving the integral solution of value , our incumbent. Taking gives the integral relaxed optimum of value , so that node is closed.
In the child , item four cannot be selected in any integer feasible solution, since their combined weight is nine. Fixing is therefore valid binary feasibility propagation. Its LP optimum is with value . Branch on . The child leaves no residual capacity and has integral solution of value . The child has integral solution of value . Both are below the incumbent.
The complete short search isAll integer feasible solutions lie in these branches, and every terminal node is integral with value at most forty. Therefore the LP bounds and incumbent certify independently of the dynamic program.
Articles by others on the same topic
There are currently no matching articles.