Solver for linear programming problems