| Name: |
Midterm Exam, Friday, March 18, 2022.
Solutions
Please do all four problems. Show all work. No books or calculators allowed. You may use any result from class, the homeworks, or the texts, except where stated. You may use one sheet of handwritten notes. The exam lasts 110 minutes.
| Q1 | /25 | |
| Q2 | /25 | |
| Q3 | /30 | |
| Q4 | /20 | |
| Total | /100 |

and the point x* = (3,2,0,1)T is an optimal solution.
Solution:

so the set of columns used by x* gives a submatrix of A of rank only 2.

so we can take d = (2,-1, 0, 1)T .
A primal LP is

The corresponding dual problem is

Find optimal solutions to the primal and dual problems.
Solution:
Variable f1 has far smaller cost than f2, so we try to make f1 as large as possible. Similarly, if we have a choice between f3 and f4, we would pick f3. This gives a primal feasible solution:

with value

If we can find a dual feasible solution that satisfies complementary slackness then we have an optimal solution.
All the primal variables are positive, so we need all four dual constraints to hold at equality. The 2nd and 4th primal inequality constraints are strictly satisfied, so we need w2 = w4 = 0. This implies we need

Since we are primal and dual feasible and we satisfy complementary slackness, we are optimal.
Check: dual objective function value is


where the dual slack variables have been included explicitly. Assume both problems are feasible. We let ej ∈ ℝn denote the jth unit vector. We also work with the related primal-dual pair of problems

Solution:
,
with AT
+
= 0,
≥ 0,
j > 0. We can scale this direction so that
j ≥ 1. Then
, (
- ej) is feasible
in (Dj). If (Dj) is infeasible then no such direction exists, so sj must be bounded.

where we have a constraint for each w ∈ Q, and we define

Derive an equivalent linear program to (SILP) with the same variables y1, y2 and with a finite number of constraints.
Solution:
We can sketch Q:
Any point in Q can be represented as a convex combination of the extreme points plus a nonnegative multiple of the ray:
![[ ] [ ] [ ] [ ] [ ]
w1 0 3 5 - 1
w = λ1 3 + λ2 2 + λ3 0 + μ - 1 ,
2](midterm22sol22x.png)
with λ1 + λ2 + λ3 = 1,λj ≥ 0 for j = 1, 2, 3,μ ≥ 0.
So (SILP) is equivalent to the LP with 4 constraints:

The feasible region for this LP is as follows:
Note that we have

So if y is feasible in (LP) then it is feasible in (SILP).
Conversely, if y is not feasible in (LP) then either wT y > 1 for one of the extreme points of Q, or y1 + y2 < 0, which implies wT y > 1 for w = -t(1, 1)T ∈ Q for large enough t. So y is not feasible in (SILP).
Thus the two problems are equivalent.