Network Optimization of a D2C Supply Chain Subject to Changing Cost Conditions and Consumer Preferences