I have a doubt regarding a constrained optimisation problem.
Suppose my original constrained minimisation problem is $$ \min_x f(g(x), x) \quad \text{ s.t. }\quad g(x)=3 $$ I would like to know if this equivalent to solving the unconstrained minimisation problem $$ \min_x f(3, x) $$ If not, when are these two problems equivalent?