Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 38 6 a Solution Created 2026-10-03 Updated 2026-10-06
Apply positive affine payoff transformations, if necessary, so both payoff matrices have strictly positive entries. Such transformations preserve best responses and Nash equilibria. The Lemke-Howson algorithm uses unnormalized nonnegative strategy vectors and slack variables satisfyingThus its two polytopes are and . A label occurs when or ; a label occurs when or . The complementary pivoting path drops one label from the artificial zero pair and resolves each duplicated label until all labels return.
Terminate at a completely labelled pair other than the artificial zero pair. This is equivalent to complementary slacknessA nonzero completely labelled pair has both vectors nonzero: if , then forces , and the converse is analogous. Normalize to mixed strategiesThe inequalities imply that every row payoff against is at most , with equality on every row receiving positive probability in . Thus is a best response to . Likewise is a best response to using . Hence is a Nash equilibrium. Nondegeneracy of a bimatrix game ensures the usual complementary pivoting path has a unique continuation after the label choice.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 38 6 c Solution Created 2026-10-03 Updated 2026-10-06
Row operations multiply each original tableau equation by an invertible matrix. The slack variable block therefore records that matrix and allows the original payoff matrix to be recovered without guessing.
From the first tableau, let be the coefficient block of and that of . Since its original equations were , we have . HeresoFor the second tableau, writing its and blocks as , the original equations give . We obtainThus a representative pair of payoff matrices isBoth reconstructed right-hand sides are , as a check on the tableau normalization. Independent transformations , , with , preserve best responses and hence identify the same strategic solution up to positive affine payoff transformations.
Directly,The supports of and lie entirely among their respective best-response coordinates, confirming the Nash equilibrium found above. Since this representative is a symmetric bimatrix game, swapping the players' strategies preserves the Nash equilibrium conditions. Explicitly, is maximized on the support of , and is maximized on the support of . Therefore
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 2 9H Solution Created 2026-09-24 Updated 2026-10-06
Introduce nonnegative slack variables and start the simplex algorithm at , with slacks . The objective's largest positive entering coefficient belongs to . Its ratio test is , , , so leaves and enters.
Solve that pivot row for and substitute into the other rows and the objective :This is a feasible simplex dictionary at nonbasic variables . All their objective coefficients are negative, so no feasible increase can improve the objective. ThusThe negative reduced coefficients also prove uniqueness of this optimum.
The dual linear program, with nonnegative variables , isThe feasible choice has objective . Weak duality proves that it and the primal point are optimal. Complementary slackness also forces because the first two primal slacks are positive, and then the positive forces .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 212 1 Solution Created 2026-10-03 Updated 2026-10-06
Introduce integer-valued slack variables and . Write . The initial simplex dictionary isIn the simplex algorithm, let enter. The first constraint is the only limiting one, so leaves at . Substitution givesNow enters and leaves: its ratio is smaller than the first row's ratio . The resulting simplex dictionary isAll nonbasic objective coefficients are nonpositive, and the basic values are nonnegative. Thus the continuous linear program has optimum
For integer programming, a row with integer variables yields the Gomory fractional cut , where is the fractional part. In the first row, the coefficient of on the left is , whose fractional part is , not . The two possible initial Gomory fractional cuts are thereforeIndeed . Choose the second row: implies , so its cut removes a strictly larger portion of the feasible polygon. This compares both printed alternatives before any further integer rounding.
Use the normalized integer slack variable , rather than an unnecessarily scaled cut slack. At the current basis,The simplex dictionary is dual feasible but primal infeasible. In the dual simplex algorithm, leaves; the ratios of objective loss to improvement of this negative basic value are for and for , so enters. The pivot givesThe relaxed optimum is now , still nonintegral. The fractional row gives the next Gomory fractional cutThe negative left-hand coefficient of also has fractional part . Normalize the new integer slack variable as . Its dictionary row is . The dual simplex algorithm chooses to enter: its ratio is , compared with for . Substitution givesSetting the nonbasic to zero gives a feasible integer solution. The final objective row bounds every point in the cut relaxation by , so the integer optimum isBoth cuts are valid for every original integer feasible point, making this also a certificate for the original integer program.
For a maximization problem with unpriced unit slack variables, their columns in a final simplex tableau give , where consists of the original basic columns. The constraint right side is , so . If the objective row uses reduced costs , its slack entries are with . Therefore . In a homogeneous linear objective with no constant offset, the displayed basic objective value must equal . This identity detects inconsistent tableau constants; an affine offset affects the value but not the reduced costs.
Second-order-cone optimality certificate 2026-10-14
A curved feasible set can have the same certificate structure. ConsiderWrite and use the second-order cone . In this coordinate ordering,Self-duality of a second-order cone makes . The equality forces and , leaving . Its dual objective function is , maximized at . Thus every feasible point satisfies , and attains that bound: .
A curved primal constraint and an interval of dual certificates
. The left panel is the slice of the second-order cone, so its boundary is . The right panel is the dual slice , : admissible form , and reaches at . The optimal slack variable and dual variable lie on different cone boundary rays with zero dot product. Details.The zero dot product is . Individual coordinate products need not be nonnegative here: the cancellation occurs across coordinates. The valid complementary slackness condition is cone-level orthogonality, rather than the coordinatewise interpretation of the nonnegative orthant.
If a variable gains an objective coefficient , the new objective is . Substitute this in the old canonical objective equation and eliminate any remaining basic-column coefficients using the constraint rows. If is nonbasic, this simply subtracts from its objective-row coefficient. When a slack variable is sold, rename the old slack as the sales quantity; its equation already gives the correct equality and no new slack is added. Reoptimization can then start directly from the altered simplex tableau.
Standard maximum form of a linear program 2026-10-24
This convention for standard maximum form of a linear program requires a maximizing linear function, upper-bound linear inequalities, and nonnegative variables. An unrestricted variable becomes the difference of two nonnegative variables; a lower-bound inequality changes sign. The corresponding dual linear program is . Adding nonnegative slack variables instead gives the equivalent equality-constraint standard form. Since standard-form terminology varies, state the chosen convention.
Surplus variable 2026-10-14
A surplus variable converts a lower-bound inequality into , with . This is the lower-bound counterpart of a slack variable. When the original coefficients, right-hand side and decision variables are integer, the surplus variable is integer as well; that fact permits it to appear in an all-integer Gomory fractional cut row.
