Struct argmin::solver::neldermead::NelderMead[][src]

pub struct NelderMead<P, F> { /* fields omitted */ }
Expand description

Nelder-Mead method

The Nelder-Mead method a heuristic search method for nonlinear optimization problems which does not require derivatives.

The method is based on simplices which consist of n+1 vertices for an optimization problem with n dimensions. The function to be optimized is evaluated at all vertices. Based on these cost function values the behaviour of the cost function is extrapolated in order to find the next point to be evaluated.

The following actions are possible:

  1. Reflection: (Parameter alpha, default 1)
  2. Expansion: (Parameter gamma, default 2)
  3. Contraction: (Parameter rho, default 0.5)
  4. Shrink: (Parameter sigma, default 0.5)

Example

References:

Wikipedia

Implementations

Constructor

Add initial parameters

Set Sample standard deviation tolerance

set alpha

set gamma

set rho

set sigma

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Name of the solver

Initializes the algorithm Read more

Computes one iteration of the algorithm.

Checks whether the algorithm must be terminated

Checks whether basic termination reasons apply. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.