Let $A, B, C, D \in \mathbb{R^*_+}$. Is it possible to solve $$ \max_{ \substack{0 \leq x\leq A \\ 0\leq y\leq B}} \frac{1+x+y}{(1+Cx)(1+Dy)} $$ The KKT conditions give for an extrema $(x^*,y^*)$ If $\frac{1}{C} > (1+y^*)$ then $x^*=A$ otherwise $x^*=0$, If $\frac{1}{D} > (1+x^*)$ then $y^*=B$ otherwise $y^*=0$. But then I am stuck to go further