Alternative problems for nonlinear equations