FindMinimumOfFunctionGradientConstrained(FuncVectorDouble, ValueTupleDouble, VectorDouble, VectorDouble, VectorDouble, VectorDouble, Double, Double, Double, Int32) Method |
Find vector x that minimizes the function f(x), constrained within bounds, using the Broyden–Fletcher–Goldfarb–Shanno Bounded (BFGS-B) algorithm.
For more options and diagnostics consider to use
BfgsBMinimizer directly.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Vector<double> OfFunctionGradientConstrained(
Func<Vector<double>, (double , Vector<double> )> functionGradient,
Vector<double> lowerBound,
Vector<double> upperBound,
Vector<double> initialGuess,
double gradientTolerance = 1E-05,
double parameterTolerance = 1E-05,
double functionProgressTolerance = 1E-05,
int maxIterations = 1000
)
Parameters
- functionGradient FuncVectorDouble, ValueTupleDouble, VectorDouble
- The combined function and gradient evaluator.
- lowerBound VectorDouble
- The lower bounds.
- upperBound VectorDouble
- The upper bounds.
- initialGuess VectorDouble
- The initial guess.
- gradientTolerance Double (Optional)
- The gradient tolerance.
- parameterTolerance Double (Optional)
- The parameter tolerance.
- functionProgressTolerance Double (Optional)
- The function progress tolerance.
- maxIterations Int32 (Optional)
- The maximum number of iterations.
Return Value
VectorDoubleThe minimizing point.
See Also