That's capitalism. The optimization function works towards maximizing profit over value.
For a $2 sandwich, I would need to sell 100 at $3 to make a $100 profit and just 10 at $12 to make the same.
For a $2 sandwich, I would need to sell 100 at $3 to make a $100 profit and just 10 at $12 to make the same.