Browsing: Algorithms for Optimizing Supply Chains