An EOQ model for items with acceptable defective part and shortages