Summarization: Eco-driving, a timely and well-known subject, aims at reducing fuel consumption by appropriately maneuvering a vehicle with a human or automated driver. In this work, the eco-driving problem is cast in an optimal control framework. State equations reflect the simple vehicle kinematics for position and speed, with the acceleration acting as a control input. Initial and final states (position and speed) are fixed. For the fuel consumption estimation, a number of alternatives are employed. To start with, a realistic, but nonlinear and non-smooth formula from the literature is considered. Simple smoothing procedures are then applied to enable the application of powerful numerical algorithms for the efficient solution of the resul...