Cooperative and Noncooperative Games for Capacity Planning and Scheduling