ó
    EñiÖ  ã                   ó0   • S SK Jr  S SKJr  S/r  SS jrg)é   )Ú_minimize_trust_region)Úget_trlib_quadratic_subproblemÚ_minimize_trust_krylovNc                 óô   • Uc  [        SS5      eUc  Uc  [        S5      eU(       a)  [        X4X#XE[        SSUR                  SS5      S9S	.UD6$ [        X4X#XE[        S
SUR                  SS5      S9S	.UD6$ )a[  
Minimization of a scalar function of one or more variables using
a nearly exact trust-region algorithm that only requires matrix
vector products with the hessian matrix.

.. versionadded:: 1.0.0

Options
-------
inexact : bool, optional
    Accuracy to solve subproblems. If True requires less nonlinear
    iterations, but more vector products.
z&Jacobian is required for trust region zexact minimization.zaEither the Hessian or the Hessian-vector product is required for Krylov trust-region minimizationg       Àg      ÀÚdispF)Ú	tol_rel_iÚ	tol_rel_br   )ÚargsÚjacÚhessÚhesspÚ
subproblemg:Œ0âŽyE>g�íµ ÷Æ°>)Ú
ValueErrorr   r   Úget)ÚfunÚx0r
   r   r   r   ÚinexactÚtrust_region_optionss           Ú_/home/mande/repo/quber/.venv/lib/python3.13/site-packages/scipy/optimize/_trustregion_krylov.pyr   r      sÃ   € ð  �{ÜÐAØ.ó0ð 	0à�|˜™Üð Ló Mð 	Mö0 Ü% cð >°DØ+/Ü1OØ48ÀDØ/C×/GÑ/GÈÐPUÓ/Vñ2,ñ>ð )=ñ>ð 	>ô & cð >°DØ+/Ü1OØ48ÀDØ/C×/GÑ/GÈÐPUÓ/Vñ2,ñ>ð )=ñ>ð 	>ó    )© NNNT)Ú_trustregionr   Ú_trlibr   Ú__all__r   r   r   r   Ú<module>r      s   ðÝ 2Ý 4à#Ð
$€àHLØ#'õ;>r   