No linear program is SOLVED here. Duality is a certificate: a feasible
primal and dual with equal objectives are optimal, and gap is
otherwise the exact distance from optimality. Complementary slackness
is reported per constraint and per variable.
Value
List with dual_A, dual_b, dual_c,
primal_objective, dual_objective, gap,
primal_feasible, dual_feasible, optimal,
slack, surplus, cs_constraint,
cs_variable, m, n.
Details
Formula: primal max c'x s.t. A x <= b, x >= 0; dual min b'y s.t. A'y >= c, y >= 0; weak duality c'x <= b'y
References
von Neumann, J. (1947), Discussion of a maximum problem, Institute for Advanced Study, reprinted in Collected Works VI, 89-95 – the first statement of linear programming duality. Gale, Kuhn & Tucker (1951), Linear programming and the theory of games, 317-329, for the first published proof.
