Three Essays on Rationing, Matching and Scheduling