in reply to Re: maximizing value from a set of objectsin thread maximizing value from a set of objects
BTW: If you use combinations() or combinations_with_repetition() instead of variations(), it cuts out the duplicates.