JMU
Linear Programming
A Brute Force Approach


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Background
Background (cont.)
Background (cont.)
Linear Programming/Optimization
Some Terminology
An Example with Two Decision Variables
Visualizing Problems with Two Decision Variables
Visualizing (cont.)

Level Sets of the Objective Function

images/linear-program_level-sets.gif
Visualizing (cont.)

Functional Constraints

images/linear-program_constraints.gif
Visualizing (cont.)

Solution

images/linear-program_solution.gif
The Simplex Algorithm
The Simplex Algorithm (cont.)
A Brute Force Algorithm
What's Left to the Brute Force Approach?