We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Pivot Row Review

Instead of something reasonable like:

# profit -5x - y = 0
# x <= 250
# y <= 200
# x + y <= 300

ss = SimplexSolver([-5, -1])
ss.add_constraint([1, 0], 250)
ss.add_constraint([0, 1], 200)
ss.add_constraint([1, 1], 300)

What if we tried to solve a problem that had no constraints?

# profit -2x - 3y = 0
# no constraints

ss = SimplexSolver([-2, -3])