app-misc/knapsack
A fast solver for the 0/1-knapsack problem with multiple knapsacks
Reverse Dependencies
Reverse dependancies are sometimes conditional based on your USE flags, Ebuild version and sometimes other packages. please keep this in mind.