Anticipatory optimization for dynamic decision making.