End-to-end optimization in the automotive industry