The greedy maximization runs infinitely when newMaxBound: -nan and uper bound: -nan See L98, L154 in LazyGreedyOptimizer.cpp 