Simplex method - Step 5 - Perform optimality test