A customers grouping problem with demand uncertainty and resource minimization