Discretization- Optimization Methods for Optimal Control Problems Defined by Ordinary