A Production Scheduling System Based on Grouping of Products in the Flow Shop