Implementation of a GreedyAgent + Solver plus reordered the packaging