This is a simple optimization example that shows how the x value corresponding to the minimum y value of a parabola can be found using GoldSim's optimization feature. The equation to be minimized has the following form: y = ax^2 + bx + c. The values of a, b and c are kept fixed while x is varied to find the value for which y is a minimum. To run the optimization, go to the Run menu and click on Optimization. The element "y" should be selected as the objective function and x should be selected as an optimization variable. The parameters a, b, and c should not be added as optimization variables. The optimization variable, x, should converge toward a value of 5. The corresponding y value should be close to -250.
Download the Model File:
Please sign in to leave a comment.