Generating set-finding problem