Introduction to Linear Programming for Engineering Optimization

What is Linear Programming?

Definition

Linear programming (LP) is a mathematical optimization technique to achieve the best outcome (e.g., maximum profit or minimum cost) in a model defined by linear relationships. It is a cornerstone of operations research and convex optimization.

History of Linear Programming

Brief History of LP

Why It Matters

LP’s ability to solve complex, real-world problems efficiently has made it a foundational tool in engineering and beyond.

Key Components of LP

Example:

A factory produces chairs (\(x_1\)) and tables (\(x_2\)). Maximize profit \(Z = 3x_1 + 5x_2\) subject to: \[\begin{aligned} 2x_1 + 4x_2 &\leq 100 \quad (\text{labor hours}), \\ x_1 + 3x_2 &\leq 90 \quad (\text{material units}), \\ x_1, x_2 &\geq 0. \end{aligned}\]

Visualizing the Feasible Region

Feasible Region in LP Problem
Visualizing the Feasible Region in LP Problem

Interpretation

The shaded area is the feasible region. The optimal solution occurs at a vertex, here at \((x_1, x_2) = (10, 20)\), yielding \(Z = 3 \cdot 10 + 5 \cdot 20 = 130\).

Importance of Linear Programming

Why is Linear Programming Important?

Applications of Linear Programming

Applications in Engineering Optimization

Broader Applications

Mathematical Formulation

Standard LP Formulation

Canonical Form

\[\begin{aligned} \text{Maximize } & Z = \mathbf{c}^T\mathbf{x} \\ \text{Subject to } & A\mathbf{x} \leq \mathbf{b} \\ & \mathbf{x} \geq \mathbf{0} \end{aligned}\] Where:

  • \(\mathbf{x}\): Vector of decision variables.

  • \(\mathbf{c}\): Coefficients of the objective function.

  • \(A\): Constraint coefficient matrix.

  • \(\mathbf{b}\): Right-hand side of constraints.

For the factory example:

\[\begin{aligned} \text{Maximize } & Z = 3x_1 + 5x_2 \\ \text{Subject to } & \begin{bmatrix} 2 & 4 \\ 1 & 3 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} \leq \begin{bmatrix} 100 \\ 90 \end{bmatrix}, \\ & x_1, x_2 \geq 0. \end{aligned}\]

Summary

Key Takeaways

Next Steps

Next lecture: Explore the Simplex Method, duality, and solving LP problems computationally.