Linear Programming
Big idea: How to model resource limits as linear inequalities and find the optimal profit or cost at corner points.
Big picture flow
- 01Define Decision Variables x, y
- 02Write Objective Z & Constraints
- 03Plot Lines & Origin Shading
- 04Find Corner Points (Vertices)
- 05Test Z at All Corners
1LPP components and formulation
Write variables, Z (Max/Min), ≤ or ≥ constraints, and x ≥ 0, y ≥ 0.
Trick: Decision variables = What you choose; Objective = What you chase (Max profit / Min cost); Constraints = Rules you obey.
2Convex sets and feasible region
Feasible region is always convex, and optimum Z sits at a corner vertex.
Trick: Think of a balloon vs a crescent: a straight string between any two dots stays inside a convex set.
3Graphical corner point method
Plot intercepts, check (0, 0) for shading, solve corners, evaluate Z.
Trick: 4 steps: Lines by intercepts -> Shade common region -> Solve corners -> Test Z at corners.
4Optimal and special cases
Two tied corners give infinite solutions on that edge; unbounded regions can lack a finite max.
Trick: Tie at two corners = whole edge wins; Open-top region = Max runs away to infinity.
Key terms glossary
- Decision Variables:
- Non-negative unknown quantities (x, y) whose optimal values are to be determined.
- Objective Function:
- Linear expression Z = ax + by to be maximized (profit) or minimized (cost).
- Convex Set:
- Set of points where the straight line segment joining any two points lies entirely inside it.
- Feasible Region:
- Common shaded region satisfying all structural constraints and non-negativity rules (x ≥ 0, y ≥ 0).
- Optimal Solution:
- Feasible point (x*, y*) that achieves the maximum or minimum value of the objective function Z.
- Unbounded Region:
- Feasible region extending infinitely outward, where a finite maximum may not exist.