Backtracking Line Search Constructor
Definition
Namespace: Numerics.NET.Optimization.LineSearches
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Backtracking | Constructs a new BacktrackingLineSearch object. |
Backtracking | Constructs a new BacktrackingLineSearch object. |
Backtracking | Constructs a new BacktrackingLineSearch object. |
BacktrackingLineSearch(MultidimensionalOptimizer)
Constructs a new BacktrackingLineSearch object.
public BacktrackingLineSearch(
MultidimensionalOptimizer optimizer
)
Parameters
- optimizer MultidimensionalOptimizer
Exceptions
Argument | optimizer is null. |
BacktrackingLineSearch(MultidimensionalOptimizer, Double, Double)
Constructs a new BacktrackingLineSearch object.
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
Argument | optimizer is null. |
Argument | 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.
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
Argument | optimizer is null. |
Argument | 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. |
Argument | The smallest allowed contraction factor is greater than the largest allowed contraction factor. |