@murphykate Hi, try, if you want, to download this zipped folder inside Pythonista: it has a routine to perform linear programming with scipy (the example solved is the one you find here).
To download this zipped folder run the following script:
#!python2 import urllib url = "https://drive.google.com/uc?export=download&id=1aOdWBReejAk0imtVVHjUMHFui1SmRWVp" filename = "Linear Programming with scipy.zip" urllib.urlretrieve(url, filename)Extract the zipped folder touching on it: Pythonista will let you to extract it.
Install websocket-client with StaSh.
Then run the script 'main.py' inside the extracted folder.
It should return the same output of the example solved in the above link.
@technoway Hi, I think numpy has no a set of routines for linear programming, but I'm not sure. It is ok for linear algebra but not for any kind optimization (it needs scipy or other tools).
Bye