We study the solvability of an optimal control problem for a nonlinear elliptic equation with the Neumann conditions on the boundary for the case in which the coefficients in the main part of the differential operator play the role of control functions. We show that this problem is solvable in the class of generalized-solenoidal matrices.