Text this: Optimal flow control in manufacturing systems: production planning and scheduling