1: \begin{abstract}
2: In this article we study optimal control problems for systems that are affine with respect to some of the control variables and nonlinear in relation to the others. We consider finitely many equality and inequality constraints on the initial and final values of the state.
3: We investigate singular optimal solutions for this class of problems, for which we obtain second order necessary and sufficient conditions for weak optimality in integral form. We also derive Goh pointwise necessary optimality conditions.
4: We show an example to illustrate the results.
5:
6: %Afterwards, we propose a shooting algorithm and show that the above-mentioned sufficient condition is also sufficient for the local quadratic convergence of the algorithm.
7: \end{abstract}
8: