Large-Scale Price Optimization via Network Flow
Fast approximate energy minimization via graph cuts