This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / optimize / _trustregion_dogleg / DoglegSubproblem / solve

function

scipy.optimize._trustregion_dogleg:DoglegSubproblem.solve

source: build-install/usr/lib/python3.14/site-packages/scipy/optimize/_trustregion_dogleg.py:62

Signature

def solve(self, trust_radius)

Summary

Minimize a function using the dog-leg trust-region algorithm.

Extended Summary

This algorithm requires function values and first and second derivatives. It also performs a costly Hessian decomposition for most iterations, and the Hessian is required to be positive definite.

Parameters

trust_radius : float

We are allowed to wander only this far away from the origin.

Returns

p : ndarray

The proposed step.

hits_boundary : bool

True if the proposed step is on the boundary of the trust region.

Notes

The Hessian is required to be positive definite.

Aliases

  • scipy.optimize._trustregion_dogleg.DoglegSubproblem.solve