Friday, April 8, 2016

Small LP, wrong solution

 

From http://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.optimize.linprog.html:

image

This does not look right at all.

Note: looks like this is fixed in newer versions. My python system also seems to do the right thing:

image