I had an exam question today and want to check if my answer is right or if there was a mistake...
Consider the following convex optimisation problem:
$$\begin{array}{ll} \text{minimize} & - \ln(1+x_1)- \ln(\frac{3}{2}+x_2)- \ln(4+x_3)\\ \text{subject to} & x_1+x_2+x_3=1\\ & x_1, x_2, x_3\geq0\end{array}$$
I got that the dual has optimal solution $\lambda =\frac{2}{5}$ and $x=(\frac{3}{2},1, -\frac{3}{2})$. However, obviously, the third variable violates its constraint. I'm thinking either I got the answer wrong or the question was wrong! Can someone help me here?
Question is correct but your answer is not! If you put more detail here about your solution I can explain why you got wrong answer. Anyway here it is my guess about your solution:
The problem is a convex optimization over compact constraint, and slater CQ holds therefore, $x^* $ is an optimal solution iff $x^*$ is KKT point. so if you set up KKT sys, you get a simple system of non linear equations and inequalities including the primal inequality i.e., $x=(x_1,x_2,x_3) \ge 0$. So if you have taken into account the later inequality you should have came up right answer which satisfies non-negativity condition! I bet you didn't consider this condition....