How to solve linear programming problems