A three-dimensional matching model for perishable production scheduling