

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions and problems for econ 172a, fall 2007, problem set 3. The problems involve solving the knapsack problem using branch and bound technique, finding optimal values of capacity c for each item, formulating the knapsack problem as a linear integer programming problem, and solving the assignment problem using the hungarian method with integer constraints. The document also includes a table for missile silos and a network diagram.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Econ 172A, Fall 2007: Problem Set 3
Instructions: Due: December 4, 2007.
(a) Use the branch and bound technique to solve and your capacity C is 100. You may use excel to solve the problem without integer constraints in order to obtain upper bounds on your value. (b) Find values of C ≤ 100 such that it is optimal to put item i in the sack. (You may need a different value of C for each item.) (c) Formulate the knapsack problem as a linear integer programming problem (the general formulation is available in your notes). Use excel to solve the specific problem of part (a) and check your answer. To do this, follow the steps you used to solve linear programming problems in the previous assignments, with one change. When you enter the constraints (by clicking on the “tools” menu and selecting “solver”), add the restriction that the variables are integer. You do this by clicking add constraint, selecting the variables and pulling down “int” from the middle cell (where in the past you selected either ≥ or ≤). Notice that you also have the option to select “bin,” doing so will automatically restrict variables to take on the value of either zero or one. (d) Solve the problem with the weights and values of part a, but for all weights between 10 and 210 (in increments of 10). Clearly increasing the capacity of the knapsack does not decrease the value of the problem. Is there anything else you can say about the how the solution and value vary with C? In particular, if it is optimal to carry the heaviest item for some C, will it be optimal to carry it for all C′^ > C? Is the marginal value of additional capacity always increasing (increasing returns to scale), always decreasing (decreasing returns to scale), or neither?
From Tower To Tower 1 2 3 4 5 6 1 15 14 35 32 25 2 15 20 23 22 25 3 14 20 30 26 21 4 35 23 30 13 22 5 32 22 26 13 18 6 25 25 21 22 18
2 x x qqqqqqqqqqqqq 3
8
3
18
14
5
q^ q^88 qqq qqq qqq qq 1 SS S ) )
5
1