Suppose the following situation: we have to buy $n$ goods $g_1,\,\dots,\,g_n$ starting at day 1 and we can't buy more than one good per day.
On day $d$ the prices are $p_1^d,\,\dots,\,p_n^d;\quad p_i^d\lt p_i^{d+1}$, i.e. the prices for the goods keep rising.
Question:
what is the optimal buying strategy if the only available about the goods we have is the price for the current day and the next?
Under which conditions is always buying the good, whose price will increase the most, the optimal strategy?
The actual motivation for the question comes from combinatorial optimization, where one can't foresee all effects of exchanging elements that are subjected to topological constraints e.g. in graph theory.