Inner point methods: On necessary optimality conditions of various reformulations of a constrained optimization problem