Towards Life-cycle Optimization of Manufacturing and Assembly Lines