Name:

MATP6640/ISYE6770
Linear Programming
Spring 2020

TakeHome Midterm Exam, Thursday, March 26, 2020.
Due: Noon, Monday, March 30, 2020.
Scan in a pdf version of your solutions and upload to LMS.

Please do all four problems. Show all work. You may use any result from class, the homeworks, or the texts, except where stated.

Scan in a pdf version of your solutions and upload to LMS. You can alternatively write your solutions in LaTeX. Include your name in the name of any file you submit.

I will have WebEx office hours on Thursday from 1-2pm and on Friday from 11am-1pm.

Q1       /20



Q2       /20



Q3       /20



Q4       /40






Total      /100
  1. (20 points; each point is worth 5 points) Let g n, h m, and H m×n. Assume rank(H) = m. We look at the LP
    minz ∈ℝn    gTz

subject to  Hz   =   h
              z      free
    (1)

    1. Is the LP feasible?
    2. Express the LP in an equivalent form min{cT x : Ax = b,x 0}. Show that if this problem has a finite optimal value then it has an unbounded set of optimal solutions.
    3. The dual problem is then max{bT y : AT y c}. Does there exist a feasible dual solution y with (AT y) i < ci for some component i?
    4. What must g, h, and H satisfy for (1) to have a finite optimal value? What can you say about the set of optimal solutions to (1) in this case?
  2. (20 points) The stochastic program
                 T
minx        c x  +   E ξ [Q(x, ξ)]
subject to   Ax  =   b
              x  ≥   0
    (2)

    has second stage cost

    Q(x,ξ ) = miny        qT y
          subject to  W  y  =  h (ξ ) - T (ξ)x

                         y  ≥  0
    (3)

    Assume all matrices and vectors are dimensioned appropriately. In class, we discussed solving (2) using the L-shaped decomposition method. In class, we only considered the case where the problem has complete recourse, so the second stage problem (3) is feasible for any x feasible in (2).

    How can the method be modified if the assumption of complete recourse does not hold? (Assume the dual LP to the subproblem (3) is feasible.)

  3. (20 points) The ampl model file midterm20q3.mod and run file midterm20q3.run generate a random feasible linear program of the form
                 T
minx ∈ℝn    c x
subject to  Ax   ≥   b
              x  ≥   0
    (4)

    with m = 10 and n = 30. The seed is contained in the data file, so choose a random seed and generate an LP. Note that cj = 1 for all j, and bi = j=1n(A ij - 1) for all i. We consider the robust LP model

    minx        cTx
            ∑n            ∑
subject to    j=1 aijxj -    j∈Si ˆaijxj ≥ bi ∀ |Si| ≤ Γ i,∀i
            x ≥ 0
    (5)

    where ij = 1 for all i, j, and Γi = 15 for all i = 1,, 10. Solve (5). In addition to your optimal x and optimal value, submit your seed, and also submit a data file containing A.

    Note: You don’t need to use AMPL to solve the robust problem, you’re welcome to use a different LP solver. You will need to run AMPL to generate the data file using the command

    ampl: model midterm20q3.run;

    This command will display the A matrix, which you could copy and paste into another solver. The run command also generates a data file containing A, which you can email to me: please put your name in the title of the file.

    (If you don’t even want to use AMPL to generate the data, ensure you generate an instance in the same way, and submit your A matrix using exactly the formatting indicated in the run file.)

  4. (40 points. Parts (a)–(f) are worth 5 points each, part (g) is worth 10 points.) Consider the standard form linear program
                      T
z :=   minx∈ℝn    c  x
      subject to  Ax   =  b
                    x  ≥  0
    (6)

    where A m×n and rank(A) = m, and b and c are dimensioned appropriately and c has at least one nonzero component. For any nonnegative scalar parameters μ and ν, we can set up a relaxation of (6):

                                                         ∑ n
z(μ, ν) = min f (x) := cT x + μ-(Ax - b)T(Ax  - b) + ν-   (min {xi,0})2
          x∈ℝn               2                      2 i=1
    (7)

    1. Show that the optimal value of (7) provides a lower bound for the optimal value of (6).
    2. Let ˆx be an optimal solution to (7). Show that cT xˆ < z, the optimal value for (6).
    3. The function f(x) is convex and differentiable with gradient
      ∇f (x) = c + μAT (Ax -  b) + νt
      (8)

      where

           {
ti =    0  if xi ≥ 0   for i = 1,...,n.
       xi  if xi ≤ 0

      Any minimizer of f(x) must satisfy f(x) = 0. Show that if x is a minimizer of f(x) then x is infeasible in (6).

    4. Let x satisfy f(x) = 0. Construct a dual feasible solution y to (6), and hence find a lower bound z(y) on the optimal value of (6).
    5. Let x be a solution to (6). Express z(μ,ν) in terms of cT x and z(y) from part 4d.
    6. Let x minimize f(x). We have constructed three lower bounds on the optimal value of 6, namely cT x, f(x), and z(y). Which one of these is largest?
    7. Solve 7 for the LP
      minx ∈ℝ2    2x1  +    x2
subject to   x   +  2x    =  4
              1        2
                  x1, x2  ≥  0

      for a generic μ > 0, ν > 0. What is the dual solution you obtain using the construction of part 4d? (Hint: the optimal solution has x1 < 0, x2 > 0.)