Click or drag to resize

IBoundedNonlinearLeastSqMinimizerMinimize(DoubleMultiVariableFunction, DoubleVector, DoubleVector, DoubleVector) Method

Minimize the L2 norm of the function f(x), where the components of x are constrained by upper and lower bounds using an iterative algorithm with starting point x0.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
DoubleVector Minimize(
	DoubleMultiVariableFunction f,
	DoubleVector x0,
	DoubleVector lowerBounds,
	DoubleVector upperBounds
)

Parameters

f  DoubleMultiVariableFunction
Function to minimize the norm of.
x0  DoubleVector
Initial point for the iteration.
lowerBounds  DoubleVector
Lower bounds for the solution x, such that lower[i] <= x[i].
upperBounds  DoubleVector
Upper bounds for the solution x, such that upper[i] >= x[i].

Return Value

DoubleVector
The vector x which satisfies the constraints and for which f(x) is minimized near the point, x0 such that
See Also