Text this: Optimal decisions in markets and planned economies/