Conflict resolution in the scheduling of television commercials