Constrained optimization minimizes or maximizes subject to restrictions on the design variables .
General Form
- equality constraints
- inequality constraints
Linear Programming
Linear programming is constrained optimization where the objective function and every constraint are linear.
Standard Form
Objective function
Constraints
The constraint may use in place of .
Graphical Solution
For 2 design variables:
- Plot each constraint as a boundary line.
- Shade the feasible region satisfying every constraint.
- Move the objective-function line across the feasible region.
- Evaluate the objective function at each vertex of the feasible region.
The optimum occurs at a vertex of the feasible region.
Worked Examples
Example 1
Minimize subject to and . Then repeat with in place of .
Solution Reveal Hide
In the general form, with .
The equality gives .
With
satisfies the inequality, so the constraint is inactive.
With
The unconstrained optimum violates the inequality. increases for , so the optimum lies on the boundary and the constraint is active.
Example 2
A factory produces heaters of types and , sold wholesale at $40 and $88 respectively. Machine needs 2 minutes per heater and 8 minutes per heater. Machine needs 5 minutes per heater and 2 minutes per heater. Both machines run 60 minutes per hour. Find the hourly production rates () and () maximizing hourly revenue.
Solution Reveal Hide
Objective function
Constraints
The constraint intersections in the first quadrant are , , and .
| Vertex | Revenue |
|---|---|
The optimum is .
Example 3
Maximize subject to , , .
Solution Reveal Hide
The feasible region has vertices , , and .
| Vertex | |
|---|---|
The maximum is at .