Optimality Conditions and Simplex Tableau