Lot scheduling in time-sharing workshop: batch and repetitive manufacturing