Douglas–Peucker piecewise affine approximation of an optimal fuel consumption problem to apply PANOC | IEEE Conference Publication | IEEE Xplore