minimize(method=’trust-ncg’) — SciPy v1.15.2 Manual (original) (raw)
scipy.optimize.minimize(fun, x0, args=(), method=None, jac=None, hess=None, hessp=None, bounds=None, constraints=(), tol=None, callback=None, options=None)
Minimization of scalar function of one or more variables using the Newton conjugate gradient trust-region algorithm.
Options:
——-
initial_trust_radiusfloat
Initial trust-region radius.
max_trust_radiusfloat
Maximum value of the trust-region radius. No steps that are longer than this value will be proposed.
etafloat
Trust region related acceptance stringency for proposed steps.
gtolfloat
Gradient norm must be less than gtol before successful termination.