Click or drag to resize

LevenbergMarquardt2DUseLineSearch Property

Flag specifying whether a line search approach is to be used. Default false.

Namespace:  DHI.Mike1D.Generic.MathAlgorithms
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public bool UseLineSearch { get; set; }

Property Value

Type: Boolean
Remarks
Using a line search approach for finding a better guess will usually decrease the number of iterations, but can increase the number of function evaluations.

The line search approach should usually only be used if it also decrease the number of function evaluations required for finding a solution. It can speed up the process when the steepest descent is dominent, and step size is very small.

When a search direction dx is found, the residual is calculated at x0, x1 = x0 + dx, x2 = x0 + 2*dx. Using a second order polynomial approximation through these, a guess on a new x with minimum residual is calculated.

See Also