Construct the full dual, check feasibility of x=(1,3), y=(1,1), and certify both optimal by zero gap.
Fixed maximize/≤/nonnegative convention; weak duality and supplied points only, not general strong duality from a finite grid.
Givens and symbols
algebra
lp_form
G1 — A=[[1,1],[2,1]], b=(4,5), c=(3,2); primal max c^T*x with A*x≤b,x≥0; x=(1,3), y=(1,1).
g(x,y) — candidate-dependent gap
u,v — arbitrary feasible comparison points
Rules and sources
mko_definition · cited — Qualify the exact rational m-by-n matrix A and matching b,c. The dual variable has m components and A^T*y≥c has n constraints. For a feasible primal point x and dual point y verify c^T*x≤y^T*A*x≤b^T*y. If both are feasible and the objective values agree, weak duality certifies both points optimal. Equality without both feasibility checks is insufficient. A finite grid does not prove general strong duality or settle infeasible/unbounded cases. General finite-dimensional LP strong duality remains a separately stated theorem, not the result of these finite candidate checks. · mko-linear-program-duality
algebra · prerequisite — Use real-field identities; division requires a nonzero denominator and multiplication by a positive number preserves inequalities.
lp_form · prerequisite — Fix the primal as maximize c^T*x subject to A*x≤b,x≥0; its slack equality form is A*x+s=b,x,s≥0 with s=b-A*x; the dual minimizes b^T*y subject to A^T*y≥c,y≥0.
S01 · premise_audit · G1 — Check dimensions and transpose direction before treating y as a dual candidate.
Error controls and negative controls
Both feasibility gates
First check x≥0,A*x≤b,y≥0,A^T*y≥c.
Weak bound before zero gap
A bound against every feasible comparison point promotes equality to optimality.
Equal objectives certify optimality even for infeasible points. → reject — The weak bound requires feasibility on both sides; infeasible points do not qualify.
A finite-grid equality proves general strong duality. → reject — It certifies these feasible points, not existence for every LP.
The candidate gap depends only on A,b,c. → reject — The expression b^T*y-c^T*x also depends on candidate x,y.
Result and limitations
x=(1,3) is primal-optimal and y=(1,1) dual-optimal with common value 9, certified by weak duality and zero gap.
Verification and source binding
2 declared checks for this guide; only the listed expressions are covered.