This is Carl Edward Rasmussen’s minimize method rewritten in Python.
Inputs:
X: Input for the function f.
f: The function to be minimized. f is a method that takes X as input and provides af function evaluation.
df: The function gradient, evaluated at X.
length: The maximum number of line searches.
This is Carl Edward Rasmussen’s minimize method rewritten in Python.
Inputs:
X: Input for the function f.
f: The function to be minimized. f is a method that takes X as input and provides af function evaluation.
df: The function gradient, evaluated at X.
length: The maximum number of line searches.
Returns the rosenbrock function value for x. Inputs x1, x2, .., xn are given column wise. Input vetors as rows.
Returns the values of the partial derivative of the rosenbrock function. Inputs x1, x2, .., xn are given column wise. Input vetors as rows.