BUG: optimize/linprog: fix bug in argument checking
BUG: optimize/linprog: fix issues in simple bounds specification
ENH: optimize/lingprog: raise ValueError on invalid input, rather than returning with error code