EXISTENCE FOR A NONCONVEX OPTIMAL-CONTROL PROBLEM WITH NONLINEAR DYNAMICS