bundles / scipy latest / scipy / optimize / _optimize / _linesearch_powell
function
scipy.optimize._optimize:_linesearch_powell
source: build-install/usr/lib/python3.14/site-packages/scipy/optimize/_optimize.py:3216
Signature
def _linesearch_powell(func, p, xi, tol = 0.001, lower_bound = None, upper_bound = None, fval = None)Summary
Line-search algorithm using fminbound.
Extended Summary
Find the minimum of the function func(x0 + alpha*direc).
lower_bound
The lower bounds for each parameter in
x0. If thei``th parameter in ``x0is unbounded below, thenlower_bound[i]should be-np.inf. Notenp.shape(lower_bound) == (n,).upper_bound
The upper bounds for each parameter in
x0. If thei``th parameter in ``x0is unbounded above, thenupper_bound[i]should benp.inf. Notenp.shape(upper_bound) == (n,).fval
fvalis equal tofunc(p), the idea is just to avoid recomputing it so we can limit thefevals.
Aliases
scipy.optimize._optimize._linesearch_powell