Assignment dual potentials 2026-10-06
These feasible potentials give the lower bound on every assignment cost. An assignment using only equality edges attains this bound and is optimal by weak duality and complementary slackness.
Constrained-penalized equivalence for total variation denoising Created 2026-10-06 Updated 2026-10-07
For finite convex total variation and a positive squared-error budget, the Slater condition supplies a multiplier such that every constrained minimizer also minimizes . Conversely, a minimizer of that penalized objective with minimizes total variation under the budget equal to its own squared error. Complementary slackness proves the first implication; a comparison of objective values proves the second. This does not assert uniqueness of the multiplier or equality of all minimizer sets when .
Network reduced cost 2026-10-06
With the tail-positive incidence convention, a network edge's reduced cost is . For uncapacitated minimum-cost flow, dual feasibility requires and complementary slackness requires . A negative non-tree reduced cost identifies an improving graph cycle pivot in the network simplex algorithm. This sign convention differs from the row-column potentials of a transportation problem.
Optimization Lagrangian 2026-10-06
For a minimization problem with and , the optimization Lagrangian is with and unrestricted equality Lagrange multipliers. Its infimum over the original variable domain gives a dual lower bound. For a maximization problem, use to obtain upper bounds. The Lagrangian sufficiency theorem combines a global extremum of this function with feasibility and complementary slackness. This is distinct from a Lagrangian density in variational physics.
Past exam of the mathematics course of the University of Cambridge 2003 ib Paper 4 5H Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 1 8D Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 2 9D Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 3 20D b Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2006 ib Paper 1 8C Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 3 20C Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 42 1 a Solution Created 2026-10-03 Updated 2026-10-07
For a minimization problem on a domain , write the equality constraints as and the inequality constraints as . Define the optimization LagrangianThe Lagrangian sufficiency theorem states that a feasible is globally optimal if it globally minimizes on for some multipliers with and satisfies complementary slackness, for every . Equality multipliers have unrestricted signs.
For any feasible , the multiplier sign gives . Feasibility and complementary slackness at give . HenceThis proves sufficiency. Global Lagrangian minimization, rather than stationarity alone, is the certificate. No convexity or constraint qualification is needed for this implication; convexity is one way to verify the required global minimum.
Past exam of the mathematics course of the University of Cambridge 2013 ib Paper 4 20H Solution Created 2026-09-24 Updated 2026-10-07
Write the top row as . The bottom row is then , and nonnegativity becomesThe feasible set is a hexagon in this plane. Its six vertices, hence all basic feasible solutions of this transportation problem, areThere are four independent constraints; each displayed support consists of four cells forming a transportation spanning tree, so each is a nondegenerate basic solution. Conversely, a basic feasible solution is a vertex, so the hexagon enumeration is exhaustive.
For any feasible , the proposed dual inequalities giveIf equality holds on every cell with , this last quantity equals . Hence for every feasible . This is weak duality with complementary slackness.
The Northwest corner method first allocates three units to , then two to , one to and four to :Choose , , . Equality holds on its four occupied cells. The other inequalities are and . Thus implies that minimizes .
The last printed clause changes from minimization to maximization. To answer that wording, use the transportation simplex algorithm for maximization, equivalently minimize the negative costs. There are only two possible entering cells at :
- Entering increases and by , and decreases and by . The maximal feasible step is , reaching and increasing by .
- Entering increases and , and decreases and . Here , reaching and changing by .
Put . On the feasible hexagon,If , this expression is maximized by taking , so is a global maximizer. If , the feasible vertex has objective larger than , so is not a maximizer. Nor can ever be one: comparison with requires , while comparison with the vertex requires . Therefore one pivot to a maximizer is possible exactly when , by entering . Its reduced cost for maximization is ; the other reduced cost is , so the improving pivot is unambiguous.
If “transportation algorithm” is required to retain the preceding minimization objective, no such step can reach a maximizer: every minimizing step is nonincreasing, whereas the feasible point always has . If the final word was intended to be “minimizes”, the corresponding genuinely improving one-pivot condition would instead be ; at , is already optimal and a zero-cost pivot is possible. These distinctions preserve the printed maximization request without silently altering it.