Use CMAES instead of BOBYQA if there is only one dimension,
since BOBYQA requires two or more dimensions.
Change hole grouping objective function to cope with flute with no holes.