Voting by committees under constraints