TExcelTAD

Exercises

Fifteen problems covering the whole course: LP geometry and the simplex method, duality and its combinatorial consequences, polynomial-time solvers, integrality, semidefinite programming and multiplicative weights. Each has a short Answer and a full Solution; several solutions include a program that checks the result in exact arithmetic or with SciPy. Try each one on paper first.

Tip: For any claim of optimality, produce the certificate: a primal solution, a dual solution and the equality of their values (or complementary slackness). For any claim of infeasibility, produce a Farkas vector. The programs below do exactly this.

# Exercise Practises
1 Into standard form conversions
2 Vertex or not? tight constraints, BFS
3 Two pivots by hand simplex with Bland's rule, reading the dual
4 A dual with every kind of constraint the dualization recipe
5 Certify a claimed optimum complementary slackness
6 Prove infeasibility Farkas' lemma
7 Round a fractional cut threshold rounding, max-flow duality
8 A matching and its certificate König's theorem
9 Greedy vertex cover as set cover dual fitting
10 How many ellipsoid steps? the iteration bound
11 TU or not? total unimodularity, Ghouila-Houri
12 Odd cycles do not give gap 2 integrality gaps
13 The triangle's SDP max-cut SDP, Goemans-Williamson
14 Tuning the learning rate MWU regret
15 A game without a saddle point minimax

Exercise 1: Into standard form

Convert to the form max⁡{cTx:Ax≤b, x≥0}\max \{ c^T x : Ax \le b,\ x \ge 0 \}:

min⁡  x1−2x2+3x3s.t.x1+x2−x3≥2,2x1−x2=1,x1≥0, x2 free, x3≤0.\min \; x_1 - 2x_2 + 3x_3 \quad \text{s.t.} \quad x_1 + x_2 - x_3 \ge 2, \quad 2x_1 - x_2 = 1, \quad x_1 \ge 0,\ x_2 \text{ free},\ x_3 \le 0 .

How many variables and constraints does the result have?

Answer

Four variables (x1x_1, x2+x_2^+, x2−x_2^-, x3′=−x3x_3' = -x_3) and three rows: maximize −x1+2x2+−2x2−+3x3′-x_1 + 2x_2^+ - 2x_2^- + 3x_3' subject to −x1−x2++x2−−x3′≤−2-x_1 - x_2^+ + x_2^- - x_3' \le -2, 2x1−x2++x2−≤12x_1 - x_2^+ + x_2^- \le 1, −2x1+x2+−x2−≤−1-2x_1 + x_2^+ - x_2^- \le -1, all variables ≥0\ge 0.

Solution

Negate the objective to turn the minimization into a maximization. Substitute x3=−x3′x_3 = -x_3' with x3′≥0x_3' \ge 0 (a non-positive variable becomes a non-negative one), so 3x33x_3 becomes −3x3′-3x_3' and, after negation, +3x3′+3x_3'; the first constraint becomes x1+x2+x3′≥2x_1 + x_2 + x_3' \ge 2. Split the free variable x2=x2+−x2−x_2 = x_2^+ - x_2^-. Multiply the ≥\ge row by −1-1, and replace the equation by two opposite inequalities. The optimal value of the original is minus the optimal value of the converted LP (Standard Form, Slack Form and Combinatorial LPs).

Exercise 2: Vertex or not?

For P={(x,y):x+y≤4, x≤3, y≤3, x,y≥0}P = \{ (x, y) : x + y \le 4,\ x \le 3,\ y \le 3,\ x, y \ge 0 \}, decide whether (2,2)(2, 2) and (3,1)(3, 1) are vertices.

Answer

(2,2)(2, 2) is not a vertex (only one constraint is tight); (3,1)(3, 1) is a vertex (two tight constraints with independent normals).

Solution

At (2,2)(2, 2) only x+y≤4x + y \le 4 is tight. In the plane a vertex needs two linearly independent tight constraints, and indeed (2,2)(2, 2) is the midpoint of the feasible points (1,3)(1, 3) and (3,1)(3, 1). At (3,1)(3, 1) both x+y≤4x + y \le 4 and x≤3x \le 3 are tight, with normals (1,1)(1, 1) and (1,0)(1, 0), which are independent: a basic feasible solution, hence a vertex (Polytopes, Vertices and Basic Feasible Solutions).

Exercise 3: Two pivots by hand

Solve max⁡  2x1+3x2\max \; 2x_1 + 3x_2 subject to x1+x2≤4x_1 + x_2 \le 4, x1+3x2≤6x_1 + 3x_2 \le 6, x≥0x \ge 0 with the simplex method and Bland's rule, starting from the slack basis. Read an optimal dual solution off the final tableau.

Answer

Two pivots: x1x_1 enters and s1s_1 leaves (value 8), then x2x_2 enters and s2s_2 leaves (value 9). Optimum x=(3,1)x = (3, 1), value 9, dual y=(32,12)y = (\frac{3}{2}, \frac{1}{2}).

Solution

Both reduced costs are positive; Bland picks the smaller index, x1x_1. Ratios 4/14/1 and 6/16/1: s1s_1 leaves. Then x1=4−x2−s1x_1 = 4 - x_2 - s_1, s2=2−2x2+s1s_2 = 2 - 2x_2 + s_1, z=8+x2−2s1z = 8 + x_2 - 2s_1. Now x2x_2 has reduced cost 1; the ratio test compares 4/14/1 (row of x1x_1) with 2/22/2 (row of s2s_2), so s2s_2 leaves: x2=1+12s1−12s2x_2 = 1 + \frac{1}{2}s_1 - \frac{1}{2}s_2, x1=3−12s1+12s2x_1 = 3 - \frac{1}{2}s_1 + \frac{1}{2}s_2, z=9−32s1−12s2z = 9 - \frac{3}{2}s_1 - \frac{1}{2}s_2. All reduced costs are negative: optimal. The negated slack reduced costs give y=(32,12)y = (\frac{3}{2}, \frac{1}{2}), with bTy=6+3=9b^T y = 6 + 3 = 9 (Weak and Strong Duality).

python · try it yourself
from fractions import Fraction as F

A, b, c = [[1, 1], [1, 3]], [4, 6], [2, 3]
x, y = [F(3), F(1)], [F(3, 2), F(1, 2)]
print("primal feasible:", all(sum(A[i][j] * x[j] for j in range(2)) <= b[i] for i in range(2)) and min(x) >= 0)
print("dual feasible:  ", all(sum(A[i][j] * y[i] for i in range(2)) >= c[j] for j in range(2)) and min(y) >= 0)
print("values:", sum(c[j] * x[j] for j in range(2)), sum(b[i] * y[i] for i in range(2)))
primal feasible: True
dual feasible:   True
values: 9 9

Exercise 4: A dual with every kind of constraint

Write the dual of

max⁡  3x1−x2+2x3s.t.x1+x2+x3≤5,2x1−x3≥1,x2+x3=3,x1,x3≥0, x2 free.\max \; 3x_1 - x_2 + 2x_3 \quad \text{s.t.} \quad x_1 + x_2 + x_3 \le 5, \quad 2x_1 - x_3 \ge 1, \quad x_2 + x_3 = 3, \quad x_1, x_3 \ge 0,\ x_2 \text{ free}.
Answer

min⁡  5y1+y2+3y3\min \; 5y_1 + y_2 + 3y_3 subject to y1+2y2≥3y_1 + 2y_2 \ge 3, y1+y3=−1y_1 + y_3 = -1, y1−y2+y3≥2y_1 - y_2 + y_3 \ge 2, with y1≥0y_1 \ge 0, y2≤0y_2 \le 0, y3y_3 free. Both optima equal 12, attained at x=(2,0,3)x = (2, 0, 3) and y=(9,−3,−10)y = (9, -3, -10).

Solution

By the recipe (Building the Dual Mechanically): the ≤\le row gets y1≥0y_1 \ge 0, the ≥\ge row y2≤0y_2 \le 0, the equation a free y3y_3. Columns: x1≥0x_1 \ge 0 gives y1+2y2≥3y_1 + 2y_2 \ge 3; free x2x_2 gives the equation y1+y3=−1y_1 + y_3 = -1; x3≥0x_3 \ge 0 gives y1−y2+y3≥2y_1 - y_2 + y_3 \ge 2. At x=(2,0,3)x = (2, 0, 3) the first two rows are tight and x1,x3>0x_1, x_3 > 0, so complementary slackness asks for equality in the first and third dual constraints; with the equation this gives y=(9,−3,−10)y = (9, -3, -10), of value 45−3−30=1245 - 3 - 30 = 12, the primal value 6−0+66 - 0 + 6. The program solves both.

python · try it yourself
from fractions import Fraction
from scipy.optimize import linprog

primal = linprog([-3, 1, -2], A_ub=[[1, 1, 1], [-2, 0, 1]], b_ub=[5, -1], A_eq=[[0, 1, 1]], b_eq=[3],
                 bounds=[(0, None), (None, None), (0, None)], method="highs")
dual = linprog([5, 1, 3], A_ub=[[-1, -2, 0], [-1, 1, -1]], b_ub=[-3, -2], A_eq=[[1, 0, 1]], b_eq=[-1],
               bounds=[(0, None), (None, 0), (None, None)], method="highs")
print("primal optimum:", Fraction(float(-primal.fun)).limit_denominator(100))
print("dual optimum:  ", Fraction(float(dual.fun)).limit_denominator(100))
primal optimum: 12
dual optimum:   12

Exercise 5: Certify a claimed optimum

Someone claims that x∗=(2,2,0)x^* = (2, 2, 0) is optimal for max⁡  4x1+3x2+x3\max \; 4x_1 + 3x_2 + x_3 subject to x1+x2+x3≤4x_1 + x_2 + x_3 \le 4, 2x1+x2≤62x_1 + x_2 \le 6, x1+3x2+x3≤9x_1 + 3x_2 + x_3 \le 9, x≥0x \ge 0. Prove or refute it with complementary slackness.

Answer

It is optimal: the certificate is y=(2,1,0)y = (2, 1, 0), and both values are 14.

Solution

Row 3 has slack (8<98 < 9), so y3=0y_3 = 0. Since x1,x2>0x_1, x_2 > 0, the first two dual constraints are tight: y1+2y2=4y_1 + 2y_2 = 4 and y1+y2=3y_1 + y_2 = 3, so y2=1y_2 = 1, y1=2y_1 = 2. Dual feasibility: y≥0y \ge 0, and the third dual constraint y1+y3=2≥1y_1 + y_3 = 2 \ge 1 holds. So yy is dual feasible and complementary to x∗x^*, which proves optimality (Complementary Slackness).

python · try it yourself
from fractions import Fraction as F

A, b, c = [[1, 1, 1], [2, 1, 0], [1, 3, 1]], [4, 6, 9], [4, 3, 1]
x, y = [2, 2, 0], [2, 1, 0]
Ax = [sum(A[i][j] * x[j] for j in range(3)) for i in range(3)]
ATy = [sum(A[i][j] * y[i] for i in range(3)) for j in range(3)]
print("primal feasible", all(Ax[i] <= b[i] for i in range(3)), " dual feasible", all(ATy[j] >= c[j] for j in range(3)))
print("row products", [y[i] * (b[i] - Ax[i]) for i in range(3)], " column products", [x[j] * (ATy[j] - c[j]) for j in range(3)])
print("values", sum(c[j] * x[j] for j in range(3)), sum(b[i] * y[i] for i in range(3)))
primal feasible True  dual feasible True
row products [0, 0, 0]  column products [0, 0, 0]
values 14 14

Exercise 6: Prove infeasibility

Show that x1+x2≥3x_1 + x_2 \ge 3, x1≤1x_1 \le 1, x2≤1x_2 \le 1, x≥0x \ge 0 has no solution by exhibiting a Farkas certificate for the form {Ax≤b, x≥0}\{ Ax \le b,\ x \ge 0 \}.

Answer

Write the rows as −x1−x2≤−3-x_1 - x_2 \le -3, x1≤1x_1 \le 1, x2≤1x_2 \le 1 and take y=(1,1,1)y = (1, 1, 1): ATy=(0,0)≥0A^T y = (0, 0) \ge 0 and bTy=−1<0b^T y = -1 < 0.

Solution

Adding the three rows gives 0≤−10 \le -1. In the language of the second variant of Farkas' lemma: y≥0y \ge 0, ATy≥0A^T y \ge 0 and bTy<0b^T y < 0, so no x≥0x \ge 0 satisfies Ax≤bAx \le b. (A certificate with ATy=0A^T y = 0 exactly is not required for this form, since x≥0x \ge 0 makes ATy≥0A^T y \ge 0 enough.)

Exercise 7: Round a fractional cut

In the network s→as \to a (capacity 4), s→bs \to b (1), a→ba \to b (2), a→ta \to t (1), b→tb \to t (4), the potentials p=(ps,pa,pb,pt)=(1,34,14,0)p = (p_s, p_a, p_b, p_t) = (1, \frac{3}{4}, \frac{1}{4}, 0) with duv=max⁡(0,pu−pv)d_{uv} = \max(0, p_u - p_v) form a feasible solution of the min-cut LP. Compute its value, the expected capacity of the threshold cut, and the best threshold cut. Is the dual solution optimal?

Answer

Value 92\frac{9}{2}; expected threshold cut 92\frac{9}{2}; best threshold cut {s,a}\{s, a\} with capacity 4. Not optimal: the maximum flow is 4.

Solution

d=(14,34,12,34,14)d = (\frac{1}{4}, \frac{3}{4}, \frac{1}{2}, \frac{3}{4}, \frac{1}{4}) on the five arcs, so ∑uede=1+34+1+34+1=92\sum u_e d_e = 1 + \frac{3}{4} + 1 + \frac{3}{4} + 1 = \frac{9}{2}. Thresholds in (34,1](\frac{3}{4}, 1] give S={s}S = \{s\} (capacity 5), in (14,34](\frac{1}{4}, \frac{3}{4}] give {s,a}\{s, a\} (capacity 1+2+1=41 + 2 + 1 = 4), in (0,14](0, \frac{1}{4}] give {s,a,b}\{s, a, b\} (capacity 5). The expectation is 14⋅5+12⋅4+14⋅5=92\frac{1}{4} \cdot 5 + \frac{1}{2} \cdot 4 + \frac{1}{4} \cdot 5 = \frac{9}{2}, equal to the dual value as the analysis predicts (Max-Flow Min-Cut as LP Duality). The flow s→a→ts \to a \to t (1), s→a→b→ts \to a \to b \to t (2), s→b→ts \to b \to t (1) has value 4, so the cut {s,a}\{s, a\} is minimum and the fractional solution was not optimal.

Exercise 8: A matching and its certificate

Left vertices a,b,c,da, b, c, d, right vertices 1,2,3,41, 2, 3, 4, edges a1,a2,b2,c2,c3,d3a1, a2, b2, c2, c3, d3. Find a maximum matching and a vertex cover of the same size.

Answer

A maximum matching has size 3 (for example a1a1, b2b2, c3c3 or a1a1, c2c2, d3d3); a cover of size 3 is {a,2,3}\{a, 2, 3\}.

Solution

Vertex 4 is isolated, and bb, cc, dd have neighbourhoods inside {2,3}\{2, 3\}, so at most two of them can be matched, giving at most 3. The cover {a,2,3}\{a, 2, 3\} touches every edge: a1,a2a1, a2 by aa, b2,c2b2, c2 by 2, c3,d3c3, d3 by 3. Equal sizes certify both (Bipartite Matching and König's Theorem). The program finds them with augmenting paths and König's construction.

python · try it yourself
L = ["a", "b", "c", "d"]
adj = {"a": ["1", "2"], "b": ["2"], "c": ["2", "3"], "d": ["3"]}
match = {}

def augment(u, seen):
    for w in adj[u]:
        if w not in seen:
            seen.add(w)
            if w not in match or augment(match[w], seen):
                match[u], match[w] = w, u
                return True
    return False

for u in L:
    augment(u, set())
Z = {u for u in L if u not in match}
stack = list(Z)
while stack:
    u = stack.pop()
    for w in adj[u]:
        if w not in Z and match.get(u) != w:
            Z.add(w)
            if w in match and match[w] not in Z:
                Z.add(match[w]); stack.append(match[w])
cover = sorted(set(L) - Z) + sorted({w for u in L for w in adj[u]} & Z)
print("matching", sorted((u, match[u]) for u in L if u in match), " cover", cover)
matching [('a', '1'), ('b', '2'), ('c', '3')]  cover ['a', '2', '3']

Exercise 9: Greedy vertex cover as set cover

Vertex cover is the special case of set cover where the elements are the edges and each vertex vv is the set of edges at vv. What ratio does the dual fitting analysis of greedy give in a graph of maximum degree Δ\Delta? Compare with threshold rounding.

Answer

HΔ≈ln⁡ΔH_\Delta \approx \ln \Delta. Threshold rounding of the LP gives 2, which is better once Δ≥4\Delta \ge 4 (H4=2512>2H_4 = \frac{25}{12} > 2).

Solution

The largest set has k=Δk = \Delta elements, so greedy (repeatedly pick the vertex with the smallest weight per newly covered edge) costs at most HΔ⋅LPH_\Delta \cdot \text{LP} (Dual Fitting). H1=1H_1 = 1, H2=32H_2 = \frac{3}{2}, H3=116<2H_3 = \frac{11}{6} < 2, H4=2512>2H_4 = \frac{25}{12} > 2. So for graphs of maximum degree at most 3, greedy has the better guarantee; beyond that, the threshold rounding bound 2 wins. (For unweighted vertex cover, taking both ends of a maximal matching also gives 2.)

Exercise 10: How many ellipsoid steps?

A convex set in R10\mathbb{R}^{10} lies in a ball of radius RR and, if non-empty, contains a ball of radius r=2−20Rr = 2^{-20} R. How many iterations of the ellipsoid method suffice to find a point or declare it empty?

Answer

⌈2⋅10⋅11⋅ln⁡220⌉=⌈220⋅13.863⌉=3050\lceil 2 \cdot 10 \cdot 11 \cdot \ln 2^{20} \rceil = \lceil 220 \cdot 13.863 \rceil = 3050.

Solution

The bound is K=⌈2n(n+1)ln⁡(R/r)⌉K = \lceil 2n(n+1) \ln(R/r) \rceil (The Ellipsoid Method). With n=10n = 10 and ln⁡(R/r)=20ln⁡2≈13.863\ln(R/r) = 20 \ln 2 \approx 13.863, K=⌈3049.8⌉=3050K = \lceil 3049.8 \rceil = 3050. The volume of the ellipsoid shrinks by at least e−1/22e^{-1/22} per step, so after 3050 steps it is below e−138.6≈2−200=(r/R)10e^{-138.6} \approx 2^{-200} = (r/R)^{10}, the volume ratio of the two balls.

Exercise 11: TU or not?

Which of these matrices are totally unimodular?

A1=(1100011000111001),A2=(1−111),A3=(110111011).A_1 = \begin{pmatrix} 1 & 1 & 0 & 0 \\ 0 & 1 & 1 & 0 \\ 0 & 0 & 1 & 1 \\ 1 & 0 & 0 & 1 \end{pmatrix}, \qquad A_2 = \begin{pmatrix} 1 & -1 \\ 1 & 1 \end{pmatrix}, \qquad A_3 = \begin{pmatrix} 1 & 1 & 0 \\ 1 & 1 & 1 \\ 0 & 1 & 1 \end{pmatrix}.
Answer

A1A_1: yes. A2A_2: no (det⁡A2=2\det A_2 = 2). A3A_3: yes (an interval matrix).

Solution

A1A_1 is the transpose of the incidence matrix of a 4-cycle (bipartite), so it is TU; in Ghouila-Houri form, give alternate rows of the cycle opposite signs (Bipartite, Network and Interval Matrices). A2A_2 has det⁡=1⋅1−(−1)⋅1=2\det = 1 \cdot 1 - (-1) \cdot 1 = 2. In A3A_3 every column has its ones in consecutive rows (column 1: rows 1-2, column 2: rows 1-3, column 3: rows 2-3), so the alternating signing of any row subset works and it is TU; its determinant is 1⋅0−1⋅1+0=−11 \cdot 0 - 1 \cdot 1 + 0 = -1.

Exercise 12: Odd cycles do not give gap 2

Compute the LP and integer optima of vertex cover on the odd cycle C2k+1C_{2k+1}. What does this family say about the integrality gap?

Answer

LP =2k+12= \frac{2k+1}{2}, IP =k+1= k + 1, ratio 2k+22k+1→1\frac{2k+2}{2k+1} \to 1. Odd cycles only show a gap of 43\frac{4}{3} (for the triangle); the gap 2 needs dense graphs such as KnK_n.

Solution

All-12\frac{1}{2} is feasible, and summing the 2k+12k+1 edge constraints gives 2∑vxv≥2k+12 \sum_v x_v \ge 2k + 1, so the LP optimum is exactly 2k+12\frac{2k+1}{2}. A cover of the cycle needs ⌈2k+12⌉=k+1\lceil \frac{2k+1}{2} \rceil = k + 1 vertices. The ratio 2(k+1)2k+1\frac{2(k+1)}{2k+1} is largest for k=1k = 1 (the triangle, 43\frac{4}{3}) and tends to 1. The lower bound 2 comes from complete graphs, where the LP is n2\frac{n}{2} and the optimum n−1n - 1 (Integrality Gaps).

Exercise 13: The triangle's SDP

Find the optimal max-cut SDP vectors for the triangle, the SDP value, and the expected cut of Goemans-Williamson rounding.

Answer

Three unit vectors in a plane at 120120 degrees; SDP =94= \frac{9}{4}; the expected cut is 3⋅23=23 \cdot \frac{2}{3} = 2, the maximum cut.

Solution

Each edge contributes 1−cos⁡120∘2=34\frac{1 - \cos 120^{\circ}}{2} = \frac{3}{4}, so the vectors give 94\frac{9}{4}. Optimality: λmax⁡\lambda_{\max} of the triangle's Laplacian is 3, so the dual yi=34y_i = \frac{3}{4} has value 94\frac{9}{4} (The Max-Cut SDP). Each edge is separated with probability 120180=23\frac{120}{180} = \frac{2}{3}, so E[cut]=2\mathbb{E}[\text{cut}] = 2; a line through the centre of an equilateral triangle always splits its vertices 1-2, so every rounding gives a cut of size 2.

python · try it yourself
import math
import numpy as np

V = np.array([[math.cos(2 * math.pi * k / 3), math.sin(2 * math.pi * k / 3)] for k in range(3)])
E = [(0, 1), (1, 2), (0, 2)]
sdp = sum((1 - float(V[u] @ V[v])) / 2 for u, v in E)
L = np.array([[2, -1, -1], [-1, 2, -1], [-1, -1, 2]], dtype=float)
lam = float(np.linalg.eigvalsh(L).max())
expected = sum(math.acos(float(V[u] @ V[v])) / math.pi for u, v in E)
print(f"SDP value {sdp:.4f}, dual value 3 * lambda_max / 4 = {3 * lam / 4:.4f}, expected GW cut {expected:.4f}")
SDP value 2.2500, dual value 3 * lambda_max / 4 = 2.2500, expected GW cut 2.0000

Exercise 14: Tuning the learning rate

MWU runs for T=10 000T = 10\,000 rounds over n=100n = 100 decisions with costs in [0,1][0, 1]. Which η\eta minimizes the regret bound, and what is the bound? How many rounds are needed for an average regret of at most 0.010.01?

Answer

η=ln⁡100/10 000≈0.0215\eta = \sqrt{\ln 100 / 10\,000} \approx 0.0215; regret at most 210 000ln⁡100≈429.22\sqrt{10\,000 \ln 100} \approx 429.2 (average 0.0430.043). For average regret 0.010.01: T≥4ln⁡100/0.012≈184 207T \ge 4 \ln 100 / 0.01^2 \approx 184\,207.

Solution

The bound ηT+ln⁡nη\eta T + \frac{\ln n}{\eta} is minimized at η=ln⁡n/T\eta = \sqrt{\ln n / T}, giving 2Tln⁡n2\sqrt{T \ln n} (The Multiplicative Weights Update Method). With ln⁡100≈4.6052\ln 100 \approx 4.6052: η≈0.02146\eta \approx 0.02146 and 246 052≈429.22\sqrt{46\,052} \approx 429.2. The average regret 2ln⁡n/T2\sqrt{\ln n / T} is at most ε\varepsilon when T≥4ln⁡n/ε2=4⋅4.6052/10−4≈184 207T \ge 4 \ln n / \varepsilon^2 = 4 \cdot 4.6052 / 10^{-4} \approx 184\,207.

Exercise 15: A game without a saddle point

The row player pays A=(101434)A = \begin{pmatrix} 1 & 0 \\ \frac{1}{4} & \frac{3}{4} \end{pmatrix}. Find both optimal mixed strategies and the value.

Answer

Row player: p=(13,23)p = (\frac{1}{3}, \frac{2}{3}). Column player: q=(12,12)q = (\frac{1}{2}, \frac{1}{2}). Value 12\frac{1}{2}.

Solution

There is no pure saddle point: the smallest row maximum is 34\frac{3}{4} and the largest column minimum is 14\frac{1}{4}. In a 2×22 \times 2 game without a saddle point, each optimal strategy makes the opponent indifferent. For the row player: p⋅1+(1−p)⋅14=p⋅0+(1−p)⋅34p \cdot 1 + (1 - p) \cdot \frac{1}{4} = p \cdot 0 + (1 - p) \cdot \frac{3}{4}, so 32p=12\frac{3}{2} p = \frac{1}{2} and p=13p = \frac{1}{3}; the payment is 13+23⋅14=12\frac{1}{3} + \frac{2}{3} \cdot \frac{1}{4} = \frac{1}{2}. For the column player: q=14q+34(1−q)q = \frac{1}{4} q + \frac{3}{4}(1 - q) gives q=12q = \frac{1}{2}, and both rows then cost 12\frac{1}{2}. Equal guarantees prove optimality (Zero-Sum Games and the Minimax Theorem).

Test yourself

You have feasible xx and yy with cTx=bTyc^T x = b^T y for a primal-dual pair. What follows?

  1. Nothing without a solver
  2. Both are optimal (weak duality)
  3. Only xx is optimal
  4. The LP is degenerate

Which property guarantees integral optimal vertices for every integral right-hand side?

  1. A non-singular constraint matrix
  2. A totally unimodular constraint matrix
  3. A positive semidefinite constraint matrix
  4. Non-negative costs

What is the Goemans-Williamson guarantee for max-cut?

  1. 12\frac{1}{2}
  2. An expected cut of at least 0.878⋅maxcut⁡0.878 \cdot \operatorname{maxcut}
  3. An optimal cut
  4. 1−1e1 - \frac{1}{e}