Suppose there are only two risky assets and we want to optimize our portfolio. Constraints are that we have a minimum return $\overline{r}$ and we can only invest $w_1 + w_2 = 1$.
Is it possible that in this setting the constraint $w_1 \times r_1 + (1-w_1) \times r_2 = \overline{r}$ always solves the problem or am I doing something wrong here?
I tried to set it up with Lagrangian: The constraint with $\lambda$ always provides me directly with the solution.
But how is that? I mean it seems strange that the solution is completely independent of the variance and covariance.