The file P08_10.xlsx contains per capita data on annual advertising and annual unit sales in different regions of the country. Determine an S-shaped curve as described by Equation (8.1) that can be used to determine how advertising influences sales.
EXAMPLE 8.1 MAXIMIZING A NONLINEAR FUNCTION WITH LOCAL MAXIMA
To see how Evolutionary Solver works, we consider a simple function that is difficult for GRG Nonlinear Solver. This example, analyzed in Chapter 7, is a function of a single variable x: f(x) = (x - 1)(x - 2)(x - 3)(x - 4)(x - 5) for 1 x 5. The objective is to maximize f(x) over this range. However, the graph of this function shown in Figure 8.2 indicates that there are two local maxima: one at around x = 3.5 and the other at x = 5. The global maximum, the one we want, is near x = 1.5. Can Evolutionary Solver find this global maximum?
Figure 8.2 Function with Local Maxima
Objective To illustrate how Evolutionary Solver works and to see how it can successfully find a global maximum for a function with several local maxima.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here