Linear
Programming
Learn how businesses use mathematical optimization to maximize profit and minimize cost under real-world constraints.
What Is Linear Programming?
Linear programming (LP) is a mathematical method for finding the best outcome in a model whose requirements are expressed as linear relationships. It is one of the most widely used tools in business analytics and operations research.
Three Key Components of LP
Why LP Matters in Business
Every business faces the same challenge: limited resources, unlimited wants. Linear programming provides a systematic way to allocate scarce resources optimally.
The Standard Form of an LP
Where \( x_1, x_2, \ldots, x_n \) are decision variables, \( c_i \) are profit/cost coefficients, \( a_{ij} \) are resource usage rates, and \( b_i \) are resource limits. The last line is the non-negativity constraint.
The Feasible Region
The Corner Point Theorem
This theorem is the foundation of the graphical method. Instead of testing infinitely many points, you only need to evaluate the objective function at each corner point and pick the best one.
Maximize vs Minimize
| Maximization | Minimization | |
|---|---|---|
| Goal | Largest value of \( Z \) | Smallest value of \( Z \) |
| Typical use | Profit, revenue, output | Cost, waste, time |
| Constraint type | \( \leq \) (resource limits) | \( \geq \) (minimum requirements) |
| Optimal location | Corner with the highest \( Z \) value | Corner with the lowest \( Z \) value |
| Method | Same: evaluate all corner points | |
How to Formulate an LP
Example 1: Furniture Company
A furniture company makes tables (\( x_1 \)) and chairs (\( x_2 \)). Each table earns $40 profit and each chair earns $30. Resources per unit:
| Resource | Table (\( x_1 \)) | Chair (\( x_2 \)) | Available |
|---|---|---|---|
| Assembly (hrs) | 2 | 1 | 16 |
| Finishing (hrs) | 1 | 2 | 14 |
Example 1: Graphical Solution
Example 2: Bakery Problem
A bakery makes cakes (\( x_1 \)) and pies (\( x_2 \)). Each cake costs $10 to make and each pie costs $5. The bakery must fill at least 20 orders and use at least 60 lbs of flour.
| Requirement | Cake (\( x_1 \)) | Pie (\( x_2 \)) | Minimum |
|---|---|---|---|
| Orders | 1 | 1 | 20 |
| Flour (lbs) | 4 | 2 | 60 |
Example 2: Minimization Solution
Special Cases in LP
Common Mistakes
LP Summary
| Component | What It Is | Example |
|---|---|---|
| Decision Variables | Quantities you control | \( x_1 \) = tables, \( x_2 \) = chairs |
| Objective Function | What to optimize | \( Z = 40x_1 + 30x_2 \) |
| Constraints | Resource limitations | \( 2x_1 + x_2 \leq 16 \) |
| Feasible Region | All valid solutions | Shaded polygon on graph |
| Optimal Solution | Best corner point | \( (6, 4) \) with \( Z = 360 \) |
Question 1 of 5
In a linear programming problem, the objective function represents:
Question 2 of 5
According to the Corner Point Theorem, where does the optimal solution of an LP occur?
Question 3 of 5
A company maximizes \( Z = 5x_1 + 8x_2 \). The corner points of its feasible region are (0, 0), (6, 0), (4, 3), and (0, 5). What is the maximum value of \( Z \)?
Question 4 of 5
A factory requires at least 100 units of output. Which inequality correctly represents this constraint if \( x_1 \) and \( x_2 \) are the units produced?
Question 5 of 5
If no set of values for the decision variables satisfies all the constraints simultaneously, the LP problem is said to be: