Backtracking Line Search Constructor
Definition
Namespace: Extreme.Mathematics.Optimization.LineSearches
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |