math/lp_solve fixed