Cost and Optimization in Government