The Primal-Dual Correspondence Table
Use the primal-dual correspondence table to systematically translate any primal LP (with mixed constraint types and mixed variable sign restrictions) into its dual LP.
Tutorial
The Correspondence Table for a Max Primal
Every primal LP has a corresponding dual LP. When the primal has mixed constraint types () and mixed variable sign restrictions, the primal-dual correspondence table tells us, line by line, the form of the dual.
For a maximization primal with constraints indexed and variables indexed the correspondence is:
The top half maps primal constraints to dual variables. The bottom half maps primal variables to dual constraints.
A helpful pattern: for a max primal in canonical form (all constraints all variables ), every dual variable is and every dual constraint is Any deviation from canonical on the primal side relaxes (to free/equality) or reverses (to the opposite sign) the corresponding dual restriction.