Line Search - Example Use

Example Use

Here is an example gradient method that uses a line search in step 4.

  1. Set iteration counter, and make an initial guess, for the minimum
  2. Repeat:
  3. Compute a descent direction
  4. Choose to 'loosely' minimize over
  5. Update, and
  6. Until < tolerance

At the line search step (4) the algorithm might either exactly minimize h, by solving, or loosely, by asking for a sufficient decrease in h. One example of the former is conjugate gradient method. The latter may be performed in a number of ways, perhaps by doing a backtracking line search or using the Wolfe conditions.

Like other optimization methods, line search may be combined with simulated annealing to allow it to jump over some local minima.

Read more about this topic:  Line Search

Famous quotes containing the words example and/or use:

    Our intellect is not the most subtle, the most powerful, the most appropriate, instrument for revealing the truth. It is life that, little by little, example by example, permits us to see that what is most important to our heart, or to our mind, is learned not by reasoning but through other agencies. Then it is that the intellect, observing their superiority, abdicates its control to them upon reasoned grounds and agrees to become their collaborator and lackey.
    Marcel Proust (1871–1922)

    ... it is use, and use alone, which leads one of us, tolerably trained to recognize any criterion of grace or any sense of the fitness of things, to tolerate ... the styles of dress to which we are more or less conforming every day of our lives. Fifty years hence they will seem to us as uncultivated as the nose-rings of the Hottentot seem today.
    Elizabeth Stuart Phelps (1844–1911)