Optimal production and rationing policy of two-stage tandem production system