BacktrackingLineSearch Constructor

Definition

Namespace: Numerics.NET.Optimization.LineSearches
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

BacktrackingLineSearch(MultidimensionalOptimizer)

Constructs a new BacktrackingLineSearch object.
C#
public BacktrackingLineSearch(
	MultidimensionalOptimizer optimizer
)

Parameters

optimizer  MultidimensionalOptimizer
 

Exceptions

ArgumentNullException

optimizer is null.

BacktrackingLineSearch(MultidimensionalOptimizer, Double, Double)

Constructs a new BacktrackingLineSearch object.
C#
public BacktrackingLineSearch(
	MultidimensionalOptimizer optimizer,
	double descentFactor,
	double contractionFactor
)

Parameters

optimizer  MultidimensionalOptimizer
The MultidimensionalOptimizer that will be using the line search.
descentFactor  Double
The factor in the sufficient descent condition.
contractionFactor  Double
The contraction factor.

Exceptions

ArgumentNullException

optimizer is null.

ArgumentOutOfRangeException

descentFactor is less than zero.

-or-

contractionFactor is less than or equal to zero, or greater than or equal to one.

BacktrackingLineSearch(MultidimensionalOptimizer, Double, Double, Double)

Constructs a new BacktrackingLineSearch object.
C#
public BacktrackingLineSearch(
	MultidimensionalOptimizer optimizer,
	double descentFactor,
	double minContractionFactor,
	double maxContractionFactor
)

Parameters

optimizer  MultidimensionalOptimizer
The MultidimensionalOptimizer that will be using the line search.
descentFactor  Double
The factor in the sufficient descent condition.
minContractionFactor  Double
The smallest allowed contraction factor.
maxContractionFactor  Double
The largest allowed contraction factor.

Exceptions

ArgumentNullException

optimizer is null.

ArgumentOutOfRangeException

descentFactor is less than zero.

-or-

minContractionFactor is less than or equal to zero, or greater than or equal to one.

-or-

maxContractionFactor is less than or equal to zero, or greater than or equal to one.

ArgumentException

The smallest allowed contraction factor is greater than the largest allowed contraction factor.

See Also