Directional Optimizer.Line Search Property
Gets or sets the algorithm used to perform a line search.
Definition
Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
A OneDimensionalOptimizer object, or null to select the optimizer default on the next run.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public OneDimensionalOptimizer LineSearch { get; set; }Property Value
OneDimensionalOptimizerA OneDimensionalOptimizer object, or null to select the optimizer default on the next run.
Remarks
A supplied search is used by all directional optimizers, including both limited-memory quasi-Newton methods. A bounded optimizer prevents function evaluations outside its feasible step interval and rejects a search that returns an infeasible step.
Exceptions
| [!:InvalidOperationException] | A calculation is in progress. |