added a warning to the greedy solver