hoytak / pylpsolve

PyLPSolve is an object oriented wrapper for the open source LP solver `lpsolve`_. The focus is on usability and integration with existing python packages used for scientific programming (i.e. numpy and scipy).
http://www.stat.washington.edu/code/pylpsolve
GNU Lesser General Public License v2.1
15 stars 10 forks source link

Raise when an unknown solution error code is returned. #2

Closed rwe closed 8 years ago

rwe commented 9 years ago

To my knowledge the given codes are possibly comprehensive for solve; however lpsolve.h defines several other error codes and silently falling through seems like a dangerous default.