scipy 1.10.1 Pypi GitHub Homepage
Other Docs

NotesParametersReturns
fmin_tnc(func, x0, fprime=None, args=(), approx_grad=0, bounds=None, epsilon=1e-08, scale=None, offset=None, messages=15, maxCGit=-1, maxfun=None, eta=-1, stepmx=0, accuracy=0, fmin=0, ftol=-1, xtol=-1, pgtol=-1, rescale=-1, disp=None, callback=None)

Notes

Parameters

func : callable ``func(x, *args)``
x0 : array_like
fprime : callable ``fprime(x, *args)``, optional
args : tuple, optional
approx_grad : bool, optional
bounds : list, optional
epsilon : float, optional
scale : array_like, optional
offset : array_like, optional
messages : int, optional
disp : int, optional
maxCGit : int, optional
maxfun : int, optional
eta : float, optional
stepmx : float, optional
accuracy : float, optional
fmin : float, optional
ftol : float, optional
xtol : float, optional
pgtol : float, optional
rescale : float, optional
callback : callable, optional

Returns

x : ndarray
nfeval : int
rc : int

See Also

minimize

:None:None:`method`

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/optimize/_tnc.py#89
type: <class 'function'>
Commit: