

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Linear Programming
incomplete
2: Profit Function
incomplete
3: Contour Lines
incomplete
4: Simplex Algorithm
incomplete
5: Simplex Algorithm for Solving LP Problems
incomplete
6: Tableau Review
incomplete
7: Simplex Tableau – Slack Variables
incomplete
8: Simplex Tableau – Slack Variables
incomplete
9: Simplex Tableau – Basic Variables and the Solution
incomplete
10: Tableau Solution
incomplete
11: Pivoting the Tableau – When to Stop
incomplete
12: Finding the Pivot Column
incomplete
13: Finding the Pivot Row
incomplete
14: Pivot Row Review
incomplete
15: The Pivot Operation
incomplete
16: Pivot Review
incomplete
17: Solving the Whole Simplex
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
-5x - y + profit = 0
1x + 0y <= 250
0x + 1y <= 200
1x + 1y <= 300
became
x y s1 s2 s3 constraint
[1.0, 0.0, 1.0, 0.0, 0.0, 250.0]
[0.0, 1.0, 0.0, 1.0, 0.0, 200.0]
[1.0, 1.0, 0.0, 0.0, 1.0, 300.0]
[-5.0, -1.0, 0.0, 0.0, 0.0, 0.0]
The tableau is useful due to its two kinds of variables, basic and non-basic. In the tableau's current initial state, all the slack variables, s1, s2, and s3 are basic. x and y are non-basic.
In a simplex tableau, a variable is basic if there's only one nonzero value in its column and that value is exactly 1.
For any given simplex tableau, there's an associated solution to the system of equations: just set all the non-basic variables to zero and compute the values of the basic variables. For the tableau above the associated solution is:
x = 0
y = 0
s1 = 250
s2 = 200
s3 = 300
As you can probably tell, this isn't the optimal solution to our problem. This is just the initial state of the tableau; it represents the point (0, 0) on our graph, which is the starting point, not the final vertex.