I have a simple optmization problem, I just want to see how to do it using Karush-Kuhn-Tucker to understand it better.
$$\max_{x, y} x^2+xy+y^2$$ subject to: $$x < y \leq 1$$
I have a simple optmization problem, I just want to see how to do it using Karush-Kuhn-Tucker to understand it better.
$$\max_{x, y} x^2+xy+y^2$$ subject to: $$x < y \leq 1$$
Hint: Try solving $\max_{x\leq1,y\leq1}x^2+xy+y^2$ and pick solutions that satisfy $x
If the constraint is $0\leq x If the constraint is $0\leq x\leq y\leq1$, then the KKT approach is to split this series of inequalities into constraints that can be written in terms of $g_{i}(x,y)\leq c$ where $g_{i}:\mathbb{R}^{2}\rightarrow\mathbb{R}$. That is, into five constraints $-x\leq0$, $x\leq1$, $-y\leq0$, $y\leq1$ and $x-y\leq0$.