Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Rosenbrock Method

Also known as Rosenbrock's rotating-coordinates method, Rosenbrock local search

optimization evolutionary-planning

Rosenbrock's method is a local search for a minimum of a function of real variables, and it uses no derivatives. It keeps n orthonormal search directions, each with its own step length, and tries one step along each direction in turn: on success (the cost is not worse) it keeps the new point and multiplies the step by α = 3; on failure it reverses the step and multiplies it by β = 0.5. When every direction has had at least one success and one failure, it turns the first direction towards the total progress of this phase, builds the other directions from it by Gram-Schmidt orthogonalisation, and resets the steps. Thus the directions follow long, curved valleys of the cost function. It finds a local minimum only, so here it is the local searcher of the memetic algorithm (as in HyGLEAM), under an evaluation cap.

Pseudocode

algorithm Rosenbrock(f, x, s₀, α, β, s-min, e)input: cost f, start point x, initial step s₀, expansion α, contraction β, minimum step s-min, evaluation cap eoutput: an improved pointfor i in 1, …, n dod_i, s_i, λ_i ← e_i, s₀, 0                     ▷ e_i: the i-th unit vectorsuccess_i, failure_i ← false, falsewhile fewer than e evaluations and some |s_i| ≥ s-min dofor i in 1, …, n doy ← x + s_i · d_iif f(y) ≤ f(x) thenx ← yλ_i ← λ_i + s_i                           ▷ progress along d_is_i ← α · s_isuccess_i ← trueelses_i ← −β · s_i                            ▷ reverse and shrinkfailure_i ← trueif success_i and failure_i for every i thend ← rotate(d, λ)reset every s_i to s₀, every λ_i to 0, and every success_i and failure_i to falsereturn xfunction rotate(d, λ)for i in 1, …, n doa_i ← ∑ over j ≥ i of λ_j · d_jv ← a_i minus its projections on d′₁, …, d′_(i−1)        ▷ Gram-Schmidtif |v| ≈ 0 thenv ← d_i minus its projections on d′₁, …, d′_(i−1)d′_i ← v / |v|return d′

In the crates

  • evolutionary-planning

    Rosenbrock's rotating-coordinates local search, probing along orthonormal directions and rotating them towards the accumulated progress; HyGLEAM's local searcher.

    Rosenbrock

Lineage

Comes from

Nothing on this site.

Led to

HyGLEAM combines it

Memetic Algorithm combines it

Papers

  1. An Automatic Method for Finding the Greatest or Least Value of a Function H. H. Rosenbrock · 1960· The Computer Journal introduces doi 10.1093/comjnl/3.3.175