The two phase simplex method is used to solve linear programming problems. Phase I creates an artificial objective function to find a basic feasible solution. If the minimum is zero, a basic feasible solution exists and phase II begins. Phase II uses the original objective function and tableau from phase I to find an optimal solution. The example problem is solved using this two phase method, with phase I minimizing artificial variables to find a basic feasible solution, then phase II optimizing the original objective function.