Ë
    âQ(hÖ  ã                   ó.   — d dl mZ d dlmZ dgZ	 	 dd„Zy)é   )Ú_minimize_trust_region)Úget_trlib_quadratic_subproblemÚ_minimize_trust_krylovNc                 óü   — |€t        dd«      ‚|€|€t        d«      ‚|r/t        | |f||||t        dd|j                  dd«      ¬«      d	œ|¤ŽS t        | |f||||t        d
d|j                  dd«      ¬«      d	œ|¤ŽS )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           ú`/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/scipy/optimize/_trustregion_krylov.pyr   r      sÏ   € ð  €{ÜÐAØ.ó0ð 	0à€|˜˜Üð Ló Mð 	Mñ0 Ü% c¨2ð >°D¸cØ+/°uÜ1OØ48ÀDØ/C×/GÑ/GÈÐPUÓ/Vô2,ñ>ð )=ñ>ð 	>ô & c¨2ð >°D¸cØ+/°uÜ1OØ48ÀDØ/C×/GÑ/GÈÐPUÓ/Vô2,ñ>ð )=ñ>ð 	>ó    )© NNNT)Ú_trustregionr   Ú_trlibr   Ú__all__r   r   r   r   ú<module>r      s   ðÝ 2Ý 4à#Ð
$€àHLØ#'ô;>r   