In this paper, we investigate optimal control problems governed by semilinear elliptic variational inequalities involving constraints on the state, and more precisely obstacle problem. Since adopt a numerical point of view, first relax feasible domain problem, then using both mathematical programming methods penalization get optimality conditions with smooth Lagrange multipliers. Some experimen...