An optimal algorithm for solving the dynamic lot-sizing model with learning and forgetting in setups and production · Study