Home Login  |   Contact  |   About Us       Friday, April 26, 2024   

Pj0182295- Back to Home
   Skip Navigation LinksHOME ›  AREAS OF EXPERTISE  #1 ›   Optimization Methods ›  ~ Golden Search



Skip Navigation Links.



"Optimization Solution"
Golden Search Optimization Method
Minimum =
      Value =

f(x) = 6.7 x4 - 3x3 + 5.2x2- 4x
[ Interval Low: ] [ Interval High: ] [ Tolerance: 1.0e-5]




IMPLEMENTATION
Golden Search Method Optimization

The algorithm of the Golden Search method is similar to the algorithm of the Bisection Method (see Bisection Method algorithm). The Golden Search method uses an interval reduction factor that is based on the Fibonacci numbers, instead of just selecting the middle point of the interval for a given interval [xa,xn] that contains the minimum value for the function f(x), and the tolerance level as well.



Testing the Golden Search Method

We use the golden search method to find the minimum of a nonlinear function. To test it out as defined above, a new TestBisection() static method has been added and executed. Supporting code and methods are not shown.

           static void TestGoldenSearch();
              {
                 ListBox1.Items.Clear();
                 ListBox2.Items.Clear();
                 double result = Optimization.GoldenSearch(f, t1, t2, 1.0e-5);
                 ListBox1.Items.Add("x = " + result.ToString());
                 ListBox2.Items.Add("f(x) = " + f(result).ToString());
              }

In order to test the golden sewarch method a nonlinear function f(x) = 6.7 x4 - 3x3 + 5.2x2- 4x was created. We can now test the minimum and function values based on different intervals. The user can manipulate interval values as desired



Other Implementations...


Graphics and Animation
Sample Applications
Ore Extraction Optimization
Vectors and Matrices
Complex Numbers and Functions
Ordinary Differential Equations - Euler Method
Ordinary Differential Equations 2nd-Order Runge-Kutta
Ordinary Differential Equations 4th-Order Runge-Kutta
Higher Order Differential Equations
Nonlinear Systems
Numerical Integration
Numerical Differentiation
Function Evaluation


   Quotes

Consulting Services - Back to Home


Home

Home Math, Analysis,
  expertise..."

EIGENVALUE
SOLUTIONS...


> Rayleigh-Quotient Method

> Cubic Spline Method

 

Applied Mathematical Algorithms

Home

ComplexFunctions

Home

NonLinear
Home

Differentiation
Home

Integration
About Us


KMP Software Engineering is an independent multidisciplinary engineering consulting company specializing in mathematical algorithms.

      (About Us) →
Areas of
Expertise


SpecialFunctions
VectorsMatrices
OptimizationMethods
ComplexNumbers
Interpolation
CurveFitting
NonLinearSystems
LinearEquations
DistributionFunctions
NumericalDifferentiation
NumericalIntegration
DifferentialEquations
Smalltalk
FiniteBoundary
Eigenvalue
Graphics
Understanding
Mining


MiningMastery
MineralNews
MineralCommodities
MineralForum
Crystallography
Services


NumericalModeling
WebServices
MainframeServices
OutsourceServices

LINKED IN
MINE REVIEW(by G.Pacheco)
Brand





Home

Login

Contact
Since 2006 All Rights Reserved  © KMP Software Engineering LINKS | PRIVACY POLICY | LEGAL NOTICE