Essays on optimization and system design in service and supply chain management