Text this: Optimal Dynamic Production Planning for Supply Network with Random External and Internal Demands.