I want to know that is there exist an algorithm to calculate "all possible combinations" of a sorted list (float and duplicates allowed) with a target sum and if there isn't any combination equal to the target sum, the algorithm return "all possible combinations" of nearest sum (lower bound) to the target sum in polynomial or pseudo-polynomial time. I checked Balsub Algorithm "Linear Time Algorithms for Knapsack Problems with Bounded Weights" and also "A Faster Pseudopolynomial Time Algorithm for Subset Sum" with polynomial time but I'm not sure whether these problems are same regarding time-complexity.
This is an example:
Sorted List: {1.5, 2.25, 3.75, 3.81}
Target = 3.79
Results: {1.5, 2.25}, {3.75} = 3.75
Thanks