Text this: An optimization problem for some nonlinear elliptic equation