Processing time minimization for the production industry