Essays on matching supply and demand with guaranteed lead time and safety stocks in a make-to-order production system