Ë L iäãóR—dZddlZddlZddlZddlmZmZgZ dd„Z Gd„de«Z y) z$Newton-CG trust-region optimization.éNé)Ú_minimize_trust_regionÚBaseQuadraticSubproblemc óh—|€ td«‚|€ |€ td«‚t||f||||tdœ|¤ŽS)a2 Minimization of scalar function of one or more variables using the Newton conjugate gradient trust-region algorithm. Options ------- initial_trust_radius : float Initial trust-region radius. max_trust_radius : float Maximum value of the trust-region radius. No steps that are longer than this value will be proposed. eta : float Trust region related acceptance stringency for proposed steps. gtol : float Gradient norm must be less than `gtol` before successful termination. zrAs-ðÙ*Û ãÛßKà €ó:ô>TÐ2õTr