Competitive equilibrium when preferences change over time