List

Math Tools

Login

Simplex Algorithm

Input

pivot search: most negative
algorithm: default
max f(x) = 3 x1 + 5 x2 + 4 x3
R1: 2 x1 + 3 x2 + 0 x3 ≤ 8
R2: 0 x1 + 2 x2 + 5 x3 ≤ 10
R3: 3 x1 + 2 x2 + 4 x3 ≤ 15
x1, x2, x3 ∈ ℚ

Initial Table

x1x2x3x4x5x6b
z-3-5-40000
x423010088/3
x5025010105
x63240011515/2

Rx4 / 3 → Rx2
Rx5 + (-2/3) · Rx4 → Rx5
Rx6 + (-2/3) · Rx4 → Rx6

Iteration 1

x1x2x3x4x5x6b
z1/30-45/30040/3
x22/3101/3008/3inf
x5-4/305-2/31014/314/15
x65/304-2/30129/329/12

Rx2 + 0 · Rx5 → Rx2
Rx5 / 5 → Rx3
Rx6 + (-4/5) · Rx5 → Rx6

Iteration 2

x1x2x3x4x5x6b
z-11/150017/154/50256/15
x22/3101/3008/34
x3-4/1501-2/151/5014/15inf
x641/1500-2/15-4/5189/1589/41

Rx2 + (-10/41) · Rx6 → Rx2
Rx3 + 4/41 · Rx6 → Rx3
Rx6 / 41/15 → Rx1

Iteration 3

x1x2x3x4x5x6b
z00045/4124/4111/41765/41
x201015/418/41-10/4150/41
x3001-6/415/414/4162/41
x1100-2/41-12/4115/4189/41

Solution

f(x*)765/41
x*189/41
x*250/41
x*362/41
x*40
x*50
x*60

Maximum

CapΔf(x)Δx1Δx2Δx3
R145/4145/41-2/4115/41-6/41
R224/4124/41-12/418/415/41
R311/4111/4115/41-10/414/41

Minimum

FloorΔf(x)Δx1Δx2Δx3
x100000
x200000
x300000

Economic Interpretation

89/41 item x1, 50/41 item x2, and 62/41 item x3 should be produced and sold to achieve a value of 18.66 monetary units.

For an additional unit of x4, a maximum of 1.10 monetary units should be spent. This increases the amount of x1 items produced by -2/41 units, x2 items produced by 15/41 units, and x3 items produced by -6/41 units.

For an additional unit of x5, a maximum of 0.59 monetary units should be spent. This increases the amount of x1 items produced by -12/41 units, x2 items produced by 8/41 units, and x3 items produced by 5/41 units.

For an additional unit of x6, a maximum of 0.27 monetary units should be spent. This increases the amount of x1 items produced by 15/41 units, x2 items produced by -10/41 units, and x3 items produced by 4/41 units.

No additional units of x1 should be produced and sold.

No additional units of x2 should be produced and sold.

No additional units of x3 should be produced and sold.