I am trying to solve a simple simplex tableau using the python library scipy.
c = [7, 9, 18, 17]
A = [
[2, 4, 5, 7],
[ 1, 1, 2, 2],
[ 1, 2, 3, 3]
]
b = [42, 17, 24]
from scipy.optimize import linprog
print(linprog(c, A, b, method='simplex'))
According to this course from the University Le Havre where this example tableau was used to introduce the simplex method, I should be getting [3,0,7,0] for the variables and 147 for the minimized function.
Instead, I get [0,0,0,0] and 0.