Adaptive Optimization And Learning For Service Systems