B |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
Random Search
This method repeatedly evaluates the function at randomly selected values of the independent variables. If a sufficient number of samples is conducted, the optimum will eventually be located.
f(x) = x2 - 6x + 5
in the domain bounded by x = 1 to x = 5.
Exact solution is:
fmin = -4.0 at
x = 3.0