Optimize and Local Maxima
Optimization on a 4th Order Polynomial Where Multiple Maxima Exist
This model is a simple example demonstrating how GoldSim optimization works on a function that contains more than one local maximum or minimum value. The function used for this example is a quartic (4th order polynomial). The equation for this quartic equation is: y = ax^4 + bx^3 + cx^2 - dx + e
To run the optimization, go to the Run menu and click on Optimization. The objective function is to maximize the value of y by adjusting x. Enter the name "y" in the objective function and add x as the optimization variable. The parameters a thru e are constants. Note there are two possible maximum solutions in this function. The global maximum solution for this problem is y = 5892 where x is -83. A lessor maximum is located at x = 88 such that y = 5239.