Optimization in Economic Theory