The retailers have algorithms that can compute the optimum price (and even shelf placement) of particular products. They can also analyze buyers habits to target advertising to maximize sales.
Often, any given algorithm only optimizes one step of the advertising / sales experience, so it is...