This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / optimize / _lsq / dogbox / find_intersection

function

scipy.optimize._lsq.dogbox:find_intersection

source: build-install/usr/lib/python3.14/site-packages/scipy/optimize/_lsq/dogbox.py:79

Signature

def find_intersection(x, tr_bounds, lb, ub)

Summary

Find intersection of trust-region bounds and initial bounds.

Returns

lb_total, ub_total : ndarray with shape of x

Lower and upper bounds of the intersection region.

orig_l, orig_u : ndarray of bool with shape of x

True means that an original bound is taken as a corresponding bound in the intersection region.

tr_l, tr_u : ndarray of bool with shape of x

True means that a trust-region bound is taken as a corresponding bound in the intersection region.

Aliases

  • scipy.optimize._lsq.dogbox.find_intersection