Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL
D |
|---|
Duality TheoryDuality theory establishes that every linear programming problem (the primal) has an associated dual problem. The optimal value of the primal equals the optimal value of the dual (strong duality theorem). If the primal is: maximize c^T x subject to Ax ≤ b, x ≥ 0, then the dual is: minimize b^T y subject to A^T y ≥ c, y ≥ 0. Duality provides economic interpretations (shadow prices), bounds on optimal values, and alternative solution methods. Complementary slackness conditions link primal and dual optimal solutions. | |
Dynamic Programming (DP)Dynamic Programming is a method for solving complex problems by breaking them down into simpler overlapping subproblems. The approach is applicable when the problem exhibits: (1) Optimal substructure - optimal solution contains optimal solutions to subproblems; (2) Overlapping subproblems - same subproblems are solved multiple times. DP stores solutions to subproblems (memoization) to avoid redundant computation. Key applications include: shortest path problems, resource allocation, inventory management, production planning, and the knapsack problem. The Bellman equation characterizes optimal solutions recursively. | |