Midterm 1
You run factory that makes 3 kinds of chocolate, milk, semi-sweet, and dark. Each kind of chocolate sells for a different price per kilogram and uses a different amount of milk, sugar, and cocoa mass. Formulate an LP to choose the optimal product mix to manufacture for give raw material prices.
For each of the following modifications to a hypothetical LP, explain the possible changes to solution of the LP.
- Adding a constraint
- Removing a constraint
- Negating the coefficients of the objective function
For the following LP, prove that in an optimal solution
eᵢ=|xᵢ|min ∑ eᵢ eᵢ ≥ -xᵢ eᵢ ≥ xᵢ Ax ≤ bThe L₁ or taxicab distance between points
p=(p₁,p₂)andq=(q₁,q₂)is defined asd₁(p,q) = |p₁-q₁|+|p₂-q₂|
- Give a set of linear inequalities to enforce the constraint that d_1(p,(0,0))≤ 1. The feasible region is drawn below. Note that a simple solution without extra variables exists.

Given a set of 2D points, write a linear program to compute the size of the smallest axis aligned square (not necessarily centred at the origin) that encloses the points.
You run a business which buys 16' lengths of lumber from a wholesaler. You receive orders from customers for 4', 8', and 12' lengths of lumber. Explain how to write an integer program to minimize the number of 16' lengths needed fulfil a given set of orders.
Consider the following integer program for finding the maximum independent set in a graph
G = (V,E).max ∑ xᵥ xᵤ + xᵥ ≤ 1 ∀ (u,v) ∈ E xᵥ ∈ {0,1}Prove that the LP relaxation for this integer program always has a solution with objective value at least |V|/2. Given an example of a graph where this corresponds to the optimal value of the integer program.
Consider two LPs with the same objective function
max cᵀx Ax≤ a max cᵀx Bx≤ bLet
xᴬandxᴮbe the corresponding optimal solutions. Letzbe the optimal be the optimal solution to the LPmax cᵀx Ax≤ a Bx≤ bFor each of following inequalities, explain if it sometimes holds, always holds, or never holds.
cᵀxᴬ < cᵀz min(cᵀxᴬ, cᵀxᴮ) > cᵀzConsider the following LP, related to a graph
G=(V,E)max ∑ xₑ ∑{xₑ | u ∈ e}≤ 1 ∀ u ∈ V 0 ≤ xₑ ≤ 1Prove that for an optimal solution
x*the edge setE*of non-integral edges does not contain an odd maximal path.
For test 2
Γ be the LP
max c^Tx s.t. Ax = b, x ≥ 0. Letx'be a feasible solution to this LP. LetK = { j | x'ⱼ > 0 }.- Suppose
A_Kdoes not have full column rank. Show that there existsy≠0such thatAy=0 - Suppose the vector
yabove satisfiesy ≥ 0,cᵀy > 0. Prove thatΓis unbounded.
- Suppose
If
Bis a feasible basis for systemAx = b, x >= 0, derive the formula for the corresponding basic feasible solution.Let Γ be the LP
max c^Tx s.t. Ax = b, x ≥ 0. Let B define a feasible basis of Γ . Definec̃_j = 0 if j ∈ B = -1 otherwiseLet
x'the basic feasible solution corresponding to B. Prove thatc̃ᵀx' ≥ c̃ᵀyfor all feasibley.Prove that (feasible) simplex tableaus are in one to one correspondence with feasible bases.
Let
Γbe the LPmax cᵀx s.t. Ax ≤ b.prove that set of all optimal solutions to
Γis a convex setLet
x'be a basic feasible solution ofΓ. LetJdenote the set ofnlinearly independent rowsaⱼ x ≤ bsatisfied with equality. Supposec = ∑ {aⱼ | j∈J}. Show that for all feasibley ≠ x',cᵀy < cᵀx'.
For final
Consider the LP
max cᵀx Ax = b, x >= 0. Prove that if there is somewsuch thatAw=0andcᵀw > 0, and the LP is feasible, then the LP is unbounded.Give an example of a simplex tableau that is both degenerate and optimal. Explain your answer.
Show how to use the simplex method to test if a system of linear inequalities is feasible.
Show that for any non-negative
xandysuch thatAx ≤ bandAᵀy ≥ c, it also holds thatcᵀx ≤ bᵀyShow how to reduce solving an LP to testing a system of inequalities for feasibility.
Consider the following LP.
max x₁ + x₂ + x₃ s.t. x₂ + 0.5x₃ ≤ 1 −2x₁ + x₃ ≤ 0 x₁ + 0.5x₃ ≤ 1 −2x₂ + x₃ ≤ 0 x₁ , x₂ , x₃ ≥ 0Prove that x = (1/2, 1/2, 1) and y = (1, 0, 1, 0) are primal–dual optimal solutions for this LP.
Prove that, under the assumption that
xᵢare integer,x₃≤0is a valid Chvátal-Gomory cutting plane for this LP. (this requires guessing a good set of row multipliers)
Consider the following integer program.
max x₂ −x₁ + 2x₂ ≤ −1/2 x₁ + 2x₂ ≤ 5/2 x₁ , x₂ ≥ 0 xᵢ integerThe LP relaxation has optimal tableau
x₁ = 3/2 - 1/2 x₃ - 1/2 x₄ x₂ = 1/2 - 1/4 x₃ - 1/4 x₄ z = 1/2 - 1/4 x₃ - 1/4 x₄
Derive cutting planes from this tableau. Explain your answer.
- Draw the branch and bound tree, indicating what constraints are introduced during branching. Hint: draw a picture of feasible region of the initial relaxation.