Algorithms for partially robust team formation