{ } Raw JSON

bundles / scipy 1.17.1 / scipy / optimize / _lsq / dogbox / find_intersection

function

scipy.optimize._lsq.dogbox:find_intersection

source: /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