Production planning and control in multi-stage multi-product systems